Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Fixing 500 server errors


grandma_genie - 8:24 pm on Aug 11, 2012 (gmt 0)


The host had two files in the public folder when I moved to that host that were called 404.shtml and 403.shtml. But they were causing issues with the index.php file I had, so I removed them. The coding in them was just a header redirect.

Lucy, the error log showed that the server was looking for those error pages. So, I assume I need to replace them. And I assume I need to include the ErrorDocument info in the htaccess file.

Can you recommend a site that offers custom error page coding?

And, Don, if I did this:

RewriteRule (403\.shtml|404\.shtml)$ - [F]

That would keep the server from looking for those custom pages and just serve up the standard error messages? That way I wouldn't need the custom pages. Or do you recommend having those custom pages?

-- GG


Thread source:: http://www.webmasterworld.com/apache/4483780.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com