Forum Moderators: phranque

Message Too Old, No Replies

Goofy .htaccess 404 redirect issue

Index page is served for every error code

         

alphabeta

5:54 pm on Jan 19, 2007 (gmt 0)

10+ Year Member



So I'm in a difficult situation right now. I'm a marketer with basic Webmaster/Apache skills - I can go in and edit most things on a server but I don't have the depth to solve the tough problems. I had an 'expert' look at it, and after 2 hours he couldn't figure out what was causing this to happen.

The issues is that the homepage is served up for every error code regardless of the settings that I setup using the admin panel (H-Sphere), or what is placed by hand in the .htaccess file. But since I don't have much experience with editing .htacces files I'm left turning to the forum for a little help.

These are the current error handeling settings in the .htaccess file:

# SEF BEGIN
RewriteEngine on
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule ^(.*) index.php
# SEF END

# Error redirect pages
ErrorDocument 404 /Errors/404.html
ErrorDocument 400 /Errors/400.html
# End Error redirect pages

Am I missing something blatant? Does anyone remember some good threads releated to this topic that I can research? Has anyone that uses H-Sphere experienced a similar issue?

Thanks in advance.

alphabeta

8:34 pm on Jan 19, 2007 (gmt 0)

10+ Year Member



Wow, I fixed it. Sorry for bugging everyone.