Hello people of pound's mailing,
Today, my maze is the following thing:
I now have several websites being redirected on some internal servers, using
backends.
There's some special ones that need to be redirected on servers with paths at
the end.
I understood the backend address cannot contain any path at the end of the
hostname/IP, so I use the 'Redirect' directive to get my server.
The problem is that, as it name says, redirect directly on the specified host I
give.
For example :
Service
HeadRequire "Host: .*site1.cla.ch.*"
Redirect "http://192.168.1.13/my%20web/"
End
This particular configuration will give the user on the internet to see
"http://192.168.1.13/my%web" in the browser address field, which is not
"correct", because then, the links are not working anymore. (192.168.1.13 is
off course unreachable from outside.)
The man page says the "RewriteLocation" directive is already 1 by default (I
was looking that direction, dunno it it's the good directive to play with..)
So final question is ...
Is there a way to "preserve the hostname" when doing redirections?
Tips, links are more than very welcome :-)
Thanks in advance,
Guillaume
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.