is htaccess on apache 2.0 not the same as in 1.3
hi,
I am using apche 2.0 on redhat 8.0, I configure the httpd.conf to secure some directories I create .htaccess in that directory AuthType Basic AuthName "Password required" AuthUserFile /var/www/html/presse/.htpasswd require valid-user the file /var/www/html/presse/.htpasswd is generated by the htpasswd I do the same thing on apache 1.3 over redhat 7.1 the response is but on redhat 8.0 (apache 2): I get the dialog box for the username and passwd, but when I write the user and passwd it gives the dialog box again, whithout error on passwd it seems that the control is not done ? thank you for help bela |
Are there any suggestions in the Apache error log? Is the .htpasswd file outside of the document tree? I'm sucessfully using exactly the same options for Apache 1.3 and 2.0. Are you setting this in httpd.conf or via .htaccess files? If you've using .htaccess files what "options" are set on the directory?
cheers Jamie... |
Make sure your file permissions are OK. I managed to set up apache 2 in RH 9.0 where the user that apache ran as did not have permission to read the password file I created.
|
htpasswd hasn't permission
thanks for JakeS and JHarris.
jakeS is right !!! the file htpasswd has not the right permission for others. stupid htpasswd !! thank you again bela |
All times are GMT -5. The time now is 06:28 AM. |