perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Munoz <fmu...@lgecorp.com>
Subject RE: problems with image rendering
Date Thu, 06 Feb 2003 23:03:15 GMT
I tried that, I must be doing something wrong but it doesn't work, it is not
even parsing anymore.

<Files ~ "/ApplicationFolder/.*\.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
</File>	

-----Original Message-----
From: Josh Chamas [mailto:josh@chamas.com]
Sent: Thursday, February 06, 2003 12:22 PM
To: Fernando Munoz
Cc: 'asp@perl.apache.org'
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: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message