Dzen
Новичок
Приветствую,
А почему при такой конструкции и при не прохождении авторизации, не перебрасывает на тест.ру по 401?? А видим стандартную страницу:
Authentication required!
This server could not verify that you are authorized to access the URL....
If you think this is a server error, please contact the webmaster.
Error 401
А почему при такой конструкции и при не прохождении авторизации, не перебрасывает на тест.ру по 401?? А видим стандартную страницу:
Authentication required!
This server could not verify that you are authorized to access the URL....
If you think this is a server error, please contact the webmaster.
Error 401
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
ErrorDocument 401 http://www.test.ru
AuthUserFile /..../.htpasswd
AuthType Basic
Require valid-user