Help - Search - Members - Calendar
Full Version: .htpasswd Problems?
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
Zac_web
I am having problems protecting a directory on my site using .htpasswd. It throws me a 401 Authorization Required even when I enter the correct password three times. Is this a known problem, or is there a porblem with my config?

.htaccess:
CODE
AuthType Basic
AuthName "Restricted Access"
AuthUserFile /admin/.htpasswd
Require user admin


.htpasswd
CODE
admin:---password scrawled up by a .htpasswd generator---
Ed
Try an absolute path for 'AuthUserFile'.

If my domain were 'mydomain.vndv.com':
CODE
AuthUserFile /www/vndv/m/y/d/mydomain/htdocs/admin/.htpasswd
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.