Author |
|
halstead
Joined: 08 Dec 2009 Posts: 3 Location: Hillsboro Oregon USA
|
Posted: Tue 08 Dec '09 1:17 Post subject: Custom 404 Page |
|
|
I've installed Drupal several times and the .htaccess includes an ErrorDocument directive which has always worked on my Linux based servers in the past.
It looks like Code: |
# Make Drupal handle any 404 errors.
ErrorDocument 404 /index.php |
It isn't working on this windows server though. I get an 83 byte 404 message.
I'm running the newest Zend Server CE (version 4.0.6) with PHP 5.2. I have "AllowOverride All" set in httpd.conf and httpd-vhosts.conf.
I've tried moving the ErrorDocument directive to httpd.conf with no effect.
Please suggest ideas of what else I can check. |
|
Back to top |
|
halstead
Joined: 08 Dec 2009 Posts: 3 Location: Hillsboro Oregon USA
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 08 Dec '09 1:53 Post subject: |
|
|
Well .. does the <Directory> have an AllowOverride of "FileInfo" or "All" configured in httpd.conf for the location?
If not I think it should error or at least make noise in the error log.
It shouldn't need that in httpd.conf tho ... so maybe it can't. |
|
Back to top |
|
halstead
Joined: 08 Dec 2009 Posts: 3 Location: Hillsboro Oregon USA
|
Posted: Tue 08 Dec '09 2:44 Post subject: AllowOverride All |
|
|
I've switched all of the AllowOverride directives in all .conf files to All. No change in behavior.
I also switched from ZendServer CE to ZendServer with a 30 day trial license. No change.
I tried installing apache and php myself from the official websites. Custom 404s worked fine. But I want the acceleration from ZendOptimizer+ |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Fri 11 Dec '09 20:11 Post subject: |
|
|
Have you tried putting this into the CONFIG file instead of an .htaccess file? |
|
Back to top |
|