From 2d0c40d9bd153301e497896c8513f90d1056a647 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 21 Nov 2003 05:43:36 +0000 Subject: put /var/www/localhost/ in place instead of /home/httpd/, this is a workaround ONLY --- eclass/webapp-apache.eclass | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'eclass') 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 # @@ -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 () -- cgit v1.2.3-65-gdbad