perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Chamas <j...@chamas.com>
Subject Re: Interpreting HTML
Date Mon, 25 Aug 2003 20:09:33 GMT
js wrote:
> I have apache2 and mod_perl2 setup and running without any problems with .PL
> files.
> 
> In apache2 I have my test directory setup like the following:
> 
> Alias /test/ C:/apache2/htdocs/
>   <Location /test/>
>       SetHandler perl-script
>       PerlResponseHandler ModPerl::Registry
>       PerlOptions +ParseHeaders
>       Options +ExecCGI
>   </Location>
>
 > How do I stop .HTML files from being interpreted?
 >

You could always just match on .pl, like:

    <Location ~ "/test/*.pl">
        SetHandler perl-script
        PerlResponseHandler ModPerl::Registry
        PerlOptions +ParseHeaders
        Options +ExecCGI
    </Location>

For more on using <Location>, please see:

   http://httpd.apache.org/docs-2.0/mod/core.html#location

Regards,

Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checker                 http://www.nodeworks.com



-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Mime
View raw message