Thanks guys, <Location ~ "/test/*.pl">
Worked like a charm! I appreciate the help for a newbie! JS -----Original Message----- From: Patrick Galbraith [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 6:22 PM To: Josh Chamas Cc: js; [EMAIL PROTECTED] Subject: Re: Interpreting HTML Hey, I just noticed the first email that you sent, I must've thought it was a question - I must really need sleep since I've been mispelling and reading incorrectly today ;) Sorry for replying to it as though it was a question. Josh Chamas wrote: > 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 > > > -- ---------------------- Patrick Galbraith Senior Software Developer [EMAIL PROTECTED] [EMAIL PROTECTED] 206.719.2461 -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html