httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaustubh Deorukhkar <kaustubh....@gmail.com>
Subject Re: [users@httpd] HTTPD Logwatch
Date Fri, 25 Dec 2009 05:37:20 GMT
I am naive user..but this is what comes to my mind...please see if this
helps

- create seperate logs per website...

SetEnvIf Referer www\.mydomain1\.com site1_request
CustomLog logs/mydomain1_log common env=site1_request

SetEnvIf Referer www\.mydomain2\.com site2_request
CustomLog logs/mydomain2_log common env=site2_request
...


Regards,
kaustubh

On Fri, Dec 25, 2009 at 5:43 AM, André Warnier <aw@ice-sa.com> wrote:

> Asai wrote:
>
>> I manage about 20 websites.  So I need to see which ones are reporting
>> which things.  I've checked the custom log in the past, it didn't do what I
>> wanted, but perhaps I didn't understand what I was doing--which is quite
>> likely.
>>
>
> Maybe you want to explain what you mean by "logwatch" then ?
> If this is a separate program from the Apache httpd suite, do not assume
> anyone here knows what you are talking about.
>
> As indicated below, you can change the format of the CustomLog to include
> pretty much anything you want.  Did you actually go look at these pages ?
>
>
>
>> André Warnier wrote:
>>
>>> Asai wrote:
>>>
>>>> Greetings,
>>>>
>>>> Is there a way which I can expand the logwatch entries for httpd which
>>>> will allow me to view the entire domain name instead of just the relative
>>>> uri?  Like I have /this/page instead of www.mysite.com/this/page.
>>>>
>>>>  Can you explain what would be the point ?
>>> Presumably, if clients access your site, you already know the name of the
>>> site, no ?
>>>
>>> Or maybe you want to look at this page :
>>> http://httpd.apache.org/docs/2.2/mod/directives.html
>>> and lookup the "CustomLog" and "LogFormat" directives.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message