Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] Custom log style - osx server/ Summary




I've got the Custom Log set up the way Summary needs it. (Using 
Combined format)

I've got a problem with Error logging now.

I've got Apache serving a custom error document:
ErrorDocument 404 /error.html

Sadly on WebStar serving a custom error page produced a 404 in the 
log, while under Apache it produces a 200 instead. (in Combined 
format)
142.166.53.3 - - [08/May/2003:11:19:46 -0300] "GET /progr/ams/ 
HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) 
AppleWebKit/73 (KHTML, like Gecko) Safari/73"

I know Apache knows about the error because I haven't turned off the 
osx server Error logs yet and the standard error log knows there is a 
problem:
[Thu May  8 11:19:46 2003] [error] [client 142.166.53.3] File does 
not exist: /Library/WebServer/vhosts/site/progr/ams/

I read:
http://httpd.apache.org/docs/mod/mod_log_config.html
and I think the problem in in %>s

The Summary manual says to use Combined Format:
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""

If I edit it a bit:
Combined format with initial  Status
"%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""

Will Summary be just as happy with that?

	Cameron .:.



-- 
--
Tantramar Interactive Inc.
http://www.TantramarInteractive.com/
16 Lorne St., Unit 3, Sackville, NB  E4L 3Z7
Phone (506) 364-1097  Fax (506) 536-2409
-------------
Go to <http://summary.net/list.html> to update subscription info.