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.)

tcpip: (Default)

[personal profile] tcpip 2009-12-21 02:21 am (UTC)(link)
Thanks Diva. I've just encountered a similar problem.
vampwillow: (servers)

[personal profile] vampwillow 2009-12-21 04:11 pm (UTC)(link)
On the topic of Apache, have you ever managed to create (in httpd.conf) a way of using the *domain* name within an Alias construct (as opposed to just the non-root page request or using rewrite).

I'm trying to find a way to direct different https:// (port 443) domains on the server. Can't use mod-rewrite as the secure stuff comes first, and annoyingly

Alias / /var/wws/{HOST_NAME}/

fails miserably.
denny: Photo of my face in profile - looking to the right (Default)

[personal profile] denny 2009-12-21 04:40 pm (UTC)(link)
cPanel has constantly impressed me with its shockingly poor quality. My first exposure to 'control panel' software was Plesk, which I understood to be a poor man's cPanel, and hence I cheerfully 'upgraded' a few years later (about six months ago) to the real thing. Good lord.

Plesk is a commercial quality product, with (afaict) weaknesses only where you would expect them from any fuzzy hand-holding sysadmin-a-like tool, i.e. a lack of flexibility etc. cPanel is horrible shite cooked up in the bedroom of two-dozen 14 year olds who've basically stuck PHP scripts over the top of various config files and then run off giggling. I'm looking forward to moving back to Plesk, although I fear the process of trying to transfer my user email back across (cPanel had a Plesk import script, I don't think a similar tool exists to go the other way).

(Anonymous) 2009-12-21 01:40 am (UTC)(link)
d00d, you should be starting from a bare OS install, and rolling your own gcc, shouldn't you? (;

[identity profile] hellsop.livejournal.com 2009-12-21 01:40 am (UTC)(link)
Hmm... somehow it logged me out. That was me.