the host has that commented out for some reason:
Alias /cgi-bin/ /home/seniordiscounts/cgi-bin/
<Location /cgi-bin>
SetHandler perl-script
#PerlHandler Apache::PerlRun
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
please explain how PerlRun might be better?
-------------------
Marc Slagle wrote:
>
> Maybe you can try Apache::PerlRun instead of Apache::Registry for the
> directories that you need to run those scripts. The perldocs show how to
> set it up.
>
> Marc Slagle
>
> ----- Original Message -----
> From: "Dan Baker" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 27, 2002 11:14 PM
> Subject: how to disable mod_perl in a subdir?
>
> > 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.
> > Unfortunately, I have a set of scripts that really need "regular" perl,
> > and I can't seem to figure out the configuration to disable mod_perl in
> > a specific directory that needs
> > regular perl. ;(
> >
> > I tried this in the httpd.conf file:
> > <Directory /home/mydomain/cgi-bin/webadmin/>
> > SetHandler default-handler
> > AddHandler cgi-script .pl
> > AllowOverride All
> > </Directory>
> >
> > and then ALSO editted a .htaccess file in
> > /home/mydomain/cgi-bin/webadmin/ to include:
> > options +ExecCGI
> > RemoveHandler perl-script
> > SetHandler cgi-script
> > AddHandler cgi-script .pl
> >
> > and it still tries to use mod_perl?!
> >
> > SERVER_SOFTWARE = Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1
> > OpenSSL/0.9.6 mod_perl/1.24_01
> >
> > PLEASE let me know if there is a way to configure so that a specific
> > sub-dir uses regular perl.
> >
> > Dan
> >