Mike_86382
Apr 23, 2009Altostratus
A twist on the 404 status code
Hello. I am new to iRules, but I have an important task to accomplish:
I need to rewrite an http response status code from 200 to 404 whenever a particular page is sent to the client. We need to do this as we have problems with search engines and 404 page not returning a proper 404.
So, http://www.mydomain.com/404.htm (which normally returns a 200 because of our CMS system) needs to return a 404 status code whenever this page is served.
Can this be done with iRules?
Your help is greatly appreciated.
Thanks,
Mike