Views: 942 (Data available since 06.02.2017)
Last Modified: 10.10.2012
Pass the real IP address from front-end to back-end for proper statistics tracking. SQUID declares the HTTP_X_FORWARDED_FOR variable. To use this value, add the following code to /bitrix/php_interface/dbconn.php:
Note! This handler is not required if mod_realip is used. If this is the case, add "RealIP 127.0.0.1" or other back-end address to the server configuration file (httpd.conf) to have Apache rewrite the address.
Disable KeepAlive in the back-end Apache configuration. Since front-end usually runs at the same machine, faster release of resources will result in the performance gain.