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` || \ {