View previous topic :: View next topic |
Author |
Message |
HotelRoom2 -
Joined: 22 Aug 2006 Posts: 21
|
Posted: Tue Aug 22, 2006 1:24 am Post subject: what is REDIRECT_STATUS 200 for? |
|
|
i have REDIRECT_STATUS 200, in my scripting parameters.. and it mess with my custom error.php that depends on redirect_status to determin the error.. it always see 200, instead of 404,401,ect page not found. ect
what should i put in it's eplace, and why was it there anyway? |
|
Back to top |
|
|
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Tue Aug 22, 2006 9:55 am Post subject: |
|
|
The question you should be asking is if you can remove it.. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Aug 22, 2006 1:49 pm Post subject: Re: what is REDIRECT_STATUS 200 for? |
|
|
HotelRoom2 wrote: | i have REDIRECT_STATUS 200, in my scripting parameters.. and it mess with my custom error.php that depends on redirect_status to determin the error.. it always see 200, instead of 404,401,ect page not found. ect
what should i put in it's eplace, and why was it there anyway? |
Our preconfigured PHP package http://www.aprelium.com does not need it and you can remove it.
Even if it is there, you can rely on the value of REDIRECT_STATUS_CODE (which has been added in Abyss Web Server to solve the problem you're having when REDIRECT_STATUS is there. See the bottom of the page http://www.aprelium.com/data/doc/2/abyssws-win-doc-html/cgivars.html for more information). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
HotelRoom2 -
Joined: 22 Aug 2006 Posts: 21
|
Posted: Tue Aug 22, 2006 7:07 pm Post subject: |
|
|
i looked at the cgi env. page a bunch of times and i didn't see that part, :lol:
thank you. |
|
Back to top |
|
|
|