[jitsi-dev] etherpad integration on apache


Dear Jitsi devels,

first of all: thanks and thumbs up for your great work. I am using Jitsi and it's predecessors for many years already and I love it!

I just spend half a day on an issue, however, i would like to save others from experiencing. I installed etherpad-lite and jitsi-meet on my small ubuntu 16.04 vserver and wanted to integrate the first into the latter, as it is really convenient having both in the same tab.

to achieve that, i followed these instructions at first: https://github.com/jitsi/jitsi-meet/wiki/Etherpad-addition-example

until i realized that i am running apache, not nginx. me being not at all experienced with webservers, it took me half a day to figure out what to do. well, at least i had fun doing so and learnt a lot. :slight_smile:

firstly, i guess it would be worth to add a notice to the above mentioned instructions that one has to add a comma to the formerly last (then second last) line in the .js in order for the new last line to take effect. i got no error message, jitsi just would'nt load anymore.

secondly, obviously apache is using another syntax than nginx to achieve the proxying. so one's got to insert the following text in their corresponding .conf file in /etc/apache2/sites-available:

<Location /etherpad/>
ProxyAddHeaders On
ProxyPass http://HOSTNAME/
RequestHeader set X-Forwarded-For REMOTE_ADDR
RequestHeader set X-Forwarded-Host HOST

(substitute HOSTNAME with your domain or IP.)

I will post this in github as well.

Thank you again,