PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem mit Apache_1.3.33 und auth_digest



GreenShadow
10.06.05, 09:56
Guten Morgen euch allen,

ich versuche meinem Apache mit


CFLAGS='-DEAPI' SSL_BASE=../openssl-0.9.7g ./configure --prefix=/usr/local/apache --enable-module=ssl --enable-module=rewrite --enable-shared=max --enable-module=so --enable-module=auth_digest
die Digest Auth beizubringen. Allerdings gibt mir nach make all und make install ein httpd -l folgendes aus:

root@server:/usr/local/src/apache_1.3.33# httpd -l
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
root@server:/usr/local/src/apache_1.3.33#

Ich sehe mod_digest nicht?
Nebenbei: Wie würde ich denn suexec deaktivieren? Es gibt ja kein --disable-suexec.

Meine error_log sagt auch ganz klar:


[Fri Jun 10 10:51:48 2005] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7g PHP/5.0.4 configured -- resuming normal operations
[Fri Jun 10 10:51:48 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Jun 10 10:53:36 2005] [alert] [client 192.168.0.1] /usr/local/apache/htdocs/data/.htaccess: Invalid command 'AuthDigestFile', perhaps mis-spelled or defined by a module not included in the server configuration

Warum frißt Apache mod_digest nicht? Weiss jemand weiter?

Vielen Dank euch allen :)

GreenShadow
11.06.05, 12:48
Ich weiss zwar nicht, warum mir hier keiner antwortet aber ich poste nur zum Spaß mal ein paar Details...

Apache configurieren:

root@server:/usr/local/src/apache_1.3.33# CFLAGS='-DEAPI' SSL_BASE=../openssl-0.9.7g \
./configure --prefix=/usr/local/apache \
--enable-module=ssl \
--enable-shared=ssl \
--enable-module=rewrite \
--enable-shared=max \
--enable-module=so \
--enable-module=auth_digest \
--enable-shared=auth_digest

Configuring for Apache, Version 1.3.33
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
disabling DBM support for mod_rewrite
(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
o digest_auth_module uses ConfigStart/End
using /dev/random for the random seed
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.8.22
+ SSL interface build type: DSO
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Built-in SDBM
+ SSL library path: /usr/local/src/openssl-0.9.7g
+ SSL library version: OpenSSL 0.9.7g 11 Apr 2005
+ SSL library type: source tree only (stand-alone)
+ enabling Extended API (EAPI)
+ using builtin Expat
+ using -ldl for vendor DSO support
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/experimental
Creating Makefile in src/modules/ssl

root@server:/usr/local/src/apache_1.3.33#

Im Anschluss rennt ein "make all && make install" ohne Fehler komplett durch.

Doch siehe da....


root@server:~# httpd -l
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
root@server:~#

Er lädt mod_digest.c (?) nicht, folglich kennt er auch die Syntax "AuthDigestFile" nicht, was in meiner error_log folgendermaßen auftaucht:


[Sat Jun 11 13:45:41 2005] [alert] [client 192.168.0.1] /usr/local/apache/htdocs/data/.htaccess: Invalid command 'AuthDigestFile', perhaps mis-spelled or defined by a module not included in the server configuration

Edit:

In der httpd.conf tauchen folgende Zeilen bei den Modulen auf:


LoadModule digest_auth_module libexec/mod_auth_digest.so
Sowie:

AddModule mod_auth_digest.c


root@server:~# apachectl configtest
Syntax OK
root@server:~#

Weiss jemand weiter? :)