sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #40962
Apache ServerRoot direktiv
Jeg kiggede lige /etc/httpd/httpd.conf igennem for at se efter noget helt
andet, og så at ServerRoot direktivet stod til "/usr/local/httpd". Dette
bibliotek ser således ud:
drwxr-xr-x 6 root root 4096 Jul 29 17:21 .
drwxr-xr-x 14 root root 4096 Jul 29 16:30 ..
drwxr-xr-x 4 root root 4096 Jul 29 16:53 cgi-bin
drwxr-xr-x 7 root root 4096 Aug 19 23:56 htdocs
drwxr-xr-x 3 root root 4096 Jul 29 16:50 icons
-rw-r--r-- 1 root root 26 Aug 20 08:20 mod_gzip.id
drwxr-xr-x 2 root root 4096 Jul 29 16:32 php
Burde direktivet ikke stå til "/etc/httpd"? Dette bibliotek indeholder
dette:
drwxr-xr-x 8 root root 4096 Aug 18 23:25 .
drwxr-xr-x 61 root root 8192 Aug 20 20:52 ..
-rw-r--r-- 1 root root 348 Jan 19 2001 access.conf
-rw-r--r-- 1 root root 56115 Aug 19 23:55 httpd.conf
-rw-r--r-- 1 root root 55609 Aug 18 01:49
httpd.conf.SuSEconfig
-rw-r--r-- 1 root root 55605 Aug 17 18:31 httpd.conf~
-rw-r--r-- 1 root root 12441 Jan 19 2001 magic
lrwxrwxrwx 1 root root 13 Jul 29 16:50 mime.types ->
../mime.types
drwxr-xr-x 2 root root 4096 Jan 19 2001 modules
-rw-r--r-- 1 root root 12812 Feb 23 2000 php3.ini
-rw-r--r-- 1 root root 357 Aug 17 19:57 srm.conf
drwxr-xr-x 2 root root 4096 Jul 29 16:50 ssl.crl
drwxr-xr-x 2 root root 4096 Jul 29 16:50 ssl.crt
drwxr-xr-x 2 root root 4096 Jul 29 16:50 ssl.csr
drwx------ 2 root root 4096 Jul 29 16:50 ssl.key
drwxr-xr-x 2 root root 4096 Jul 29 16:50 ssl.prm
-rw-r--r-- 1 root root 2209 Jan 25 2001 susehelp.conf
I kommentarerne i httpd.conf står: "ServerRoot: The top of the directory
tree under which the server's configuration, error, and log files are
kept". SuSE's placering af Apache filerne er ganske vist ikke med
konfigurations- fejl- og log-filer under samme biblioteks-træ, men burde
ServerRoot ikke stå til det træ hvorunder httpd.conf kan findes?
--
Med venlig hilsen / Best regards
David List