On Sun, 1 Dec 2002, Alfred wrote: > Can someone help me please, > > My server is running on Apache > I can't get the correct log format. > My hosting support replied the below as the log format they use: > > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > combined > LogFormat "%h %l %u %t \"%r\" %>s %b" common > LogFormat "%{Referer}i -> %U" referer > LogFormat "%{User-agent}i" agent > > But all still gives me error. > I also tried replacing LogFormat with ApacheLogFormat >
APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") (all on one line) should work. Make sure it's above the LOGFILE command. -- Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/ "Reserve your 2 hour delivery time, which means you'll see the same special offers as you would instore" - Sainsbury's internet shopping instructions +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/analog-help@lists.isite.net/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------