Welcome to WebmasterWorld Guest from 18.104.22.168
I've uploaded a .htaccess to redirect browser errors to the right error pages, but all I get now is '500 Internal Server Error'
Is there a place where I can verify the file and debug it?
ATM i have in the .htaccess the following
There is more errors inserted intot he file but the list is too long to post here.
Any ideas why the .htaccess file would cause the 500 error?
Only has to be local for 401 documents.
My best suggestion is to add one line at a time - find which one gives you the 500 and look more closely at it - post here if it's not obvious. Good luck.
I did what you suggested.
For obvious reason I started with the 404 error as we know this occurs if the page/link does not exist on the site.
so the .htaccess has the following:
ErrorDocument 404 /errors/404.htm
With this 1 line there still an 500 internal error issue.
The files exists?
And try using a message.
ErrorDocument 404 "Test Error Message"
Finally - does your host have some built in redirects on file not found? Mine does - which I hate but I'll live with. Could be interfering with each others rules.
A "fine" point here, but an important one. You must use a local path if you wish the server to return the specified error code to the client. If you use an external redirect (by specifying a canonical URL), then the server will return a 302-Found status to the client, thus hiding the problem from the client. This can be a huge disaster if the client is a search engine spider. If you care about search engine rankings and listings, don't specify an external URL!
AllowOverride [httpd.apache.org] must be set to "All" or at least to "FileInfo" to allow you to use any directives which modify the URL. It is a server configuration setting, and many hosting companies don't trust you to do redirects correctly, so they leave it off to save on support costs. Ask first, then change hosts if no help is offered.