Guest User

Untitled

a guest
Jun 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. ## Note: The final RewriteCond must NOT use the [OR] flag.
  2. ## Return 403 Forbidden error.
  3. RewriteRule .* - [F]
  4.  
  5. ## Protect sensitive files from client-side viewing.
  6. <FilesMatch "^(wp-config\.php|php\.ini|php5\.ini|install\.php|php\.info|readme\.html|bb-config\.php|\.htaccess|readme\.txt|timthumb\.php|error_log|error\.log|PHP_errors\.log|\.svn)">
  7. Deny from all
  8. </FilesMatch>
Add Comment
Please, Sign In to add comment