67mustang
12-18-04, 10:27 PM
After writing, uploading, correcting an reuploading dozens of .htaccess files, I still cannot get the admin panel to request my username and password. I've tried to do it exactly like stevel showed me (actually did for me) for another Web site but still cannot get it to work.
Here's what I have in .htaccess:
AuthUserFile /www/i/s/imstupid.com/etc/.htpasswd
AuthGroupFile /dev/null
AuthName "protected page"
AuthType Basic
require valid-user
I have the real username in the AuthUserFile, not imstupid, which would be more appropriate right now.
.htpasswd is uploaded to the etc directory.
.htaccess and .htpasswd are text documents. I'm working in Dreamweaver and writing the files in code view, which says they are indeed text documents.
Thanks for your help.
Here's what I have in .htaccess:
AuthUserFile /www/i/s/imstupid.com/etc/.htpasswd
AuthGroupFile /dev/null
AuthName "protected page"
AuthType Basic
require valid-user
I have the real username in the AuthUserFile, not imstupid, which would be more appropriate right now.
.htpasswd is uploaded to the etc directory.
.htaccess and .htpasswd are text documents. I'm working in Dreamweaver and writing the files in code view, which says they are indeed text documents.
Thanks for your help.