Добрый день.
Мы стали использовать Akamai для отдачи статики.
Схема такая: Client -- Akamai -- Site
Клиенту нужен файл - он попадает на Akamai, Akamia идёт на Site, забирает файл и отдаёт клиенту.
Я в логах вижу лишь обращения Akamai, а не клиента. Но Akamai может дать мне IP клиента.
[quote]
- True Client IP Header
This is an advanced option. This can be useful if your application processes
incoming requests to obtain the client IP address. When your application is
delivered through Akamai, the end-user client IP data may not be available
in an X-Forwarded-For header.
The True Client IP option provides for creating a custom header, “True-Client-
IP,” the value of which is the true client IP address.
If desired, you can create a header with a different custom name to contain
the same client IP address information as the X-Forwarded-For header did
before Akamai processing. Of course, the name you create should not be the
same as well-known HTTP or other Akamai headers.
[/quote]
Как я могу в свой access log записать этот IP, т.е. как мне записать этот заголовок True Client IP Header в лог ?
Спасибо.