Jump to content

ErrorDocument Problem


fry2010

Recommended Posts

I have a problem with getting a file called '500.php' to display the contents of what is in the file.

 

Here is my .htacces code:

 

ErrorDocument 500 500.php

 

The output when I go to a page in my site that gives a 500 error is:

 

500.php

 

 

It is basically outputting the file name, rather than the contents of the file.

Link to comment
https://forums.phpfreaks.com/topic/228197-errordocument-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.