On Feb 28, 2002 at 05:54:07 -0700, Dan Baker wrote:
> 
> Rick Myers wrote:
> > 
> > On Feb 27, 2002 at 21:14:00 -0700, Dan Baker wrote:
> > >
> > > I am working with a host that has everything under /cgi-bin running
> > > mod_perl by default, and well as using EmbPerl to run the dynamic pages.
> > 
> > This begs the question, how are they doing that?
> > 
> > I mean, if they're using Location's or File's then you're
> > going to have to bend to their whim since those override
> > Directory's.
> > 
> --------------------------------------
> 
> hhmmm, so if they have set up in httpd.conf:
> 
>   Alias /cgi-bin/ /home/seniordiscounts/cgi-bin/
>   <Location /cgi-bin>
>     SetHandler perl-script
>     #PerlHandler Apache::PerlRun
>     PerlHandler Apache::Registry
>     Options +ExecCGI
>   </Location>
> 
> then the non mod_perl section:
> 
> <Directory /home/seniordiscounts/cgi-bin/webadmin/>
>   SetHandler default-handler
>   AddHandler cgi-script .pl
>   AllowOverride All
> </Directory> 
> 
> will be overidden?

Right. At least that's how I read the relevant doc...

   http://httpd.apache.org/docs/sections.html

> I guess then I should add an alias line and switch to
> using Location ?

That would work, but see the above doc. Location's are
processed in the order they appear in the conf file.

--rick

Reply via email to