Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AuthType Basic
- AuthName "/"
- AuthUserFile "/home/gamingdy/.htpasswds/public_html/passwd"
- require valid-user
- Options +FollowSymlinks
- Options -Indexes
- # Prevent Direct Access to files
- <FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
- Require all denied
- ## For apache 2.2 and older, replace "Require all denied" with these two lines :
- # Order deny,allow
- # Deny from all
- </FilesMatch>
- RewriteEngine On
- RewriteCond %{SERVER_PORT} 80
- RewriteRule ^(.*)$ https://www.gamingdynamics.com/$1 [R,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement