Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. # I'm in a subdomain pointed to a subdirectory called 'subdomain_folder'
  2. # htaccess located in 'subdomain_folder'
  3. # WP is in a subdirectory called 'WP' inside 'subdomain_folder'
  4. # Complete Path: '/home/some-folder/public_html/subdomain_folder/WP
  5.  
  6. SetEnvIf Request_URI "^/WP/wp-content/plugins/plugin-dir/timthumb\.php$" allow
  7.  
  8. AuthType Basic
  9. AuthName "Reserverd Area"
  10. AuthUserFile "/home/some-folder/.htpasswds/public_html/subdomain_folder/passwd"
  11. Require valid-user
  12. Order allow,deny
  13. Allow from env=allow
  14. Satisfy any
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement