lovingboth: (Default)
[personal profile] lovingboth
One of the best ways to get the Apache webserver to fail to start is to ask it to have a logfile in a directory that doesn't exist. I suspect every user has been caught by this at least once.

This 'feature' has doubtless cost users thousands of hours work, not least as it won't tell you exactly why it's not starting (or at least 1.3 via webmin doesn't, they may have fixed this in 2.x) or ask if you want to create the directory or any other useful response.

But... if you ask it to serve webpages from a non-existent directory, it'll start up happily, and not moan or give any hint as to what's (not) happening.
ext_5939: (nerd)
From: [identity profile] bondagewoodelf.livejournal.com
We have a check script that runs over the httpd.conf file before trying to stop, restart or start apache. If the logfile location is missing, it does not want to stop/restart/start unless you give it a force option. We also get a warning if a non-existing document-root is present in the current httpd.conf, but it starts/stops/restarts nonetheless.

(no subject)

Date: 2005-12-14 03:26 pm (UTC)
From: [identity profile] mattp.livejournal.com
I've been bitten by the missing log file directory, and many of the clients of employer[current-2] had it happen to them

I'm sure I've seen a "DocumentRoot does not exist" error in the past.

Profile

lovingboth: (Default)
Ian

July 2025

S M T W T F S
  12345
6 789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Active Entries

Style Credit

Expand Cut Tags

No cut tags