diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/webapp-apache.eclass | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/eclass/webapp-apache.eclass b/eclass/webapp-apache.eclass index 4e37546703a6..c56a438e78d6 100644 --- a/eclass/webapp-apache.eclass +++ b/eclass/webapp-apache.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/webapp-apache.eclass,v 1.9 2003/08/20 10:19:46 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/webapp-apache.eclass,v 1.10 2003/11/21 05:43:36 robbat2 Exp $ # # Author: Stuart Herbert <stuart@gentoo.org> # @@ -57,8 +57,10 @@ function webapp-determine-htdocsdir () { webapp-determine-installowner - HTTPD_ROOT="`grep '^DocumentRoot' ${APACHECONF} | cut -d ' ' -f 2`" - [ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="/home/httpd/htdocs/" +# HTTPD_ROOT="`grep '^DocumentRoot' ${APACHECONF} | cut -d ' ' -f 2`" +# [ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="/home/httpd/htdocs/" + # temporary fix for webapps + HTTPD_ROOT="/var/www/localhost/htdocs/" keepdir "$HTTPD_ROOT" fowners "$HTTPD_USER"."$HTTPD_GROUP" "$HTTPD_ROOT" fperms 755 "$HTTPD_ROOT" @@ -66,8 +68,10 @@ function webapp-determine-htdocsdir () function webapp-determine-cgibindir () { - HTTPD_CGIBIN="`grep 'ScriptAlias /cgi-bin/' ${APACHECONF_COMMON} | cut -d ' ' -f 7`" - [ -z "${HTTPD_CGIBIN}" ] && HTTPD_CGIBIN="/home/httpd/cgi-bin/" + #HTTPD_CGIBIN="`grep 'ScriptAlias /cgi-bin/' ${APACHECONF_COMMON} | cut -d ' ' -f 7`" + #[ -z "${HTTPD_CGIBIN}" ] && HTTPD_CGIBIN="/home/httpd/cgi-bin/" + # temporary fix for webapps + HTTPD_ROOT="/var/www/localhost/cgi-bin/" } function webapp-determine-installowner () |