PHP Custom Error Pages

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


Joined: 01 Sep 2002
Posts: 16
Location: TX

PostPosted: Mon Sep 02, 2002 5:54 pm    Post subject: PHP Custom Error Pages Reply with quote

I'm not sure if this problem is PHP-based or Server-based, but here goes: I made a custo 404 error page with php, set it to be the 404 page in abyss, and everything works fine. The only problem is that $_SERVER["SERVER_NAME"] is undefined when a custom error page is sent. I have tried the exact same code in other pages, and it worked correctly. Here's the interesting part: if you go to the 404 error page on purpose (i.e. type 404.php for me) then the variable is defined. So there is a problem with the custom error pages I think. All help will be appreciated. Abyss rocks.

Brad
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Sep 04, 2002 3:05 pm    Post subject: Re: PHP Custom Error Pages Reply with quote

Thank you, this is a minor bug in Abyss Wb Server. Redirected pages do not have SERVER_NAME set. We will fix that issue in the next beta release.

Again thank you. :D
_________________
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