perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <gyo...@laserlink.net>
Subject RE: [RFC] Apache::BlockSymLinks 0.1
Date Fri, 02 Feb 2001 18:37:29 GMT


> -----Original Message-----
> From: Charles John Brabec [mailto:brabec@mosa.unity.ncsu.edu]
> Sent: Friday, February 02, 2001 12:48 PM
> To: modperl@apache.org
> Subject: [RFC] Apache::BlockSymLinks 0.1
> 
> 
[snip]
> 
> I called the module Apache::BlockSymLinks since it is based on
> Apache::BlockAgent. The code can be downloaded from:
>   
> http://mosa.unity.ncsu.edu/brabec/dist/Apache-BlockSymLinks-0.1.tar.gz
> and the manpage is online at:
>   http://mosa.unity.ncsu.edu/brabec/dist/BlockSymLinks.html
> 
> I'm considering adding this module to CPAN and/or the APML, so I'm
> looking for comments. Specifically,
>    is this useful to others?
>    have I reinvented the wheel? 
>    any suggestions for additions or modifications?

I'm not sure that I'll ever have a need for it, but it's a neat idea.  

you may want to look into Apache::ModuleConfig to see how you can create
directives without the need for a separate config file.

for instance:
SymLinkRule Deny .*

it's pretty easy and probably a bit cleaner in this case (since I suspect
that you moved to a config file since PerlSetVar just didn't fit the bill
for the syntax you wanted). just see chapter 8 of the Eagle book

for Apache modules, once you have the (rather loose) approval of the list,
you can submit to upload to PAUSE without officially registering your
module... just announce it here and (separatly) submit a patch to the module
list (apache-modlist.html from cvs)

--Geoff

> 
> Thanks,
> Charles
> 
> -- 
> Dr. Charles J. Brabec  | He wants me to be clever. Worse, he 
> wants me to be
> Web Systems Programmer | seen to be clever by everyone here. -- Miles
> brabec@ncsu.edu        | Vorkosigan (L.M. Bujold)
> PH 919.513.0171        |
> 

Mime
View raw message