nOn Sun, 9 May 1999, Phil Glatz wrote:
> I'm having some trouble understanding FILEALIAS. Some visitors reach my
> site via http://mysite.com/index.html, others as just http://mysite.com
>
> I'd like both to show up in reports as /index.html
>
>
> Shouldn't this do it?
> FILEALIAS / /index.html
>
>
> And similarly, for a subdirectory wth an index.html as default:
> FILEALIAS /foo/ /foo/index.html
>
Should do and does. You can even do
FILEALIAS /*/ /*/index.html
if you like to catch all of them.
There are two caveats: (i) if a file has already received an alias to get to
/foo/ it won't be aliased again. So that earlier alias should direct it
straight to /foo/index.html. (ii) This won't catch files that look like
/*/?* and indeed there's no way to catch them at the moment.
--
Stephen Turner [EMAIL PROTECTED] http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------