Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck using mod_proxy (maybe also vhosts?) on apache2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Lews_Therin
l33t
l33t


Joined: 03 Oct 2003
Posts: 657
Location: Banned

PostPosted: Tue Jul 13, 2004 7:01 pm    Post subject: Stuck using mod_proxy (maybe also vhosts?) on apache2 Reply with quote

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/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum