![]() Topic awaiting preservation: 404s on dreamhost (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() http://www.embege.com/nonexistentpage.php |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() php displays that when it's run as cgi and can't find the file. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() php returns that if it's run as a cgi and can't find the file. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Maniac (V) Inmate From: Cell 666 |
![]() You could write your own error pages ... http://andredion.com/no_page_here.php |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() actually i do have my own 404-page, but it only works for non-php urls: |
Maniac (V) Inmate From: raht cheah |
![]() nice positive post 'naxer! |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Maniac (V) Inmate From: Cell 666 |
![]() Here be the relevant parts of me .htaccess file: code: ErrorDocument 400 /error.php?code=400 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() |
Maniac (V) Mad Scientist From: :morF |
![]() 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 |
![]() |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() yepp, personally, ive never been a friend of PHP as CGI. why run an extra process if apache is running already? |