Guest User

Untitled

a guest
May 26th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. # file: /var/www/html/.htaccess
  2.  
  3. # can anyone tell me what's wrong with this code and why it's causing me to get an HTTP 500 error?
  4.  
  5. <Location "/foo">
  6. AuthName "Restricted Area"
  7. AuthType Basic
  8. AuthUserFile /var/www/html/.htpasswd
  9. AuthGroupFile /dev/null
  10. require valid-user
  11. </Location>
  12. <Location "/foo/bar">
  13. Allow from all
  14. Satisfy any
  15. </Location>
Add Comment
Please, Sign In to add comment