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_

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- 
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

Reply via email to