Solved ! I've never tried this before but digging I found that the <Files>
directive can be nested inside a <Directory> directive. And that was it.
<Directory /ApplicationFolder> ## it needs to be absolute, obviously
<Files ~ (\.html)>
SetHandler perl-script
PerlModule Apache::ASP
PerlHandler Apache::ASP
PerlSetVar UseStrict 1
PerlSetVar Global /folder/folder/packages
PerlSetVar GlobalPackage Apache::ASP::Package
PerlSetVar StateDir /tmp/Package
PerlSetVAr Debug 3
PerlSetVar MailHost 55.55.55.55
PerlSetVar StateDB MLDB::Sync::SDMB_File
</Files>
</Directory>
It's now working just fine. No more rendering problems.
-----Original Message-----
From: Josh Chamas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 12:22 PM
To: Fernando Munoz
Cc: '[EMAIL PROTECTED]'
Subject: Re: problems with image rendering
Fernando Munoz wrote:
> I'm exeperiencing a really odd behavior concerning to image rendering. I
> trace the problem to be the fact that I use the <Location> directive in my
> .conf. It seems like because the images directory is in that location,
they
> get to be parsed by Apache::ASP. I know that I can use the <Files>
directive
> but this is a virtual server environment and I don't want to parse all the
> rest of html, htm files and I really want to use the html extension. I'm
> also using Apache::ASP->Loader and that directive is pre-compiling just
the
> extensions I need, however the <Location> directive is calling for parsing
> the whole content of the folder. I test this putting the images in an
What about using a Files match like:
<Files ~ "/folder/.*\.html$" >
ASP directives
</Files>
--Josh
________________________________________________________________
Josh Chamas, Founder phone:925-552-0128
Chamas Enterprises Inc. http://www.chamas.com
NodeWorks Link Checking http://www.nodeworks.com
___________________________________________________
Lions Gate Entertainment, Inc. [ AMEX: lgf ]
Five Proud Years, One Independent Spirit.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]