- Plesk 11.x for Linux
Apache works with Nginx as proxy. Website's
allow access only from for IPv6 addresses. Accessing website from IPv6 address fails with error:
client denied by server configuration: /var/www/vhosts/domain.tld/httpdocs/index.php
is not properly set.
Add the following lines in the domain's '
SetEnvIf Remote_Addr "2001:777:f8:1::b101:c991" realremoteaddr <== one line per IP
Allow from env=realremoteaddr
If need to provide an access from additional addresses add additional
SetEnvIf Remote_Addr "another_valid_IPv6_address" realremoteaddr
Test it by using
~# curl -v -I http://domain.tld:7080/index.php
* About to connect() to domain.tld: port 7080 (#0)
* Trying 2001:777:f8:1::b101:c991... connected