reddragdiva: (Default)
[personal profile] reddragdiva

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

(no subject)

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

(no subject)

Date: 2009-12-21 04:11 pm (UTC)
vampwillow: (servers)
From: [personal profile] vampwillow
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.

(no subject)

Date: 2009-12-21 04:43 pm (UTC)
denny: Photo of my face in profile - looking to the right (Default)
From: [personal profile] denny
mod_vhost_alias ?

(no subject)

Date: 2009-12-21 04:55 pm (UTC)
vampwillow: (Default)
From: [personal profile] vampwillow
iirc that one also suffered from the do-security-before-knowing-which-domain issue, but I might try coding it and seeing if it actually blows up or works. I've found a few things already which the manual says don't work but in practice seem to do so

(no subject)

Date: 2009-12-21 05:01 pm (UTC)
denny: Photo of my face in profile - looking to the right (Default)
From: [personal profile] denny
Ah, yes. Um. Isn't that a fairly hard limit until Apache 2.2? I don't remember the details, but something about the domain name being inside the encrypted stuff by design.
vampwillow: (Default)
From: [personal profile] vampwillow
which is, en effet, what I am trying to manufacture a method to produce ;-P

(no subject)

Date: 2009-12-24 02:01 am (UTC)
vampwillow: Warranty: Void if Removed (picture of knickers) (warranty)
From: [personal profile] vampwillow
"We can but hope"

(no subject)

Date: 2009-12-21 05:11 pm (UTC)
vampwillow: (Default)
From: [personal profile] vampwillow
it is - allegedly - a design intention that you only have one secure domain per IP address, and thus mod-rewrite can't work as at the point the instruction is reached the domain name isn't actually known! Me, I run my own servers and want to try and find a way around it other than using multiple ports (one per secure site but people need to know in advance) or a structure which use Alias to put each in a separate directory (which would be accessible by "../" etc so not secure really)

(no subject)

Date: 2009-12-21 04:52 pm (UTC)
vampwillow: (Default)
From: [personal profile] vampwillow
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.

(no subject)

Date: 2009-12-21 04:59 pm (UTC)
vampwillow: (Default)
From: [personal profile] vampwillow
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.

(no subject)

Date: 2009-12-21 05:14 pm (UTC)
vampwillow: (Default)
From: [personal profile] vampwillow
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.

(no subject)

Date: 2009-12-21 04:40 pm (UTC)
denny: Photo of my face in profile - looking to the right (Default)
From: [personal profile] denny
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).

(no subject)

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

(no subject)

Date: 2009-12-21 11:59 am (UTC)
From: [identity profile] topbit.livejournal.com
You mean FromScratch, or Gentoo (GD&R).

We hates cpanel, we do.

(no subject)

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

March 2022

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags