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? I guess then I should add an alias line and switch to
using Location ?

Dan

Reply via email to