svn path=/trunk/; revision=43
h
s;^(GET|HEAD|POST) ([^\?]*)\??(.+)? (HTTP\/[0-9]\.[0-9])\r?$;export REQUEST_METHOD='\''\1'\'';p
g
h
s;^(GET|HEAD|POST) ([^\?]*)\??(.+)? (HTTP\/[0-9]\.[0-9])\r?$;export REQUEST_METHOD='\''\1'\'';p
g
+ s;^(GET|HEAD|POST) ([^\?]*\??.*) (HTTP\/[0-9]\.[0-9])\r?$;\2;
+ s;'\'';'\''\\'\'''\'';g
+ s;^.*$;export REQUEST_URI='\''&'\'';p
+ g
s;^(GET|HEAD|POST) ([^\?]*)\??(.+)? (HTTP\/[0-9]\.[0-9])\r?$;\2;
s;'\'';'\''\\'\'''\'';g
s;^.*$;export PATH_INFO='\''&'\'';p
s;^(GET|HEAD|POST) ([^\?]*)\??(.+)? (HTTP\/[0-9]\.[0-9])\r?$;\2;
s;'\'';'\''\\'\'''\'';g
s;^.*$;export PATH_INFO='\''&'\'';p