Drew_123833
Mar 23, 2015Nimbostratus
Redirect full website
Hello everyone
I'm trying to redirect my website www.company.com to a sorry page. Due to a database maintenance. I did the redirection through an irule. So far so good.
The basic irule to redirect the website is:
Code
when HTTP_REQUEST {
HTTP::redirect "http://sorry.mypage.com[HTTP::uri]"
}
The redirections works well, the only problem is that everything under a "/" is not redirected and gives an 404 error. For example www.company.com/products will not be redirected. There a lot of them.
Is there a way to do a full redirection of everything to this sorry page?
Thx