Browse Source

Alejandro Mery:


			
			
				rocklinux
			
			
		
Alejandro Mery 20 years ago
parent
commit
f2b2efd0df
2 changed files with 24 additions and 0 deletions
  1. +14
    -0
      package/rene/apache/apache.conf
  2. +10
    -0
      package/rene/apache/config.in

+ 14
- 0
package/rene/apache/apache.conf

@ -38,6 +38,20 @@ if [ $pkg = "apache" ] ; then
--enable-speling --enable-rewrite --enable-so --enable-deflate" --enable-speling --enable-rewrite --enable-so --enable-deflate"
# --enable-speling is not a typo! # --enable-speling is not a typo!
if [ "$ROCKCFG_PKG_APACHE_SUEXEC" == "1" ]; then
if [ "${ROCKCFG_PKG_APACHE_DOCROOT:0:1}" == "/" ] ; then
docroot="$ROCKCFG_PKG_APACHE_DOCROOT"
else
docroot="$localstatedir/$ROCKCFG_PKG_APACHE_DOCROOT"
fi
var_append extraconfopt ' ' \
"--with-suexec-docroot=${docroot#$root}"
# var_append extraconfopt ' ' \
# "--with-suexec-userdir=$ROCKCFG_PKG_APACHE_USERDIR"
var_append extraconfopt ' ' "--with-suexec-caller=80 \
--enable-suexec"
fi
[ "$ROCKCFG_PKG_APACHE_INFO" == 1 ] && \ [ "$ROCKCFG_PKG_APACHE_INFO" == 1 ] && \
var_append extraconfopt " " "--enable-info" var_append extraconfopt " " "--enable-info"

+ 10
- 0
package/rene/apache/config.in

@ -43,9 +43,19 @@ then
choice ROCKCFG_PKG_APACHE_BDB $default $list choice ROCKCFG_PKG_APACHE_BDB $default $list
fi fi
comment ' '
bool "Enable info" ROCKCFG_PKG_APACHE_INFO 0 bool "Enable info" ROCKCFG_PKG_APACHE_INFO 0
bool "Enable Auth Digest" ROCKCFG_PKG_APACHE_AUTH_DIGEST 0 bool "Enable Auth Digest" ROCKCFG_PKG_APACHE_AUTH_DIGEST 0
bool "Enable suEXEC" ROCKCFG_PKG_APACHE_SUEXEC 0
if [ "$ROCKCFG_PKG_APACHE_SUEXEC" == "1" ]; then
text 'suEXEC document root' \
ROCKCFG_PKG_APACHE_DOCROOT "lib/htdocs"
# text 'suEXEC user directory' \
# ROCKCFG_PKG_APACHE_USERDIR "public_html"
fi
menu_end menu_end
fi fi

Loading…
Cancel
Save