Kod
<VirtualHost *:80>
ServerAdmin webmaster@net4um.net
DocumentRoot /home/ftps/public_html
ServerName ts3.net4um.net
ErrorLog /home/ftps/logs/ts3.net4um.net.com-error_log
CustomLog /home/ftps/logs/ts3.net4um.net-access_log common
<Directory "/home/ftps/public_html">
# AllowOverride All # Deprecated
# Order Allow,Deny # Deprecated
# Allow from all # Deprecated
# --New way of doing it
Require all granted
</Directory>
</VirtualHost>
ServerAdmin webmaster@net4um.net
DocumentRoot /home/ftps/public_html
ServerName ts3.net4um.net
ErrorLog /home/ftps/logs/ts3.net4um.net.com-error_log
CustomLog /home/ftps/logs/ts3.net4um.net-access_log common
<Directory "/home/ftps/public_html">
# AllowOverride All # Deprecated
# Order Allow,Deny # Deprecated
# Allow from all # Deprecated
# --New way of doing it
Require all granted
</Directory>
</VirtualHost>
logi dają to :
Kod
62.43.7.144 - - [16/Jan/2016:22:53:09 +0200] "GET /index.html HTTP/1.1" 403 292
62.43.7.144 - - [16/Jan/2016:22:53:13 +0200] "GET / HTTP/1.1" 403 282
62.43.7.144 - - [16/Jan/2016:22:53:13 +0200] "GET / HTTP/1.1" 403 282
oraz
Kod
[Sat Jan 16 22:53:09 2016] [error] [client 62.43.7.144] (13)Permission denied: access to /index.html denied
[Sat Jan 16 22:53:13 2016] [error] [client 62.43.7.144] (13)Permission denied: access to / denied
[Sat Jan 16 22:53:13 2016] [error] [client 62.43.7.144] (13)Permission denied: access to / denied
Co robię nie tak ?