[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Password Mismatch.



На хостинге mod_rewrite реврайтит /admin/ на другую страницу, без авторизации 
всё работает прекрастно. 
С паролем apache в лог пишет authentication failure for "/admin/": Password 
Mismatch.

Вот пример .htaccess
AuthName "Authentication required"
AuthType Basic
        <Limit GET POST>
                require valid-user
        </Limit>
AuthUserFile /path_to_file/.htpasswd

RewriteEngine On
RewriteBase /

RewriteCond %{ReQUEST_URI} !/com/.*

RewriteCond %{ReQUEST_URI} !/proj/.*

# php_value  auto_prepend_file /path/bin/core.inc

RewriteRule ^(.+)$ index.php

Reply to: