[H-GEN] Apache and redirects
Michael Anthon
mca at tams.com.au
Tue Dec 14 01:21:50 EST 1999
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Please observe the list's charter. ]
Well, bugger me !! It works, thanks ! Upon closer inspection, I can see
that the request that I was typing in was getting a / appended somewhere,
perhaps by me, not sure now. I just type in http://10.10.10.2/netsaint and
it got the redirect, so maybe I was adding the /.
Not quite sure if I understand exactly what Apache is doing here, but I
guess it processes the request for /netsaint and decides the it needs to be
redirected to /netsaint/ and includes the ServerName value in the redirect?
Relevant lines from the config files included below.
Cheers
Michael
Alias /netsaint /usr/local/netsaint/share
ScriptAlias /cgi-bin/netsaint /usr/local/netsaint/sbin
<Directory /usr/local/netsaint/share>
AllowOverride AuthConfig
order allow,deny
allow from all
</Directory>
<Directory /usr/local/netsaint/sbin>
AllowOverride AuthConfig
order allow,deny
allow from all
Options ExecCGI
</Directory>
<snip>
>
> Is /netsaint a directory? It doesn't look very likely, but that will
> sometimes cause problems with redirects. In that case, try
> making your
> link point to http://10.10.10.2/netsaint/ instead.
>
> --
> /\\\ Mincom | Martin Pool | martinp at mincom.com
> // \\\ | Software Engineer | Phone: +61 7 3303-3333
> \\ /// | Mincom Limited | Teneriffe, Brisbane
> \/// | And now a word from our sponsor...
>
<snip>
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.
More information about the General
mailing list