Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # I'm in a subdomain pointed to a subdirectory called 'subdomain_folder'
- # htaccess located in 'subdomain_folder'
- # WP is in a subdirectory called 'WP' inside 'subdomain_folder'
- # Complete Path: '/home/some-folder/public_html/subdomain_folder/WP
- SetEnvIf Request_URI "^/WP/wp-content/plugins/plugin-dir/timthumb\.php$" allow
- AuthType Basic
- AuthName "Reserverd Area"
- AuthUserFile "/home/some-folder/.htpasswds/public_html/subdomain_folder/passwd"
- Require valid-user
- Order allow,deny
- Allow from env=allow
- Satisfy any
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement