TorbHo
Basic Pleskian
Hello,
we used the command
as described in https://support.plesk.com/hc/en-us/articles/17793065826839
After that we have problems, because some code needs to get the visitor's ip address with PHP
or with .htaccess
Is there a solution or workaround to get the visitor's ip address when apache is listening to localhost?
we used the command
Code:
plesk bin apache --listen-on-localhost true
After that we have problems, because some code needs to get the visitor's ip address with PHP
Code:
$_SERVER[ 'REMOTE_ADDR' ]
Code:
Allow from xxx.xxx.xxx.xxx
Is there a solution or workaround to get the visitor's ip address when apache is listening to localhost?