Может кто-то поможет... парюсь с АПАЧЕ, нужно сделать так, что бы на одну директорию сайт спрашивал пароль, но что бы разрешал свободный вход для ЛОКАЛ ХОСТ т.е. 127.0.0.1
вот что я прописываю в .htaccess:
Код:
AuthUserFile /usr/home/eloi/htpasswd
AuthName "Password Protected Area"
AuthType Basic
< Limit GET POST>
order deny,allow
deny from all
allow from 127.0.0.1
require testuser
< /Limit>
Как только добавляю "deny" или "allow" сервер говорит что "Internal Server Error". в логе vвот что пишется:
Код:
[Fri Feb 04 18:00:49 2005] [alert] [client 209.113.188.78] /var/www/html/daremightythings/intranet/.htaccess: deny not allowed here
[Fri Feb 04 18:00:55 2005] [alert] [client 209.113.188.78] /var/www/html/daremightythings/intranet/.htaccess: deny not allowed here
[Fri Feb 04 18:01:15 2005] [alert] [client 209.113.188.78] /var/www/html/daremightythings/intranet/.htaccess: allow not allowed here
шо делать