Topic awaiting preservation: 404s on dreamhost (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 04-05-2005 16:21
http://www.embege.com/nonexistentpage.php |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-05-2005 17:15
php displays that when it's run as cgi and can't find the file. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-05-2005 17:15
php returns that if it's run as a cgi and can't find the file. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 04-05-2005 17:26 |
Maniac (V) Inmate From: Cell 666 |
posted 04-05-2005 21:02
You could write your own error pages ... http://andredion.com/no_page_here.php |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 04-05-2005 23:24
actually i do have my own 404-page, but it only works for non-php urls: |
Maniac (V) Inmate From: raht cheah |
posted 04-05-2005 23:44
nice positive post 'naxer! |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 04-06-2005 00:00 |
Maniac (V) Inmate From: Cell 666 |
posted 04-06-2005 00:30
Here be the relevant parts of me .htaccess file: code: ErrorDocument 400 /error.php?code=400 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 04-06-2005 00:35 |
Maniac (V) Mad Scientist From: :morF |
posted 04-06-2005 01:50
Check the dreamhost Knowledge Base. They've got an article on there about using mod_rewrite to make custom error pages work with PHP run as a CGI |
Maniac (V) Inmate From: Cell 666 |
posted 04-06-2005 02:51 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 04-06-2005 11:10
yepp, personally, ive never been a friend of PHP as CGI. why run an extra process if apache is running already? |