You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/03/29 01:45:33 UTC
location_walk() twice?
process_request_internal runs location_walk twice... it does:
location_walk
translate_name
directory_walk
file_walk
location_walk
Is that right?? I'm guessing yes because translate_name may have changed
the location. But the docs don't really mention it.
Dean
Re: location_walk() twice?
Posted by Dean Gaudet <dg...@arctic.org>.
Cool, makes sense. Kind of ugly to document.
Dean
On Fri, 28 Mar 1997, Alexei Kosut wrote:
> On Fri, 28 Mar 1997, Dean Gaudet wrote:
>
> > process_request_internal runs location_walk twice... it does:
> >
> > location_walk
> > translate_name
> > directory_walk
> > file_walk
> > location_walk
> >
> > Is that right?? I'm guessing yes because translate_name may have changed
> > the location. But the docs don't really mention it.
>
> If I recall correctly, Ben added this so that you could use <Location>
> to mess with name-translation stuff. The second location_walk was
> retained because we wanted <Location> to continue to override <File>
> and <Directory>. The per-dir config stuff is reset in directory_walk
> anyway, so calling location_walk here is incapable of hurting anything
> except by intent.
>
> Or something like that.
>
> --
> ________________________________________________________________________
> Alexei Kosut <ak...@nueva.pvt.k12.ca.us> The Apache HTTP Server
> URL: http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/
>
>
Re: location_walk() twice?
Posted by Alexei Kosut <ak...@nueva.pvt.k12.ca.us>.
On Fri, 28 Mar 1997, Dean Gaudet wrote:
> process_request_internal runs location_walk twice... it does:
>
> location_walk
> translate_name
> directory_walk
> file_walk
> location_walk
>
> Is that right?? I'm guessing yes because translate_name may have changed
> the location. But the docs don't really mention it.
If I recall correctly, Ben added this so that you could use <Location>
to mess with name-translation stuff. The second location_walk was
retained because we wanted <Location> to continue to override <File>
and <Directory>. The per-dir config stuff is reset in directory_walk
anyway, so calling location_walk here is incapable of hurting anything
except by intent.
Or something like that.
--
________________________________________________________________________
Alexei Kosut <ak...@nueva.pvt.k12.ca.us> The Apache HTTP Server
URL: http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/