samp
05-21-2003, 10:49 AM
Hello,
Am having a problem with the 404 missing.html file. It resides in web root and is > 1k as required.
The missing.html sometimes works (ie returns 404 and redirects to main page as I intend) but sometimes returns a 500 server error message.
If the file name: domain.com/filename.html (which does not exist) is requested the 500 message is returned. If a similar, non-existant file is requested as above but with a few random characters put into the name like domain.com/filenameXYZ.html the return is the correct 404 not found page which redirects to the main page.
In some cases the file: filename.html does exist, however it is in a lower directory: /directory/filename.com. I'm obviously missing something here, any suggestions appreciated.
Thanks.
Am having a problem with the 404 missing.html file. It resides in web root and is > 1k as required.
The missing.html sometimes works (ie returns 404 and redirects to main page as I intend) but sometimes returns a 500 server error message.
If the file name: domain.com/filename.html (which does not exist) is requested the 500 message is returned. If a similar, non-existant file is requested as above but with a few random characters put into the name like domain.com/filenameXYZ.html the return is the correct 404 not found page which redirects to the main page.
In some cases the file: filename.html does exist, however it is in a lower directory: /directory/filename.com. I'm obviously missing something here, any suggestions appreciated.
Thanks.