Re: Question about Files directive

[prev] [thread] [next] [Date index for 2005/03/02]

From: Tom Schindl
Subject: Re: Question about Files directive
Date: 15:51 on 02 Mar 2005
Goehring, Chuck, RCI - San Diego wrote:
> Jain,
>  
> If you are using mod_perl (Registry) and the bulk of the code can be moved to module files, minimizing of parsing is automatic.  When the code is in modules, only the "top level" script that creates & uses the objects gets compiled each time - the ".pm" files are only parsed once.
>  
> Per the docs at http://httpd.apache.org/docs/mod/core.html#files, "The <Files> directive provides for access control by filename."  This directive is not perl/mod_perl "aware" so is not what you are looking for.  By "access control" they mean security.
>  

Since when is that the case. You can of course use the Files-directive 
to tell Apache that it should not use the default content handler but 
instead your own (e.g. mod_perl,mod_php,...)

<Files ~ "\.fastperl">
     SetHandler perl-script
     PerlHandler My::FastModPerlModule
</Files>

With this directive in use every file ending in .fastperl will be 
handled by my custom-content handler instead of the default one.

Tom

Question about Files directive
Jain, Abhay K, ALABS 14:37 on 02 Mar 2005

Re: Question about Files directive
Sean Davis 14:43 on 02 Mar 2005

RE: Question about Files directive
Jain, Abhay K, ALABS 14:51 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:18 on 02 Mar 2005

Re: Question about Files directive
Carl Johnstone 17:18 on 02 Mar 2005

Re: Question about Files directive
Markus Wichitill 14:56 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 15:00 on 02 Mar 2005

Re: Question about Files directive
Tom Schindl 15:51 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 16:16 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:26 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 16:36 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:43 on 02 Mar 2005

Re: Question about Files directive
Stas Bekman 23:53 on 02 Mar 2005

Re: Question about Files directive
Carl Johnstone 04:34 on 03 Mar 2005

Re: Question about Files directive
Carl Johnstone 20:40 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 01:58 on 03 Mar 2005

Generated at 20:12 on 07 Mar 2005 by mariachi v0.52