Advertisement
Guest User

uploads htaccess

a guest
Nov 11th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. Order Allow,Deny
  2. Deny from all
  3. <FilesMatch "^[^.]+\.(?i:jpe?g|png|gif|pdf|ico|svg|css)$">
  4. Allow from all
  5. </FilesMatch>
  6.  
  7. <FilesMatch "\.(php|php\.)(.+)(\w|\d)$">
  8. Order Allow,Deny
  9. Deny from all
  10. </FilesMatch>
  11.  
  12. <FilesMatch "\.(php|php\.)$">
  13. Order Allow,Deny
  14. Deny from all
  15. </FilesMatch>
  16.  
  17. <FilesMatch "\.(php|pl|py|jsp|asp|htm|shtml|sh|cgi)$">
  18. ForceType text/plain
  19. </FilesMatch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement