AlkatraZ
Basic Pleskian
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
OS: Ubuntu 14.04 LTS (x64)
Plesk version: 12.0.18 Update #6
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
[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 previous versions, but then the developers have corrected.
http://forum.parallels.com/showthread.php?287804-PLESK-11-5-Nginx-IP-problem
OS: Ubuntu 14.04 LTS (x64)
Plesk version: 12.0.18 Update #6
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
[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 previous versions, but then the developers have corrected.
http://forum.parallels.com/showthread.php?287804-PLESK-11-5-Nginx-IP-problem