[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] 404 error document - source domain
- Subject: [cobalt-users] 404 error document - source domain
- From: "Andy Clyde, oxfordmusic.net" <andy.clyde@xxxxxxxxxxxxxxx>
- Date: Fri Feb 28 02:45:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
i'm on a RaQ4 but this might well apply to all Cobalts...
i am trying to write a default 404 error page for my server which looks like
my domain but contains a link abck to the homepage of the site where the
error occurred.
i.e. a browser requests www.somewhere.net/nothere.html and gets redirected
to www.mydomain.com/404.html but on this 404.html page there is a link back
to www.somewhere.net
i've tried writing an asp script which uses the referer URL but that always
comes up with mydomain.com.
is there a way i can get access to whichever domain caused the 404 error?
(i seem to remember seeing somewhere some sort of tags i could use for this
but can't find them anywhere!)
cheers
andy