Apache Reverse Proxy Scratchpad

Look here for presentations from UNYOUG events, member articles, and book reviews.

Apache Reverse Proxy Scratchpad

Postby Jer » Wed Jan 10, 2007 12:44 am

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>
Jer
Site Admin
 
Posts: 40
Joined: Tue Jan 09, 2007 11:49 pm
Location: Rochester, NY

Return to Articles & Presentations

Who is online

Users browsing this forum: No registered users and 1 guest

cron