Forum Discussion
Dave_73612
Nimbostratus
Jun 25, 2009Help with 301 redirect irule
Hi guys,
I have setup the following IRULE for a 301 redirect
when HTTP_REQUEST {
if { [HTTP::uri] equals "/index.html" } {
HTTP::respond 301 Location "http://www.blah.blah.co.uk/blah-blah-blah/"
}
It appears to work ok however, the - in the URL seem to be messing up the redirect.
If I set the URL To "http://www.blah.blah.co.uk/blah%2dblah%2dblah/"
It still does not work.
Any idea?
- hoolio
Cirrostratus
Hi, - Dave_73612
Nimbostratus
I checked it in fiddler - - hoolio
Cirrostratus
Is there something different about the request for http://www.blah.blah.co.uk/blah-blah-blah/ when it's made from a redirect versus a request direct to the server or if you just enter that URL in the address bar and make the request to the VIP?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects