I am trying to setup apache as a reverse proxy and as a webserver simultaneously.

The scenario is basically as follows: I have periodical websites that have been authenticated by my webservers IP address, so what I am trying to achieve is to allow users access to those periodicals but only through my webserver. I have tried a couple of sites online and so far I get the reverse proxy running on my webserver but whenever I enable the reverse proxy my webserver tools like ISPconfig get disabled.

I am using an Ubuntu 11.04 Server. If some one knows of something I maybe doing wrong please let me know Thanks

link|improve this question
Do you have an example config or maybe a good tutorial that I can use because as soon as I enable the VirtualHost, I get a permission error when I try and access the other resources. Many thanks – ldev22 Aug 9 '11 at 12:14
feedback

1 Answer

I'd recommend setting up a VirtualHost for the host you want to serve the periodicals from, which should separate the public site from the internal applications like ISPConfig you have installed.

link|improve this answer
Do you have an example config that I could use because I tried using the following: <VirtualHost 192.168.1.140:80> ServerAdmin hostmaster@examplesite.net ServerName examplesite.net # Define log locations. ErrorLog /srv/http/log/examplesite/error_log CustomLog /srv/http/log/examplesite/access_log combined # Configure reverse proxy. ProxyRequests Off ProxyPreserveHost Off <Location /> ProxyPass 192.168.1.50 ProxyPassReverse 192.168.1.50 Order allow,deny Allow from all </Location> </VirtualHost> – ldev22 Aug 9 '11 at 12:13
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.