Re: [htdig] Error Message


Marjolein Katsma (webmaster@javawoman.com)
Mon, 22 Feb 1999 23:32:02 +0100


Gilles,

Well, maybe. I happen to have a PHP test page where I print out the PHP
GLOBALS associative array which includes the GCI environment variables. It
comes up with this (a few addresses deleted for security reasons):

GLOBALS =>
HTTP_GET_VARS => Array
HTTP_COOKIE_VARS => Array
HOME => /root
USER => javawomaLOGNAME => root
SHELL => /bin/csh
SSH_CLIENT => <... IP address and two numbers ...>
SSH_TTY => /dev/ttyp4
TERM => vt100
SSH_AUTH_SOCK => /tmp/ssh-root/agent-socket-10569
PWD => /usr/local/etc
PATH =>
/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/contrib/bin:/usr/X11/bin
BLOCKSIZE => 1k
HTTP_ACCEPT => application/vnd.ms-excel, application/vnd.ms-powerpoint,
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, */*
HTTP_ACCEPT_LANGUAGE => en-us,he;q=0.8,ja;q=0.7,ru;q=0.5,zh-tw;q=0.3,ko;q=0.2
HTTP_ACCEPT_ENCODING => gzip, deflate
HTTP_USER_AGENT => Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
HTTP_HOST => hshelp.com
HTTP_CONNECTION => Keep-Alive
SERVER_SOFTWARE => Apache/1.2.6 FrontPage/3.0.4
SERVER_NAME => hshelp.com
SERVER_PORT => 80
REMOTE_HOST => <... my local node ...>
REMOTE_ADDR => <... my IP address ...>
DOCUMENT_ROOT => /usr/local/etc/httpd/htdocs/hsh
SERVER_ADMIN => webmaster@javawoman.com
SCRIPT_FILENAME => /usr/local/etc/httpd/htdocs/hsh/test_url.html
REMOTE_PORT => 1635
GATEWAY_INTERFACE => CGI/1.1
SERVER_PROTOCOL => HTTP/1.1
REQUEST_METHOD => GET
QUERY_STRING =>
REQUEST_URI => /test_url.html
SCRIPT_NAME => /test_url.html
PATH_TRANSLATED => /usr/local/etc/httpd/htdocs/hsh/test_url.html
PHP_SELF => /test_url.html
argv => Array
argc => 0
urlcheck =>
php/funcclass/gotourl.php3?local_host=hshelp.com&local_path=/test_url.html&url=
uri => Object
header => Array
k => header
v => header

Does that help any?

At 15:37 1999-02-22 -0600, you wrote:
>
>According to Matthew Cousins:
>> it'd be good if in future
>> releases there was an option to specify a web server root and a full root.
>
>Is there a CGI environment variable that would indicate what the virtual
>server root directory is? If so, it should be fairly easy for htsearch
>to pick up on that, and strip that name off of any directory pathnames
>it uses. That would make it automatic, if this is an environment variable
>that's part of the standard CGI specification.
>
>--
>Gilles R. Detillieux E-mail: <grdetil@scrc.umanitoba.ca>
>Spinal Cord Research Centre WWW:
http://www.scrc.umanitoba.ca/~grdetil
>Dept. Physiology, U. of Manitoba Phone: (204)789-3766
>Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
>------------------------------------
>To unsubscribe from the htdig mailing list, send a message to
>htdig@htdig.org containing the single word "unsubscribe" in
>the SUBJECT of the message.
>

Marjolein Katsma webmaster@javawoman.com
Java Woman - http://javawoman.com/
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Fri Feb 26 1999 - 14:34:12 PST