1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

Fixed the configure script to add a LoadModule directive to

the default httpd.conf for any module that was compiled
as a DSO.

Submitted by:	Aaron Bannert <aaron@clove.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91415 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Bloom
2001-10-11 03:42:53 +00:00
parent e3d203298e
commit 705737ea79
5 changed files with 37 additions and 35 deletions

View File

@@ -1,5 +1,9 @@
Changes with Apache 2.0.26-dev
*) Fixed the configure script to add a LoadModule directive to
the default httpd.conf for any module that was compiled
as a DSO. [Aaron Bannert <aaron@clove.org>]
*) rewrite mod_ssl input filtering to work with the new input filtering
system. [Justin Erenkrantz]

View File

@@ -36,9 +36,31 @@ install-conf:
done; \
for i in *-std* ldap.conf proxy.conf ssl.conf; do \
[ -f $$i ] || continue; \
sed -e 's#@@ServerRoot@@#$(prefix)#g' \
-e 's#@@Port@@#$(PORT)#g' \
< $$i > $(sysconfdir)/$$i; \
( \
n_lm=`awk 'BEGIN {n=0} /@@LoadModule@@/ {n+=1} END {print n}' < $$i`; \
if test $$n_lm -eq 0 -o "x$(DSO_MODULES)" = "x"; then \
sed -e 's#@@ServerRoot@@#$(prefix)#g' \
-e 's#@@Port@@#$(PORT)#g' \
-e '/@@LoadModule@@/d' \
< $$i; \
else \
sed -n -e '/@@LoadModule@@/q' \
-e 's#@@ServerRoot@@#$(prefix)#g' \
-e 's#@@Port@@#$(PORT)#g' \
-e 'p' \
< $$i; \
for j in $(DSO_MODULES) "^EOL^"; do \
if test $$j != "^EOL^"; then \
echo "LoadModule $${j}_module modules/mod_$${j}.so"; \
fi; \
done; \
sed -e '1,/@@LoadModule@@/d' \
-e '/@@LoadModule@@/d' \
-e 's#@@ServerRoot@@#$(prefix)#g' \
-e 's#@@Port@@#$(PORT)#g' \
< $$i; \
fi \
) > $(sysconfdir)/$$i; \
chmod 0644 $(sysconfdir)/$$i; \
file=`echo $$i|sed s/-std//`; \
if [ "$$file" = "httpd.conf" ]; then \

6
STATUS
View File

@@ -1,5 +1,5 @@
APACHE 2.0 STATUS: -*-text-*-
Last modified at [$Date: 2001/10/11 01:49:21 $]
Last modified at [$Date: 2001/10/11 03:42:53 $]
Release:
@@ -83,10 +83,6 @@ RELEASE SHOWSTOPPERS:
to make it agree with the operation of the StartServers
directive.
* Fix the configure script to add a LoadModule directive to
the default httpd.conf for any module that was compiled
as a DSO.
* revamp the input filter semantics, per discussions since
February (and especially at the hackathon last
April). Specifically, ap_get_brigade will return a brigade with

View File

@@ -94,6 +94,7 @@ AC_DEFUN(APACHE_GEN_CONFIG_VARS,[
APACHE_SUBST(SH_LIBTOOL)
APACHE_SUBST(MK_IMPLIB)
APACHE_SUBST(INSTALL_PROG_FLAGS)
APACHE_SUBST(DSO_MODULES)
abs_srcdir="`(cd $srcdir && pwd)`"
@@ -259,7 +260,9 @@ AC_DEFUN(APACHE_MODULE,[
shared*)
enable_$1=`echo $ac_n $enable_$1$ac_c|sed 's/shared,*//'`
sharedobjs=yes
shared=yes;;
shared=yes
DSO_MODULES="$DSO_MODULES $1"
;;
*)
MODLIST="$MODLIST ifelse($4,,$1,$4)"
if test "$1" = "so"; then

View File

@@ -193,32 +193,9 @@ Listen @@Port@@
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_db_module modules/mod_auth_db.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule info_module modules/mod_info.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule auth_ldap_module modules/mod_auth_ldap.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/proxy_connect.so
#LoadModule proxy_http_module modules/proxy_http.so
#LoadModule proxy_ftp_module modules/proxy_ftp.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule ssl_module modules/mod_ssl.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule suexec_module modules/mod_suexec.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
# Example:
# LoadModule foo_module modules/mod_foo.so
@@LoadModule@@
#
# ExtendedStatus controls whether Apache will generate "full" status