Exforsys

Online Training

Custom Error Pages with PHP and Apache

This is a discussion on Custom Error Pages with PHP and Apache within the Unix Articles and Tutorials forums, part of the Articles and Tutorials category; by David Sklar , coauthor of PHP Cookbook 02/13/2003 Using PHP and Apache, you can turn your "Page Not ...


Go Back   Exforsys > Articles and Tutorials > Unix Articles and Tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-29-2005, 02:27 PM
Senior Member
 
Join Date: Mar 2005
Posts: 909
techguru is on a distinguished road
Post Custom Error Pages with PHP and Apache

by David Sklar , coauthor of PHP Cookbook 02/13/2003 Using PHP and Apache, you can turn your "Page Not Found" messages into more than bland error reports. You can serve an alternate page based on the name of the page that was not found, create a page on the fly from a database, or send an email about the missing page to a webmaster. Building a custom error page with PHP and Apache requires two steps. You need to tell Apache to run a PHP program when it encounters a 404 ("Page Not...

http://www.oreillynet.com/pub/a/onla...avidsklar.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new questions
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:30 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.