perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Chamas <j...@chamas.com>
Subject Re: problems with image rendering
Date Fri, 07 Feb 2003 00:48:57 GMT
Fernando Munoz wrote:
> I tried that, I must be doing something wrong but it doesn't work, it is not
> even parsing anymore.
> 

The syntax for the Files regexp is probably wrong then, check
out what might work better in the apache manuals.

   http://httpd.apache.org/docs/mod/core.html#files

Its probably the .* that should be just *

--Josh


> <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