Advertisement
Guest User

Untitled

a guest
Oct 11th, 2016
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. AuthType Basic
  2. AuthName "/"
  3. AuthUserFile "/home/gamingdy/.htpasswds/public_html/passwd"
  4. require valid-user
  5.  
  6. Options +FollowSymlinks
  7. Options -Indexes
  8.  
  9. # Prevent Direct Access to files
  10. <FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
  11. Require all denied
  12. ## For apache 2.2 and older, replace "Require all denied" with these two lines :
  13. # Order deny,allow
  14. # Deny from all
  15. </FilesMatch>
  16.  
  17. RewriteEngine On
  18. RewriteCond %{SERVER_PORT} 80
  19. RewriteRule ^(.*)$ https://www.gamingdynamics.com/$1 [R,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement