Doing Wonders with Apache Settings
A Layman's Guide to Htaccess File
So you have decided to develop your own website and here I come to give you some rock solid advices which can do wonders for you. Before that I assumed that you are going to build your website on Linux-Apache-MySQL. Here you must know some basic working guidelines of Apache andTrapping Error: There are five kinds of errors that one website can experience. These are
1. 400 Error (Bad Request): It means that a request for a URL has been made but the server is not configured or capable of responding to it.
2. 401 Error (Unauthorized Access): It means that a request for a URL is generated but the request failed to authorize itself as per security settings.
3. 403 Error (Forbidden Error): If any URL has been made for non-access and the request tries to access it, this error is generated.
4. 404 Error (Page Not Found): If any request for URL comes to the server which is not available then this error is generated.
5. 500 Error (Internal Server Error): For any internal error the server throws this error message to browser.
The wonder is that by adding a few lines you can get past the error message and can show your own custom error message. For this develop 5 html pages which will be shown in case these errors are generated. And then add these lines to it.
ErrorDocument 400 /400-page.html
ErrorDocument 401 /401-page.html
ErrorDocument 403 /403-page.html
ErrorDocument 404 /404-page.html
ErrorDocument 500 /500-page.html
Related information
Most Comments Today
- Oh No! Michael Jackson's Body and Brain Missing Is Michael Jackson's body and brain missing? According to many websites they... 31 Comments
- Michael Jackson is Missing The casket is missing, where is it? How did it disappear? 31 Comments
- Sarah Palin 2012? Sarah Palin 2012? 29 Comments
- Hot News Quickies - Thursday, July 9, 2009 News happens while you sleep - get your Hot News Quickies here! 28 Comments
- Real Estate: Renting Your Home and Bad Tenants If you decide to rent out your home, do a thorough reference check with previ... 26 Comments
- Every Day Heroes At every disaster, in every community, when people are hurting who are the fi... 24 Comments






