This is a discussion on Temporary Redirect (302) using mod_alias based on the result of submittedcookie. within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi All, I have trying to find out if there is a method whereby Apache (1.3.33) can redirect ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi All,
I have trying to find out if there is a method whereby Apache (1.3.33) can redirect a user based on the result of a submitted cookie. Essentially I am looking to force the browser to send two requests for the page as a means to test the browser support for cookies, the first and redirected request sets the cookie, the redirection page would be sent the cookie in the first instance if the browser supported it. Any help with this would be apprecaited. I am working in perl so I expect I could write some code to do this manually, but it would be much cleaner if apache could handle this aspect of my application. It has been suggested to me that I rewrite the url, based on the cookie value, this of course is a possibility as long as the browser sees a 302 status and makes two requests the method makes no difference to me. Cheers, Tom |