incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Ananich <anton.anan...@inpun.com>
Subject Re: Custom log format
Date Fri, 01 Mar 2013 14:23:31 GMT
That could become a part of solution. Thank you!

On Fri, Mar 1, 2013 at 4:28 PM, Elisiano Petrini <elisiano@gmail.com> wrote:
> As per http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers
> Apache set a X-Forwarded-For header with the IP address of the client.
>
> Now, how you can read this from CouchDB I have no idea.
>
> Cheers, Elisiano
>
> On Fri, 2013-03-01 at 16:13 +0300, Anthony Ananich wrote:
>> I was thinking on this as well, but here are also some disadvantages,
>> for sample I have to track user's public IP address for identifying
>> country of residence. That becomes impossible with proxying as far as
>> I know.
>>
>> On Fri, Mar 1, 2013 at 3:54 PM, Nils Breunese <N.Breunese@vpro.nl> wrote:
>> > Anthony Ananich wrote:
>> >
>> >> CouchDB does not record logged in user, User Agent, etc. So I can
>> >> configure AWStats for sure, but that will not give me a chance to get
>> >> to know which browsers do users use. That's just one example.
>> >
>> > You could maybe use Apache httpd as a reverse proxy for CouchDB: http://wiki.apache.org/couchdb/Apache_As_a_Reverse_Proxy
>> >
>> > Nils.
>
>

Mime
View raw message