[EMAIL PROTECTED] Printing Content-Length in Apache access_log

2008-04-22 Thread Arnab Ganguly
Hi All,
How do I get the content length in the access log.Is there any configuration
I need to do in the httpd.conf file?

Also what is the  "276" value in the line of the access log file
12.246.123.60 - - [04/Apr/2003:13:01:15 -0500] "GET /scripts/root.exe?/c+dir
HTTP/1.0" 404 276 ?
Thanks in advance.
Regards
-A


Re: [EMAIL PROTECTED] Printing Content-Length in Apache access_log

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 10:08 AM, Arnab Ganguly <[EMAIL PROTECTED]> wrote:
> Hi All,
> How do I get the content length in the access log.Is there any configuration
> I need to do in the httpd.conf file?
>
> Also what is the  "276" value in the line of the access log file
> 12.246.123.60 - - [04/Apr/2003:13:01:15 -0500] "GET /scripts/root.exe?/c+dir
> HTTP/1.0" 404 276 ?

Unsurprisingly, your questions are related. 276 is the content length
of the response. In this case, it is the length of the error document
that apache sent along with the 404 status code.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Printing Content-Length in Apache access_log

2008-04-22 Thread Rich Bowen


On Apr 22, 2008, at 10:08, Arnab Ganguly wrote:


Hi All,
How do I get the content length in the access log.Is there any  
configuration I need to do in the httpd.conf file?


Also what is the  "276" value in the line of the access log file  
12.246.123.60 - - [04/Apr/2003:13:01:15 -0500] "GET /scripts/ 
root.exe?/c+dir HTTP/1.0" 404 276 ?

Thanks in advance.


It's the number of bytes transferred - ie, the content length. In  
this case, it was the size of a 404 error document.


For full documentation of the Common Log Format, please see http:// 
httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats and http:// 
httpd.apache.org/docs/2.2/logs.html#accesslog


--
If you miss this moment
You miss your life