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

Reply via email to