[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache and backup files



What about adding in default httpd.conf something like this to protect
from reading common editors backup files (index.php~ ...)

<FilesMatch ".*(~|\.bak)$">
    Order allow,deny
    Deny from all
</FilesMatch>


I think it could avoid fresh debian installs (and fresh admins...)
giving us some unwanted web source-code...


Waiting for comments...


-- 
Easter-eggs                                Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -     Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com   -    http://www.easter-eggs.com



Reply to: