Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: user '...' does not meet 'require'ments for user/valid-user |
|
Author |
|
Zeno
Joined: 15 Jan 2014 Posts: 1
|
Posted: Wed 15 Jan '14 17:34 Post subject: user '...' does not meet 'require'ments for user/valid-user |
|
|
I had successfully installed and tested Apache with the following Virtualhost:
Code: | <IfModule mod_ssl.c>
<VirtualHost raspberrypi:443>
ServerAdmin ***
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<Directory /var/www/priv/>
AllowOverride AuthConfig
Order deny,allow
Allow from all
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /etc/apache2/password
Require user mysurname
</Directory>
.... |
Then I decided to change "mysurname" with "noatri" in the VirtualHost:
Code: | Require user noatri |
Of course I have also recreated the password file and restarted Apache.
After that, if I try to connect, connection fails and in error.log I get:
access to /priv/ failed, reason: user 'noatri' does not meet 'require'ments for user/valid-user to be allowed access
Please note that I'm not mistyping the password. In that case I would get:
user noatri: authentication failure for "/priv/": Password Mismatch
It seems that the password is recognized, but some not better defined 'require'ments are not met.
I have tried to clean cookies/cache, to use a different browser, and to reboot the server, with no avail.
I have tried repeatedly to configure Apache to use the old username/password pair and the new one.
Only the old one works.
Any idea?
I'm using:
Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e
on Raspberry Debian |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 18 Jan '14 10:46 Post subject: |
|
|
How did you created the password file? |
|
Back to top |
|
|
|
|
|
|