wamp server REDIRECT_STATUS
- by user143039
I have noticed my remote server returns $_SERVER[REDIRECT_STATUS] with every request.
Example: [REDIRECT_STATUS] = 200
But my localhost wamp server does not.
Interestingly, when I manually set a header:
Example: header('HTTP/1.1 302 Redirect This');
The variable: $_SERVER[REDIRECT_STATUS] is still not set. Though I can view the headers, including the one I set, with HttpFox.
$_SERVER[REDIRECT_STATUS] is set when .htaccess throws(?) an ErrorDocument, like ErrorDocument 404 for example.
Any ideas how to get wamp server to set the variable $_SERVER[REDIRECT_STATUS] with every request?