RE: [PHP] For experts only (cont)...

From: Date: Fri, 05 Jan 2001 18:34:27 +0000
Subject: RE: [PHP] For experts only (cont)...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32918@lists.php.net to get a copy of this message
set your apache httpd.conf file (or your .htaccess file) with an erorr document handler: ErrorDocument 404 /errors/notfound.php then create a subdirectory /errors and place your notfound.php document handler in there. siply play with that syntax to have it forward to the appropriate directory or have the script do a header(location function to forward them to the appropriate page based on what page they asked for... Dave -----Original Message----- From: Diego Fulgueira [mailto:dful@metahogar.com] Sent: Friday, January 05, 2001 1:20 PM To: Php-General Subject: [PHP] For experts only (cont)... One more thing... My problem is i want to redirect the user to another directory whenever he asks for a file that doesn't exist in the directory that he asked for in the url. That's all. Thanks again. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#32918) next »