You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@organic.com> on 1995/07/12 06:05:12 UTC
Re: Redirect problem
Isn't this a matter of parsing order? I.e., is shambala expanding *all*
ScriptAlias directives before Redirects, or is it simply the case that
because the ScriptAlias came after the Redirect for the same resource,
the latter had precedence?
Brian
> From: Paul Richards <pa...@netcraft.co.uk>
> Subject: Re: Redirect problem
> To: new-httpd@hyperreal.com
> Date: Tue, 11 Jul 1995 20:49:08 +0100 (BST)
>
> In reply to Rob Hartill who said
> >
> >
> > My guess is that shambhala is processing ScriptAlias before
> > Redirect, because we have,
> >
> > Redirect /htbin/ http://arachnid.cm.cf.ac.uk/htbin/
> > ScriptAlias /htbin/ /mnt60/apache/htbin/
> >
> >
> > /htbin/ used to be serviced by this machine, but was Redirected
> > to another (arachnid) recently.
> >
> > Apache acts on the Redirect before expanding the ScriptAlias.
> > Same is probably true for Alias.
> >
> > We'll need to make this Apache/NCSA compatible.
>
> A more correct approach would be to issue an error for ambiguous
> declarations.
>
> Things will (already are) get messy if internal behaviour of the
> server is relied upon to arbitrate in situations like this since
> you become tied to old behaviour and much worse, changes to the
> server that you wouldn't expect to cause problems have unexpected
> results, as we're seeing here..
>
> It would be better to bite the bullet now and lay down the law as to what
> is correct rather than perpetuate bad practices.
>
> Simply aborting at startup clearly stating an ambiguity has been found in
> the configuration files has been found would be more of a favour to
> web admins.
>
> I wouldn't put NCSA compatibilty too high on the list. What will make
> people switch to Apache is the fact that it's doing things right.
>
>
> --
> Paul Richards, Bluebird Computer Systems. FreeBSD core team member.
> Internet: paul@FreeBSD.org, http://www.freebsd.org/~paul
> Phone: 0370 462071 (Mobile), +44 1222 457651 (home)
>
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/