CTX109730
Article
2016-04-14
2014-11-27
Q: Is it possible to extract a client IP header for logging on a web server? A: Yes. If you use "Client-IP" as the header to send ...

Question and Answers

Q: Is it possible to extract a client IP header for logging on a web server?

A: Yes. If you use "Client-IP" as the header to send the client IP information, then change the following settings, as required:

  • In Apache web server 2.x, edit the "customLog" file to replace the %a (remote IP) or %h (remote host) parameter with %{Client-IP}i parameter.

  • In iPlanet application server, edit the "magnus.conf" file. Search the "flex-init" function. This function has three parameters, the first is the log file name, the second is the format of the log file, and the third is the logging mode. In the second parameter, replace %Ses->client.ip% with %Req->headers.client-ip%. "Client-IP" header should be specified on the NetScaler with the integration of iPlanet web server.


    Applicable Products


     

    Join the conversation

    Citrix Discussions

    Open a case

    Citrix Support

    特别说明


    本文来源为Citrix.com所有,翻译后版权归翻译者所有.如需转载请注明出处.

    文档版本


    .

    广告招租


    最新留言


    .

    广告招租


    .