Webspace mapping test added.

This commit is contained in:
tomas 2005-01-18 19:39:23 +00:00
parent 5c8bcd6f4c
commit 6213dacf82
1 changed files with 10 additions and 2 deletions

View File

@ -22,7 +22,7 @@
# #
# #
# Author : $Author: tomas $ # 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 $ # 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 "#StorageServer step 1:"
echo "# root URL: $WWW_ROOT" echo "# root URL: $WWW_ROOT"
PHP_PWD=`bin/getUrl.sh $WWW_ROOT/install/getPwd.php` || exit $? 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` || \ HTTP_GROUP=`bin/getUrl.sh $WWW_ROOT/install/getGname.php` || \
{ {