Differences between revisions 1 and 2
Revision 1 as of 2009-08-10 08:18:30
Size: 365
Editor: SamatJain
Comment:
Revision 2 as of 2009-08-10 08:19:01
Size: 391
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
----
CategoryCheatSheet

Reverse Proxy for a Subdomain

The below Apache reverse proxy configuration lets another website be served through a domain. The example is a little contrived.

   1 <VirtualHost 72.36.165.250:80>
   2   ServerName proxied-site.samat.org
   3 
   4   ProxyPass / http://google.com/
   5   ProxyPassReverse / http://google.com/
   6 </VirtualHost>


CategoryCheatSheet

SamatsWiki: CheatSheet/Apache (last edited 2013-07-27 03:33:59 by SamatJain)