Apache configurations

Useful Apache configuration directives

Forbid access to hidden (dot) files and directories

<FilesMatch "^\.">
    Order Deny,Allow
    Deny from All
    Satisfy All
</FilesMatch>
<DirectoryMatch "^.*/\.">
    Order Deny,Allow
    Deny from All
    Satisfy All
</DirectoryMatch>
apache.txt · Last modified: 2011/07/30 16:20 by Toni Corvera
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki