Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: Accessing CSS,JS and other files

Dileep Eduri

2008-04-16

Replies: Find Java Web Hosting

Author LoginPost Reply

It worked...:jumping:

Thank you...


Michael Peters wrote:
>
> Dileep Eduri wrote:
>
>> When I searched thru' forums, came to know abt the <Files> section, which
>> I
>> can use. But still after studying the documentation, I could not write a
>> proper <Files> section.
>
> You don't need to use a <Files> section.
>
>> PerlModule ModPerl::Registry
>> <Location /perl>
>>   SetHandler perl-script
>>   PerlHandler ModPerl::Registry
>>   Options ExecCGI
>>   allow from all
>>   PerlSendHeader On
>> </Location>
>
> One way is to simply not put the files under /perl :) If you have to do
> that,
> then put them in a different directory. Say /perl/assets? or /perl/css,
> etc.
> Then do something like:
>
> <Location /perl/assets>
>  SetHandler default
> </Location>
>
> --
> Michael Peters
> Plus Three, LP
>
>
>


-----

With Best regards,
Dileep.

***************************************************

--
Sent from the mod_perl - General mailing list archive at Nabble.com.

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.