reddragdiva: (Default)
divabot ([personal profile] reddragdiva) wrote2009-12-21 12:50 am

Apache on cPanel weirdness: "combined combined combined."

If you have this problem, where you can't get anything out of awstats and it turns out to be because your Apache logs contain nothing but the word "combined", once per line, over and over — this is because cPanel b0rked your httpd.conf and left out the LogFormat lines. Apache then presumes the word "combined" at the end of the CustomLog line is not a direction on how to log, but the actual log format. Cut'n'paste them from httpd.conf.orig and somehow beat cPanel into putting them into its RCS.

(cPanel is source-available proprietary software to make LAMP stupid. Our host is at the stage where I'm very glad I have years of expertise beating Apache around, and sudo.)

vampwillow: (Default)

[personal profile] vampwillow 2009-12-21 04:52 pm (UTC)(link)
When you first mentioned macro I took a look at it but found it wouldn't co-exist with something or other (will have to check again what the issue was) so I couldn't use it.
vampwillow: (Default)

[personal profile] vampwillow 2009-12-21 04:59 pm (UTC)(link)
found it. the module requires apxs to compile and install. To use apxs your apache must support DSO httpd binary has to be built with the mod_so module, which mine isn't (Ubuntu variant) so I couldn't use the apxs which meant I couldn't install it.
vampwillow: (Default)

[personal profile] vampwillow 2009-12-21 05:14 pm (UTC)(link)
seems not. Default ubuntu server install doesn't use them in the same way. I've found [http://ubuntuforums.org/showthread.php?t=1145086 this] though which talks about compiling apache from source to do so. Not sure it is best way to go though.