diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-11-21 05:43:36 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-11-21 05:43:36 +0000 |
commit | 2d0c40d9bd153301e497896c8513f90d1056a647 (patch) | |
tree | 16a108f6d70e25f74dceb2d5d5442dbb4c822713 /eclass/webapp-apache.eclass | |
parent | fix bug #33966 (diff) | |
download | historical-2d0c40d9bd153301e497896c8513f90d1056a647.tar.gz historical-2d0c40d9bd153301e497896c8513f90d1056a647.tar.bz2 historical-2d0c40d9bd153301e497896c8513f90d1056a647.zip |
put /var/www/localhost/ in place instead of /home/httpd/, this is a workaround ONLY
Diffstat (limited to 'eclass/webapp-apache.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 () |