Added php-cgi binaries for ubuntux64

Former-commit-id: 150ed844e3
This commit is contained in:
Jérôme Schneider 2012-03-20 09:04:31 +01:00
parent 59870e1d39
commit 95a960f61f
3 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1 @@
d8a77be201850102981b328885cd1e85a243e441

View file

@ -14,14 +14,16 @@ echo "Serving $PATH_docroot"
PATH_this="`pwd`/"
MONGOOSE_builds=$PATH_this"builds/"
MONGOOSE_phpcgi=$PATH_this"cgi/php-cgi"
MONGOOSE_cgi=$PATH_this"cgi/"
if [[ $platform == 'linux' ]]; then
MONGOOSE_bin=$MONGOOSE_builds"linux/mongoose"
MONGOOSE_cgibin=$MONGOOSE_cgi"ubuntux64/php-cgi"
elif [[ $platform == 'freebsd' ]]; then
echo "FreeBSD !"
elif [[ $platform == 'osx' ]]; then
MONGOOSE_bin=$MONGOOSE_builds"mac/mongoose"
MONGOOSE_cgibin=$MONGOOSE_cgi"mac/php-cgi"
fi
`$MONGOOSE_bin -I $MONGOOSE_phpcgi -i index.html,index.php -r $PATH_docroot`
`$MONGOOSE_bin -I $MONGOOSE_cgibin -i index.html,index.php -r $PATH_docroot`