We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
.htaccess Order Allow,Dany
.htaccess Order Allow,Dany
Здравствуйте!
Нужно закрыть доступ к каталогу с других IP.
Создал .htaccess :
С IP 1.1.1.1 ошибка 403, как и со всех остальных.
Если создать .htaccess вида:
доступ закрывается только для IP 1.1.1.1
Помогите решить проблему.
Нужно закрыть доступ к каталогу с других IP.
Создал .htaccess :
Code: Select all
order allow,deny
deny from all
allow from 1.1.1.1
Если создать .htaccess вида:
Code: Select all
order allow,deny
deny from 1.1.1.1
allow from all
Помогите решить проблему.
Re: .htaccess Order Allow,Dany
Неточность в первой строке. Сперва нужно все запретить, а потом разрешать частные случаи.
Code: Select all
Order deny,allow
Deny from all
Allow from 111.222.333.4444
Re: .htaccess Order Allow,Dany
Спасибо большое! Казалось пробовал и этот вариант, оказалось нет, так все работает...)