Dormelchen_1077
Apr 30, 2010Nimbostratus
is it possible to get a valid response ?
hello,
i have a problem.
Part of the rule:
when CLIENT_ACCEPTED
{ persist none }
when HTTP_REQUEST {
set lowerURI [string tolower [HTTP::uri]]
log local0. "$lowerURI"
switch [HTTP::host] {
www.test.de
{ if { $lowerURI starts_with "/test.aspx" } { HTTP::redirect "http://111.111.111.111[HTTP::uri]" }
elseif { $lowerURI starts_with "/b2b" } { persist source_addr pool }
else { if { $lowerURI eq "/" or $lowerURI eq "" or $lowerURI starts_with "/welcome.de.aspx" }
{ HTTP::redirect "http://www.test.de/default.aspx?/de-de"}
else { persist source_addr pool }
return
My problem is the "b2b" part.
In my browser i paste the url www.test.de/b2b/ and it shows me : Error page not found.
Cause - the website is in the root directory.
if i try to call the IP adress of the webserver its all ok.
I cannot use the www.test.de cause this www.test.de points to another webpage on this server.
i have to use www.test.de/b2b ...
i think that the Loadbalancer tries to retrieve the /b2b/ - but he has to retrieve the root directory.
Is it possible to configure it on the BIG-IP F5 with irule or other ?