Webspace mapping test added.
This commit is contained in:
parent
5c8bcd6f4c
commit
6213dacf82
|
@ -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` || \
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue