|
||||||||
Hi, >>> I think you would need to use an additional box running something like >>> Squid as a reverse proxy to achieve this. > >When it is possible to host both websites with one apache installation >(on one server), then you could use name based virtual hosts: >http://httpd.apache.org/docs/2.2/vhosts/name-based.html > >No additional proxy would be needed, and the webserver can >differentiate requests to the two domains according to the HTTP- >Request-Header. The original question (which someone very kindly deleted from a reply!) was: >i have one static ip adress. behind a monowall 2 webservers are running >on different machines. >it's just a small testing installation. now i like different rules for >different URL's. > >e.g. the request goes to www.myfirstdomain.ltd, the request should be >through NAT/Firewall to Server1, >a second request goes to www.myseconddomain.ltd, all requests should go >unfiltered to Server2. > >is it possible to filter requests by domains? is something like that >possible in general? The op has two servers therefore he must run a separate proxy or run a proxy on one of the machines, using host header based virtual hosting. HTH, Neil. -- Neil A. Hillard E-Mail: m0n0 at dana dot org dot uk |