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 | 8da3a8f70c0ff219972438e971349b539b2aa148 (patch) | |
tree | 40decc5496b21965ed9d558732fa80113793b811 /eclass | |
parent | fix bug #33966 (diff) | |
download | gentoo-2-8da3a8f70c0ff219972438e971349b539b2aa148.tar.gz gentoo-2-8da3a8f70c0ff219972438e971349b539b2aa148.tar.bz2 gentoo-2-8da3a8f70c0ff219972438e971349b539b2aa148.zip |
put /var/www/localhost/ in place instead of /home/httpd/, this is a workaround ONLY
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 () |