B bankbass New member Joined Apr 18, 2008 Messages 4 Apr 28, 2008 #1 Apache isn't log anything and bandwidth for apache is 0. in apache log, i found only combined combined combined combined combined combined combined combined any idea? (FreeBSD 6.3 Apache2.0 w/ PHP5) PS : sorry for my bad english.
Apache isn't log anything and bandwidth for apache is 0. in apache log, i found only combined combined combined combined combined combined combined combined any idea? (FreeBSD 6.3 Apache2.0 w/ PHP5) PS : sorry for my bad english.
B bankbass New member Joined Apr 18, 2008 Messages 4 Apr 28, 2008 #2 Problem was solved. By editing httpd.conf <IfModule log_config_module> #replace %b with %O for more accurate logging <IfModule mod_logio.c> LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" c LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%O" bytes LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I </IfModule> CustomLog /var/log/httpd/access_log common </IfModule> to be #<IfModule log_config_module> #replace %b with %O for more accurate logging #<IfModule mod_logio.c> LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" c LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%O" bytes LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I #</IfModule> CustomLog /var/log/httpd/access_log common #</IfModule> ----------------------- I wonder why my apache can't check if the module was loaded or not. I have to force them to use the config by bypassing <ifModule>.
Problem was solved. By editing httpd.conf <IfModule log_config_module> #replace %b with %O for more accurate logging <IfModule mod_logio.c> LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" c LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%O" bytes LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I </IfModule> CustomLog /var/log/httpd/access_log common </IfModule> to be #<IfModule log_config_module> #replace %b with %O for more accurate logging #<IfModule mod_logio.c> LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" c LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%O" bytes LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I #</IfModule> CustomLog /var/log/httpd/access_log common #</IfModule> ----------------------- I wonder why my apache can't check if the module was loaded or not. I have to force them to use the config by bypassing <ifModule>.
nobaloney NoBaloney Internet Svcs - In Memoriam † Joined Jun 16, 2003 Messages 25,086 Location California Apr 28, 2008 #3 Is the log_config_module loaded? Jeff