PHP can't be a custom error page?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
datwig
-


Joined: 26 Jan 2003
Posts: 85

PostPosted: Thu Mar 06, 2003 1:48 am    Post subject: PHP can't be a custom error page? Reply with quote

I tried making a error.php as my custom error page, but it doesn't work... is it just abyss web server that doesn't allow a PHP format error page?
Back to top View user's profile Send private message AIM Address
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Mar 07, 2003 2:24 am    Post subject: Re: PHP can't be a custom error page? Reply with quote

datwig wrote:
I tried making a error.php as my custom error page, but it doesn't work... is it just abyss web server that doesn't allow a PHP format error page?

You can configure a PHP page as an error page. You should of course configure Abyss Web Server in order to be able to recognize that script (check the CGI paths and interpreters.)
To be concrete, let's say that you want to associate error 404 with /err/error.php . You should install PHP, add /err to the CGI paths and put your script in /err.
Now test that browsing http://yoursite/err/error.php is ok. Next associate error 404 with /err/error.php .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group