Commit 72c5c7e2 authored by Konstantin Pavlov's avatar Konstantin Pavlov

php-cgi.sh: use SCRIPT_FILENAME too.

parent e77b6304
...@@ -24,7 +24,7 @@ export PATH_INFO=`echo "$1" | cut -d '?' -f1` ...@@ -24,7 +24,7 @@ export PATH_INFO=`echo "$1" | cut -d '?' -f1`
export PATH_TRANSLATED="${2}${PATH_INFO}" export PATH_TRANSLATED="${2}${PATH_INFO}"
export SCRIPT_NAME="/cgi-bin/php5" export SCRIPT_FILENAME="/cgi-bin/php5"
export QUERY_STRING=`echo "$1" | cut -d '?' -f2` export QUERY_STRING=`echo "$1" | cut -d '?' -f2`
export REMOTE_HOST="localhost" export REMOTE_HOST="localhost"
export REMOTE_ADDR="127.0.0.1" export REMOTE_ADDR="127.0.0.1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment