LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ServerRoot on /usr: why? (https://www.linuxquestions.org/questions/slackware-14/serverroot-on-usr-why-565666/)

RobertoBech 06-30-2007 01:45 PM

ServerRoot on /usr: why?
 
Why does slackware sets the ServerRoot in httpd.conf to /usr, unlike most distros that set it to /etc?

I'm just curious, since most logs reside in /var and most configs in /etc.

Nylex 06-30-2007 02:03 PM

Isn't ServerRoot the root directory of your web server? It's not a config file, so why should it go in /etc?

Tux-Slack 06-30-2007 03:26 PM

ServerRoot is where the http daemon is, the executable, not the config, logs or DocumentRoot

Tinkster 06-30-2007 03:30 PM

Actually (according to apache's documentation):
Quote:

# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
in which case both slacks *and* e.g. debians definition would
be wrong ... oh well.


Cheers,
Tink

msantinho 06-30-2007 05:28 PM

http://httpd.apache.org/docs/1.3/mod...tml#serverroot
Quote:

ServerRoot directive
Syntax: ServerRoot directory-path
Default: ServerRoot /usr/local/apache
Context: server config
Status: core

The ServerRoot directive sets the directory in which the server lives. Typically it will contain the subdirectories conf/ and logs/. Relative paths for other configuration files are taken as relative to this directory.


All times are GMT -5. The time now is 08:38 AM.