I have created a subfolder and wanted to restrict its access to a certain user ("michael_mayer").
# User Michael Mayer
Alias /michael_mayer /var/www/webdav/users/michael_mayer
<Directory /var/www/webdav/users/michael_mayer>
DAV On
AuthType Basic
AuthName "Michael Mayer Directory"
AuthUserFile /etc/apache2/users.password
Require valid-user
</Directory>
#Require valid-user means that everybody with a valid username+pass can access it
<Location /michael_mayer/>
Require michael_mayer
</Location>
However, I can still access the folder
/var/www/webdav/users/michael_mayer
with a different user, so I guess I made a typo or forgot something else.
Could anybody with experience have a look if he sees any error in my script?
Thank you!