removed obsolete issues (many of them fixed with AE)
[docutils.git] / sandbox / blais / rstserver / etc / rst-server.php
blob1e4238bd3ad82ff682784594939005dabad7dc3a
1 <?php
3 # $Id$
4 # $Source$
6 # PHP script to call on the python CGI script.
8 # This is only an example, where a site has PHP enabled but not CGI.
11 $p = $_GET["p"];
12 $python = "/DLlocal/blais/httpd-soft/bin/python";
13 $env =
14 "CONVERTER=\"$python ".
15 "/DLlocal/blais/httpd-soft/bin/html.py\" ".
16 "NO_CONTENT_TYPE=1 ".
17 "SCRIPT_NAME=$SCRIPT_NAME ";
19 system("$env $python rst-server.cgi \"p=$p\" 2>&1 ");