<> "Stephen" == Stephen Turner <[EMAIL PROTECTED]> writes:
Stephen> On 9 Mar 2000, heddy Boubaker wrote:
>> The LOGFORMAT config could not use it because of parenthesis in the format
>> definition, how to solve that please ?
Stephen> Yes it can. Just put
Stephen> APACHELOGFORMAT '%h (%{X-Forwarded-for}e) %l %u %t \"%r\" %s %b ...'
Thanks a lot it works...
>> BTW I would like Analog to use IP addresses from X-Forwarded-for field
>> (the web server is behind a firewall and accessible trough a squid
>> accelerator only) instead of %h field (which is the machine on which the
>> accelerator is running) BUT only if X-Forwarded-for is defined (-
>> elsewhere), some machines have direct access to the web server so the %h
>> is really the client machine. Is there any way to do that w/ analog ?
Stephen> No, it can only look in one field at the moment.
The pb is that because of our configuration the %h field is never the
accessing host when coming from the outside ... so we have no way w/ analog
to make stats from accessing hosts ... is it planned to integrate such a
feature ? Does somebody have any idea of how to use current analog with it ?
Should I have to write an access_log preprocessor or anything similar ?
Thanks in advance
--
- heddy -
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------