.htaccess file v etoy papke
Код:
Order deny,allow
Allow from 127.0.0.1
Allow from eshe.odin.ip.adres
Deny from all
AuthType Basic
AuthName "go away"
AuthUserFile /usr/local/etc/apache2/htpasswd
AuthGroupFile /dev/null
Require valid-user
/usr/local/etc/apache2/htpasswd
Код:
user:$2a$04$A3mH0.................qPFjmxxxxxxxxxxxx-skipped
ps: htpasswd delaetsya s pomoshiyu progi htpasswd cherez shell