Advertisement
Denisle

.htaccess

May 24th, 2022
2,271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.51 KB | None | 0 0
  1. # Section for Apache 2.4 to 2.6
  2. <IfModule mod_authz_core.c>
  3.   Require all denied
  4. </IfModule>
  5. <IfModule mod_access_compat.c>
  6.   Order Allow,Deny
  7.   Deny from all
  8.   Satisfy All
  9. </IfModule>
  10.  
  11. # Section for Apache 2.2
  12. <IfModule !mod_authz_core.c>
  13.   <IfModule !mod_access_compat.c>
  14.     <IfModule mod_authz_host.c>
  15.       Order Allow,Deny
  16.       Deny from all
  17.     </IfModule>
  18.     Satisfy All
  19.   </IfModule>
  20. </IfModule>
  21.  
  22. # Section for Apache 2.2 to 2.6
  23. <IfModule mod_autoindex.c>
  24.   IndexIgnore *
  25. </IfModule>
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement