Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question about ErrorDocument directive and paths

Status
Not open for further replies.

mdkelly

IS-IT--Management
Jun 30, 2004
5
CA
Hello again all,

I recently setup custom error documents on my web server. They work well most of the time, but depending on where the document is loaded from will depend on where the document will lok for images, etc.

Example:
does not exist and returns the error page formatted

does not exist and error page is not formatted correctly as no correct image, css, and javascript paths are found properly.

Is there anyway to remedy this without have to use a hardcoded URL like
thanks for any input
mdkelly
 
Hi again Wullie,

Yes it did help. I set everything to be referenced from the root directory and now it appears as it should.

Thank you
mdkelly
 
Yup - it seems to be ok from what I see. I clicked your links before reading all the posts. :)


 
RhythmAce,

Thanks for checking that out for me.
mdkelly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top