Hello.
I've got some problems with .htaccess
In the root folder of my site, I've got
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^toto.net
RewriteRule (.*) http://www.toto.net/$1 [R=301,L]
so that toto.net is redirected to
www.toto.net. Ok, it's working.
Now I've got a subfolder called 'test' with this .htaccess
Code:
AuthUserFile /homez.110/toto/www/test/.htpasswd
AuthGroupFile /dev/null
AuthName "Accès Restreint"
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
so that
www.toto.net/test is asking me a username and a password. It's also working.
But ... if i use toto.net/net, it asks me the user/password. Ok.
WAIT! THAT's NOT OKAY with what you've shown! Obviously, the problem is that you're not showing everything.
Then redirect to
www.toto.net/test. Ok. But then ask me a second time the user/password. It seems to be logic but is not what i want. How to avoid the system asking me the second identification ?
Thanks.
Bookmarks