View Full Version : 404 page specifying requested link


miss_perfect
05-19-2003, 10:13 PM
I've seen this before somewhere, and I'm pretty sure it's done with javascript. When my 404 page shows up, I want it to say what page/file was requested that isn't there, and what the referring url to that page/file is. If anyone knows how to do this, or knows where I can find out how to do this, please help!

starlet
05-20-2003, 12:31 AM
I think its

<!--#echo var="REQUEST_URI" --> for requested url and

<!--#echo var="HTTP_REFERER" --> for referer.

designhazard
05-29-2003, 11:02 AM
Originally posted by starlet
I think its

<!--#echo var="REQUEST_URI" --> for requested url and

<!--#echo var="HTTP_REFERER" --> for referer.

you will need to ave SSI support on your page. you will have to rename your 404 page into file-name.shtml