Lews_Therin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/2143130772424f4ca66cd78.png)
Joined: 03 Oct 2003 Posts: 657 Location: Banned
|
Posted: Tue Jul 13, 2004 7:01 pm Post subject: Stuck using mod_proxy (maybe also vhosts?) on apache2 |
|
|
Right now, when somebody accesses the server, the request is sent to a linux server and proxied to a Win2k server with mod_proxy.
Code: | internet---www.example.com--->linux---->windows |
As far as users of the site are concerned, the windows computer is connected directly to the internet.
What I would like to do is have a directory on the linux server accessable with the URL of "linserver.example.com". I have already gotten this working by using "ProxyPass /linserver !" command in apache2.conf, but many pages within the server do not work (flash .swfs with hardcoded paths, ugh).
Does anybody know how I could set up the linux server to not proxy requests with the host header "linserver.example.com"?
At the moment, the relevant portion of the apache2.conf looks like this (it's from the apache.org web documentation):
Code: | ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://192.168.1.100/
ProxyPassReverse / http://192.168.1.100/ |
|
|