I believe you want "cgi-script" instead of "default-handler".
Drew
Chad Arimura wrote:
Thanks Stas. That makes sense, but when I set the handler to default-handler, running the cgi in a browser just displays the code of the script on the screen... do you know what I'm missing?
chad
-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 3:57 PM
To: Chad Arimura
Cc: [EMAIL PROTECTED]
Subject: Re: Turning off modperl in specific directories
Chad Arimura wrote:
I setup our server to handle requests through mod_perl with the following directive:
<Directory "/var/www/main">
Options FollowSymLinks ExecCGI
Order allow,deny
Allow from all
<FilesMatch "\.(cgi|pl)$">
SetHandler perl-script
PerlHandler Apache::Registry
</FilesMatch>
</Directory>
There is a subdirectory underneath there that I do NOT want mod_perl to handle. specifically:
<Directory "/var/www/main/sub">
Turn off here.
</Directory>
Is there something that I can use in there to handle the scripts through reg. CGI?
Let the guide be with you: http://perl.apache.org/docs/1.0/guide/config.html#Overriding_E_lt_LocationE_ gt__Setting_in__Sub_Location_
-- ---------------------------------------------------------------- Drew Taylor * Web development & consulting Email: [EMAIL PROTECTED] * Site implementation & hosting Web : www.drewtaylor.com * perl/mod_perl/DBI/mysql/postgres ----------------------------------------------------------------
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
