Page 1 of 1

Apache Reverse Proxy Scratchpad

Posted: Wed Jan 10, 2007 12:44 am
by Jer
I'll turn this into a real article later, but I wanted to paste this info in here so I don't lose it...

~Jer

Code: Select all

Build Apache 2.2.2:
./configure --enable-so --enable-proxy --enable-ssl --enable-rewrite
make
make install

<VirtualHost *:80>
    ServerName apex.yourdomain.com
    ServerAdmin jer@yourdomain.com
    ProxyRequests Off
    <Proxy *>
       Order deny,allow
       Allow from all
    </Proxy>
    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/
    <Location />
        Order allow,deny
        Allow from all
    </Location>
    ErrorLog logs/apex-error_log
    CustomLog logs/apex-access_log common
</VirtualHost>