View previous topic :: View next topic |
Author |
Message |
brad -
Joined: 01 Sep 2002 Posts: 16 Location: TX
|
Posted: Mon Sep 02, 2002 5:54 pm Post subject: PHP Custom Error Pages |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Sep 04, 2002 3:05 pm Post subject: Re: PHP Custom Error Pages |
|
|
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 |
|
|
|