I searched (briefly) but didn't come across this documented as a post. 
There is a typo in http://web2py.com/books/default/chapter/29/13 at line 27 
of the VirtualHost entry code.

LogFormat "%h %l %u %t "%r" %>s %b" common

Should be

LogFormat "%h %l %u %t \"%r\" %>s %b" common

notice the escaped quotes around the %r

It will generate the following error when you test the configuration:

Syntax error on line 520 of C:/Program Files (x86)/Apache Software Foundation/Ap
ache2.2/conf/httpd.conf:
LogFormat takes 1-2 arguments, a log format string (see docs) and an optional fo
rmat name
Note the errors or messages above, and press the <ESC> key to exit.  21...


-Bill


Reply via email to