[afnog] FreeBSD, Apache24, mod_python, CGI, Genshi

Frank Habicht geier at geier.ne.tz
Fri Sep 30 05:00:44 UTC 2016


Thanks Patrick.
done it now.

Frank

On 9/29/2016 9:49 PM, Patrick Okui wrote:
> Hi Frank,
> 
> Good to see you got this sorted. One minor nitpick.
> 
> On 14 Sep 2016, at 7:53 EAT, Frank Habicht wrote:
> 
>> [geier at stats2 ~]$ cat /usr/local/www/apache24/data/ulg/.htaccess <FilesMatch "(.pyc|.*~)">
>>   Deny from all
>> </FilesMatch>
> 
> 
> For Apache24 you likely want the “require” directive.	
> 
> <FilesMatch "(.pyc|.*~)">
> 	Require all denied
> </FilesMatch>
> 
> https://httpd.apache.org/docs/2.4/mod/mod_authz_core.html
> 
> Takes time to get used to but works a lot better IMHO than the confusing mess that was “Order”.
> 
> --
> patrick
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.afnog.org/pipermail/afnog/attachments/20160930/fffdc247/attachment.sig>


More information about the afnog mailing list