[6827] in www-talk@info.cern.ch
Re: Map File Format general?
daemon@ATHENA.MIT.EDU (Chris Adie)
Fri Nov 25 09:42:23 1994
Date: Fri, 25 Nov 1994 15:34:14 +0100
Errors-To: listmaster@www0.cern.ch
Reply-To: C.J.Adie@edinburgh.ac.uk
From: Chris Adie <C.J.Adie@edinburgh.ac.uk>
To: Multiple recipients of list <www-talk@www0.cern.ch>
> Is the map file format general or is it HTTP server type dependent?
> If it's general: why can't you specify a link to a specific section i a
> document (path/doc.htm#page4) in the map file?
I can answer for the EMWAC Windows NT HTTP server. The same
answer probably applies to other servers.
You can't specify a URL of the form /foo/bar.htm#xxx
in a map file because the *browser* interprets the #xxx, not the
server.
> Are there any workarounds?
Specify the full URL http://mymachine.mydomain/foo/bar.htm#xxx
This should cause the server to issue a 302 Found response with
a Location: header containing the URL. Then the browser retrieves
/foo/bar.htm and interprets the #xxx locally.
Regards,
Chris Adie Phone: +44 31 650 3363
Edinburgh University Computing Service Fax: +44 31 650 6547
University Library, George Square Email: C.J.Adie@ed.ac.uk
Edinburgh EH8 9LJ, United Kingdom