View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000264 | WackoWiki | core | public | 2009-01-21 23:46 | 2012-02-04 09:22 |
Reporter | administrator | Assigned To | Tann San | ||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | 5.0.0 | ||||
Target Version | 5.0.beta | Fixed in Version | 5.0.beta | ||
Summary | 0000264: header("HTTP/1.0 403 Forbidden"); seems not to work | ||||
Description | it seems that the function like if (function_exists("virtual")) header("HTTP/1.0 403 Forbidden"); print($this->GetResourceValue("ReadAccessDenied")); won't take effect ? -> got a HTTP Status Code: HTTP/1.1 200 OK how can I find out that the header works same issue with function Redirect | ||||
Steps To Reproduce | test the header output of the show handler for instance on cases like if (function_exists("virtual")) header("HTTP/1.0 403 Forbidden"); if (function_exists("virtual")) header("HTTP/1.0 404 Not Found"); or function Redirect($url, $permanent = false) { if($permanent) { header('HTTP/1.1 301 Moved Permanently'); } header("Location: $url"); exit; } | ||||
Additional Information | A "must-have" for search engine optimization, especially for verifying 301 and 302 redirects. | ||||
Tags | No tags attached. | ||||
related to | 0000411 | resolved | administrator | Soft 404 With DoesNotExists |
|
ebal: for checking headers i use this : https://addons.mozilla.org/en-US/firefox/addon/3829 |
|
The "virtual" function only exists on CGI installs of PHP which means the headers only worked with PHP in a CGI config. I removed the conditional about that so it always performas the header change. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-01-21 23:46 | administrator | New Issue | |
2009-01-21 23:52 | administrator | Assigned To | => Tann San |
2009-01-21 23:52 | administrator | Status | new => feedback |
2009-01-21 23:52 | administrator | Summary | header("HTTP/1.0 403 Forbidden"); seems not to work -> got a HTTP Status Code: HTTP/1.1 200 OK => header("HTTP/1.0 403 Forbidden"); seems not to work |
2009-01-21 23:52 | administrator | Description Updated | |
2009-01-21 23:52 | administrator | Steps to Reproduce Updated | |
2009-01-22 15:42 | administrator | Steps to Reproduce Updated | |
2009-01-22 15:42 | administrator | Additional Information Updated | |
2009-01-22 15:44 | administrator | Note Added: 0000565 | |
2009-04-09 16:02 | Tann San | Note Added: 0000626 | |
2009-04-09 16:02 | Tann San | Status | feedback => resolved |
2009-04-09 16:02 | Tann San | Fixed in Version | => 5.4.0 |
2009-04-09 16:02 | Tann San | Resolution | open => fixed |
2009-04-11 01:54 | Tann San | Product Version | 4.2 => 5.0.0 |
2009-04-11 01:54 | Tann San | Fixed in Version | 5.4.0 => 5.0.0 |
2009-04-11 01:54 | Tann San | Target Version | => 5.0.0 |
2009-10-13 15:58 | administrator | Target Version | 5.0.0 => 5.0.beta |
2009-10-13 16:03 | administrator | Fixed in Version | 5.0.0 => 5.0.beta |
2010-03-08 10:12 | administrator | Category | Core => core |
2012-02-04 09:22 | administrator | Relationship added | related to 0000411 |