View previous topic :: View next topic |
Author |
Message |
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
Posted: Fri May 16, 2008 4:34 pm Post subject: Custom Error Pages not functioning |
|
|
I'd rather not use it as the default one, and I've tried it with, and without it set.
I've restarted the server, and the file does exist.
I'm getting the Abyss Server 404 error page (not a default one) and I'm using Firefox 3 Beta 5 (I don't suppose the browser would affect this, but I'd like to clarify that I'm not using garbage IE).
This isn't a completed 404 page...but this is what I'm trying to get to appear:
Code: |
<?php
$tititti="404 - Document Not Found";
@include('header.php');
?>
<br />
<strong>The Document you're looking for was not found on this server.</strong><br />
<br />
YouN00b.com is changing ownership and function. The original owner is still managing an archival site.<br /><br />
<a href='<?echo $_SERVER["REQUEST_URI"];?>'>a</a>
<!--NEW! 2-07-08: MMT Instant Messenger Spammer
LOL! I guess you know when your spamming application has hit the big time. A few anti-virus vendors identify this program as a "Trojan/SpamTool". Now, mind you, it IS indeed a tool that can be used for spamming. But a Trojan? Please. I've written this entire program myself. It's anything but a trojan. HOWEVER BEWARE! People CAN add executables to other programs, which means that if you're not downloading the programs from here, there's a good chance that somebody else has modified it (possibly adding malicious code). Always download our programs from us, it's always free!
NEW! 2-07-08: MMT AudioRax Added!
Check it out! Look in the Freeware Projects on the top of the screen.
NEW! 2-06-08: Application Pages Changed
I've organized them a little better and made it quicker to download and read a quick description of the programs available on this site.
NEW! 1-03-08: Looking for a program?
On Firefox, you'll have a drop down menu filled with application downloads, and free services we provide.
Other browsers are stuck with a menu on the left [for now...] --> |
All of the commented text was copied from a different one of my sites, just to make the page bigger than the IE cutoff for showing IE's default 404 page.
Any suggestions on what's wrong with this?
Server Platform: Windows 2000 SP4, Abyss X2 2.5, PHP 5.24
Thanks. _________________ Audit the secure configuration of your server headers! |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri May 16, 2008 5:11 pm Post subject: |
|
|
Well for one, unless you have set html pages to be a php interpreter, that script isn't going to work.
If your 404 file is a .php with php commands, then the .html extension you put in the custom error box is incorrect. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
|
Back to top |
|
|
Toasty -
Joined: 21 Feb 2008 Posts: 298 Location: Chicago, IL
|
|
Back to top |
|
|
|
|
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
|
|