Apache Reverse Proxy Scratchpad

Look here for presentations from UNYOUG events, member articles, and book reviews.
Post Reply
Jer
Site Admin
Posts: 40
Joined: Tue Jan 09, 2007 11:49 pm
Location: Rochester, NY
Contact:

Apache Reverse Proxy Scratchpad

Post 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>
Post Reply