AlkatraZ
Basic Pleskian
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel v11.5.29_build115130607.20 os_Ubuntu 12.04
PROBLEM DESCRIPTION
The problem is that if Nginx on, Apache [remote_addr] does not show client IP, instead shows its own (server IP).
STEPS TO REPRODUCE
1) Create any domain
2) Put it in a Domain Document Root simple index.php file:
<?php
echo '<pre>';
print_r($_SERVER);
echo '</pre>';
6) Go from the browser to the address of the domain and see the values of the displayed variables...
ACTUAL RESULT
[REMOTE_ADDR] must show the address of the client, but instead it shows the server address.
EXPECTED RESULT
[SERVER_ADDR] as expected, shows the server IP address
[REMOTE_ADDR] must show the address of the client
Because of the disturbed many PHP scripts that actively use $_SERVER['REMOTE_ADDR']
ANY ADDITIONAL INFORMATION
The same problem was on PLESK 11.09 but then the developers have corrected.
http://forum.parallels.com/showthre...ther-programs&highlight=$_SERVER['REMOTE_ADDR
Parallels Plesk Panel v11.5.29_build115130607.20 os_Ubuntu 12.04
PROBLEM DESCRIPTION
The problem is that if Nginx on, Apache [remote_addr] does not show client IP, instead shows its own (server IP).
STEPS TO REPRODUCE
1) Create any domain
2) Put it in a Domain Document Root simple index.php file:
<?php
echo '<pre>';
print_r($_SERVER);
echo '</pre>';
6) Go from the browser to the address of the domain and see the values of the displayed variables...
ACTUAL RESULT
[REMOTE_ADDR] must show the address of the client, but instead it shows the server address.
EXPECTED RESULT
[SERVER_ADDR] as expected, shows the server IP address
[REMOTE_ADDR] must show the address of the client
Because of the disturbed many PHP scripts that actively use $_SERVER['REMOTE_ADDR']
ANY ADDITIONAL INFORMATION
The same problem was on PLESK 11.09 but then the developers have corrected.
http://forum.parallels.com/showthre...ther-programs&highlight=$_SERVER['REMOTE_ADDR