Compile-Frage zu Apache2
Posted: 2005-10-27 15:07
Hi.
ich habe ma ne frage zum Compilen von Apache2.
Wenn ich den Apache2 mit folgenden Optionen compile:
dann sollte doch eigentlich die Konfiguration unter /etc/apache2 zu finden sein, oder? So hätte ich es zumindest gerne, jedoch kommt beim starten immer folgender Fehler (zudem befindet sich apachectl nicht in /usr/bin, sondern in /etc/apache2/bin!):
Ein Listing von /etc/apache2 (falls das zur Fehleranalyse hilfreich sein sollte) offenbart mir auch nichts offensichtliches, Config-Files sind jedenfalls da, wo sie sein sollten:
Hat jemand ne Idee, wo ich da nen Fehler gemacht habe? Denn ich habe schon so gut wie alles durchsucht, aber entweder gibt es zu dem Thema nichts zu finden, oder ich hab nach den falschen Begriffen gesucht :o(
gruss, pseudo
ich habe ma ne frage zum Compilen von Apache2.
Wenn ich den Apache2 mit folgenden Optionen compile:
Code: Select all
server:/usr/src/httpd-2.0.55# cat compile.sh
./configure --prefix=/etc/apache2 --exec-prefix=/usr/bin --sysconfdir=/etc/apache2 --enable-so --enable-suexec --with-suexec-caller=wwwrun --with-suexec-docroot=/home/www --with-suexec-logfile=/var/log/apache2/suexec.log --enable-include --enable-headers --enable-usertrack --enable-ssl --enable-info --enable-vhost-alias --enable-speling --enable-rewrite
Code: Select all
server:~# /etc/apache2/bin/apachectl start
httpd: could not open document config file /httpd.conf
Code: Select all
server:/etc/apache2# ls -alFh
total 224K
drwxr-xr-x 18 root root 4.0K Oct 27 13:40 ./
drwxr-xr-x 66 root root 4.0K Oct 27 12:41 ../
-rw-r--r-- 1 root root 2.3K Sep 5 13:16 README
-rw-r--r-- 1 root root 13K Oct 27 01:24 apache2.conf
drwxr-xr-x 2 root root 4.0K Oct 27 13:40 bin/
drwxr-xr-x 2 root root 4.0K Oct 27 13:40 build/
drwxr-xr-x 2 root root 4.0K Oct 27 13:40 cgi-bin/
-rw-r--r-- 1 root root 748 Sep 5 13:10 envvars
drwxr-xr-x 3 root root 4.0K Oct 27 13:40 error/
-rw-r--r-- 1 root root 2.0K Oct 27 13:57 highperformance-std.conf
-rw-r--r-- 1 root root 2.0K Oct 27 13:40 highperformance.conf
drwxr-xr-x 2 root root 4.0K Oct 27 13:40 htdocs/
-rw-r--r-- 1 root root 35K Oct 27 13:57 httpd-std.conf
-rw-r--r-- 1 root root 268 Oct 27 00:33 httpd.conf
drwxr-xr-x 3 root root 4.0K Oct 27 13:40 icons/
drwxr-xr-x 2 root root 4.0K Oct 27 13:40 include/
drwxr-xr-x 2 root root 4.0K Oct 27 13:40 lib/
drwxr-xr-x 2 root root 4.0K Oct 27 13:40 logs/
-rw-r--r-- 1 root root 13K Sep 5 13:16 magic
drwxr-xr-x 4 root root 4.0K Oct 27 13:40 man/
drwxr-xr-x 14 root root 8.0K Oct 27 13:40 manual/
-rw-r--r-- 1 root root 15K Oct 27 13:40 mime.types
drwxr-xr-x 2 root root 4.0K Oct 27 01:21 mods-available/
drwxr-xr-x 2 root root 4.0K Oct 27 13:35 mods-enabled/
drwxr-xr-x 2 root root 4.0K Oct 27 13:40 modules/
-rw-r--r-- 1 root root 10 Oct 27 00:33 ports.conf
drwxr-xr-x 2 root root 4.0K Oct 27 00:33 sites-available/
drwxr-xr-x 2 root root 4.0K Oct 27 00:33 sites-enabled/
-rw-r--r-- 1 root root 11K Oct 27 13:57 ssl-std.conf
-rw-r--r-- 1 root root 11K Oct 27 13:40 ssl.conf
server:/etc/apache2#
gruss, pseudo