...

View Full Version : Custom error pages without htaccess ?



Richard
02-09-2003, 09:37 PM
I'm not allowed to use .htaccess on my current web space.

Is there another way to specify custom error pages ? Server is Linux RedHat (perl, php, cgi).

Nightfire
02-10-2003, 01:36 AM
You need htaccess or access to the server config.

If you're site is using php and you're using includes to change the information, you can do something like this



if(file_exists("page.php")){
include("page.php");
}else{
include("Error404.php");
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum