1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Gabor Hojtsy
3225ece2d6 Move the error functions out to an include file,
so we can reuse them if needed
2003-09-06 09:14:58 +00:00
Gabor Hojtsy
291865a154 Better 404 page for manual pages (which are not to be
searched in the function list or in Google, as they are
clearly missing files on the server). Do preserve the 404
error code on the pages though, as these are not to be
indexed (also add a meta for this reason).
2003-09-06 08:51:10 +00:00
Gabor Hojtsy
496c83383a Add and use status_header() for sending out status headers,
add it into all parts where we include stuff which exists. Also
make the 404 page a bit more general.
2003-08-21 11:25:13 +00:00
Gabor Hojtsy
fbc96ff41a Use new header / footer in 404 messages 2003-08-21 11:12:46 +00:00
Gabor Hojtsy
e8ae1f70da Drop the need to specify that a redirection is really external, as
this is already in the first parameter. If there is a protocol part,
then it is external. Reflect this change in the errorhandler too.
2003-08-16 11:58:34 +00:00
Gabor Hojtsy
9350f819bb - Split news.php by year, as discussed before
- Provide BC handling for news.php links
- Interlink the yearly archives
- Fix layout, and some outdated links to make
  archived news items more useful
2003-08-13 11:53:37 +00:00
Gabor Hojtsy
d3e7e8828b Also remove ? if it is at the very end of the request URI 2003-08-10 10:51:09 +00:00
Gabor Hojtsy
9ff69a38c3 Drop QUERY_STRING from the shortcut URL 2003-08-10 10:48:37 +00:00
Gabor Hojtsy
eb015354f1 Movet get_download out of the website root, as it is not supported
to access this directly. Download mirror selections are supported
via the /get/$filename/from/a/mirror URLs
2003-08-09 16:43:45 +00:00
Gabor Hojtsy
6411307498 Add error handler here, as discussed,
- prevent infinite redirection loop with the shortcut /error
 - use $_SERVER['DOCUMENT_ROOT'] instead of $DOCUMENT_ROOT,
   so register_globals is not needed here anymore
2003-08-09 09:35:00 +00:00