Hello web2py universe,

does anybody have experience with a staging setup through apache
mod_auth_basic or mod_auth_digest?
I want to have some beta testers run a prototype. After entering
username and password they should be able to use the app just as
normal with internal authentication and so on.

The setup-web2py-ubuntu.sh deploy script worked like a charm :))
Then I filled in the empty /etc/apache2/httpd.conf

<Directory /home/www-data/web2py>
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /etc/apache2/passwords
Require user tester1 tester2
</Directory>

and the "passwords" file is
tester1:pwd1
tester2:pwd2

Now I get a dialog for user and password.
But after entering the credentials apache keeps asking again and again
for them.
Any ideas what I'm missing?

Thank you.
Regards
 czamb

Reply via email to