PATH_INFO? PATH_TRANSLATED?
"clemensF" <[email protected]>
| Newsgroups | gmane.network.mathopd |
|---|---|
| Organization | no |
| Message-ID | <[email protected]> |
there's something wrong with PATH_(INFO|TRANSLATED). i get:
Content-type: text/html
<HTML><BODY>
whoami:
http
pwd:
/usr/local/moin/share/moin/cgi-bin
REMOTE_HOST=localhost
REMOTE_ADDR=127.0.0.1
REMOTE_PORT=25572
HTTP_USER_AGENT=Lynx/2.8.5dev.7 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6c
PATH_TRANSLATED=0:33:32 2002 [17828] get_path_info: stat("/usr/local/moin/share/moin/cgi
+-bin/env.cgi") = 0
= -1
= -1
(Äë¿¿}S(
HTTP_HOST=localhost:8887
REQUEST_URI=/moin/cgi-bin/env.cgi/bla/laber
SERVER_SOFTWARE=Mathopd/1.4b15
SERVER_PROTOCOL=HTTP/1.0
PATH_INFO=/bla/laber
REQUEST_METHOD=GET
SERVER_ADDR=127.0.0.1
PYTHONPATH=:/usr/local/moin/lib/python2.0/site-packages
SERVER_PORT=8887
SCRIPT_NAME=/moin/cgi-bin/env.cgi
SERVER_NAME=spotteswoode.dnsalias.org
</BODY></HTML>
with an URI like http://localhost/cgi-bin/env.cgi/bla/laber. i think i
need the pathinfo always.
clemens fischer