[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: Turning off modperl in specific directories
From: Drew Taylor <drew () drewtaylor ! com>
Date: 2004-05-24 19:30:15
Message-ID: 40B24D47.6070508 () drewtaylor ! com
[Download RAW message or body]
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:stas@stason.org]
> Sent: Thursday, May 20, 2004 3:57 PM
> To: Chad Arimura
> Cc: modperl@perl.apache.org
> 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: drew@drewtaylor.com * 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic