Home arrow Apache arrow Handling 404 Error's With Apache
APACHE

Handling 404 Error's With Apache


The web is all about usability, consistency and speed... well, that's what we'd like to think anyway. In this article John shows us how to stop those dreaded 404 errors from plaguing our Apach-based web sites. With a bit of PHP and a htaccess file or two, your site will be free of 404's forever!

Author Info:
By: John Ferme
Rating: 4 stars4 stars4 stars4 stars4 stars / 9
February 20, 2002
TABLE OF CONTENTS:
  1. · Handling 404 Error's With Apache
  2. · Apache and hierarchies
  3. · Implementing a 404 trap
  4. · Conclusion

print this article
SEARCH DEVARTICLES

Handling 404 Error's With Apache
(Page 1 of 4 )

The web is all about usability, consistency and speedů well, that's what we'd like to think anyway. Unfortunately the web isn't a perfect haven for anyone, and if you run your own web site, then there's many a way that you can do your part to help make the web a more useable and consistent information/communication medium.

In this article I'm going to show you how you can use one feature of Apache to stop those dreaded "404 File Not Found" errors from plaguing your web site. 404 errors are one of the top reasons why visitors leave a web site, and with a bit of PHP and htaccess, your site will be free of 404's forever.

To implement the technique described in this article you should have access to a web server running Apache and PHP version 4.1 or above. The web server can be either a Windows NT/2000 server or a Unix/Linux server, such as RedHat or Mandrake.
blog comments powered by Disqus
APACHE ARTICLES

- Programmatically Manipulating Microsoft Exce...
- Installing PHP under Windows
- Compressing Web Content with mod_gzip and mo...
- Compressing Web Output Using mod_deflate and...
- Setting Up Apache 2.0.45 to Parse PHP Pages
- Custom Error 404 Documents with PHP
- Using Apache and PHP on Mac OS X
- ASP: Active Sessions, Active Logins and Tota...
- Working With Oracle on Windows: Part 1
- The Quick-n-Dirty Guide to Setting Up Apache...
- Installing Apache With SSL: The Complete Gui...
- 7 Powerful .htaccess Customization Tips
- Trap And Get Notified: A Practical Solution ...
- One Way To Use Server Side Includes
- Using ForceType For Nicer Page URLs

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials