perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] default handler
Date Mon, 03 May 2004 20:36:03 GMT
Udlei Nattis wrote:
> Thanks Stas,
> 
> That is my problem,
> subdirectoy is ok now
> but in directory index problem persist
> exists for example:
> 
>    # Modulo home default
>    $Location{"/"} = {
>        SetHandler  => "modperl",
>        PerlHandler => "eShop::Web::Shop::home",
>        PerlOptions => "+SetupEnv",
>    };
> 
>  >        $Location{"/*"} = { # or != "/"
>  >            SetHandler  => "default-handler",
>  >        };
> 
> because i have /file.js and /file.css
> or i need change all files to one directory in default handler?

I guess something like:

<FilesMatch "*.(js|css)">
     SetHandler  => "default-handler",
</FilesMatch>

You should read the Apache docs. It's not really a mod_perl specific issue.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message