config apache without suexec

Naughty Sheep

Verified User
Joined
Jul 15, 2004
Messages
12
tried to config apache without suexec and frontpage since i want to use suPHP and who the **** use that frontpage crap ;)

configure.apache_ssl:
Code:
#!/bin/sh
./configure \
        --with-apache=../apache_1.3.31 \
        --with-ssl=/usr \
        --prefix=/etc/httpd \
        --exec-prefix=/etc/httpd \
        --bindir=/usr/bin \
        --sbindir=/usr/sbin \
        --sysconfdir=/etc/httpd/conf \
        --enable-module=all \
        --enable-module=ssl \
        --enable-shared=max \[b]
        --enable-suexec \
        --suexec-docroot=/ \
        --suexec-caller=apache \
        --suexec-userdir=public_html \[/b]
        --includedir=/usr/include/apache \
        --libexecdir=/usr/lib/apache \
        --datadir=/var/www \
        --iconsdir=/var/www/icons \
        --htdocsdir=/var/www/html \
        --manualdir=/var/www/html/manual \
        --cgidir=/var/www/cgi-bin \
        --localstatedir=/var \
        --runtimedir=/var/run \
        --logfiledir=/var/log/httpd \
        --proxycachedir=/var/cache/httpd \
        --with-perl=/usr/bin/perl \[b]
        --add-module=mod_frontpage.c \[/b]
        --disable-module=auth_db --disable-module=auth_dbm

removed the bold lines

now i get the following error:
Code:
Configuring for Apache, Version 1.3.31
 + 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 dbm_auth_module uses ConfigStart/End
    o db_auth_module uses ConfigStart/End
Error: None of Berkeley-DB 1.x, 2.x or 3.x libraries found.
       Either disable mod_auth_db or provide us with the paths
       to the Berkeley-DB include and library files.
       (Hint: INCLUDES, LDFLAGS, LIBS)
./configure:Error: APACI failed
/usr/local/directadmin/customapache/configure.apache_ssl: line 25: --disable-module=auth_db: command not found

*** There was an error while trying to configure apache+mod_ssl. Check the configure.apache_ssl file

full file works fine

what does auth_db do? or how to i config apache without suexec?

removing --disable-module=auth_db --disable-module=auth_dbm give the same error
 
Back
Top