Running Etherpad Lite with Apache

587 views
Skip to first unread message

Spencer

unread,
Aug 24, 2011, 12:53:50 AM8/24/11
to EtherPad Open Source Discussion
I want to run Etherpad Lite on the same server as my main website,
which is of course running at port 80. I also want to run Etherpad on
port 80, but on another domain; however, it doesn't seem to care that
it's on another domain, and won't let me run both at the same time.
Anyway to fix this?

John McLear

unread,
Aug 24, 2011, 4:31:18 AM8/24/11
to etherpad-open-...@googlegroups.com
Use mod_proxy


Run Apache on 80

Run Etherpad on 8080

Forward requests from Apache to Etherpad.

Done (I think)..   Although FYI I use Varnish to do this job.

Varnish, Nginx, (insert your own here) are better at doing it than Apache.  I choose Varnish because it gives the best performance and it is the most configurable with extensive monitoring and it's FAST.  

Spencer

unread,
Aug 24, 2011, 2:13:00 PM8/24/11
to EtherPad Open Source Discussion
Okay, I downloaded the proxy mod, enabled it, set the Etherpad port to
8080, but I'm not exactly sure how to set up the configuration in
Apache (forgive me for being a noob :c). I tried this, but it's not
working:

"ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /pads http://fallaciouspads.net:8080
ProxyPassReverse /pads http://fallaciouspads.net:80"

On Aug 24, 1:31 am, John McLear <johnym...@gmail.com> wrote:
> Use mod_proxy
>
> http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
>
> Run Apache on 80
>
> Run Etherpad on 8080
>
> Forward requests from Apache to Etherpad.
>
> Done (I think)..   Although FYI I use Varnish to do this job.
>
> Varnish, Nginx, (insert your own here) are better at doing it than Apache.
>  I choose Varnish because it gives the best performance and it is the most
> configurable with extensive monitoring and it's FAST.
>

Spencer

unread,
Aug 24, 2011, 10:12:36 PM8/24/11
to EtherPad Open Source Discussion
I got it work (I feel so stupid now for not seeing it before -- all I
had to do was put '/*' in front of the domains in ProxyPass and
ProxyPassReverse), but now it's giving me 404 errors when I try to
create a new pad. :/

On Aug 24, 11:13 am, Spencer <fallacyofthemas...@gmail.com> wrote:
> Okay, I downloaded the proxy mod, enabled it, set the Etherpad port to
> 8080, but I'm not exactly sure how to set up the configuration in
> Apache (forgive me for being a noob :c). I tried this, but it's not
> working:
>
> "ProxyRequests Off
>
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
>
> ProxyPass /padshttp://fallaciouspads.net:8080
> ProxyPassReverse /padshttp://fallaciouspads.net:80"
Reply all
Reply to author
Forward
0 new messages