From 6213dacf82f1f30c0a2e002b299ad561e62d0b72 Mon Sep 17 00:00:00 2001 From: tomas Date: Tue, 18 Jan 2005 19:39:23 +0000 Subject: [PATCH] Webspace mapping test added. --- livesupport/modules/storageServer/bin/setupDirs.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/livesupport/modules/storageServer/bin/setupDirs.sh b/livesupport/modules/storageServer/bin/setupDirs.sh index 41e702b46..69f709d59 100755 --- a/livesupport/modules/storageServer/bin/setupDirs.sh +++ b/livesupport/modules/storageServer/bin/setupDirs.sh @@ -22,7 +22,7 @@ # # # Author : $Author: tomas $ -# Version : $Revision: 1.4 $ +# Version : $Revision: 1.5 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/bin/setupDirs.sh,v $ #------------------------------------------------------------------------------- @@ -34,7 +34,15 @@ WWW_ROOT=`cd var/install; php -q getWwwRoot.php` || exit $? echo "#StorageServer step 1:" echo "# root URL: $WWW_ROOT" PHP_PWD=`bin/getUrl.sh $WWW_ROOT/install/getPwd.php` || exit $? -echo "# php_pwd: $PHP_PWD" +echo "# webspace mapping test:" +echo "# mod_php : $PHP_PWD" +INSTALL_DIR="$PWD/var/install" +echo "# install : $INSTALL_DIR" +if [ $PHP_PWD == $INSTALL_DIR ]; then + echo "# mapping OK" +else + echo "# !!! probably problem in webspace mapping !!!" +fi HTTP_GROUP=`bin/getUrl.sh $WWW_ROOT/install/getGname.php` || \ {