Fritz,

Please forgive the format. I just cut'n'pasted stuff from the source). The currently supported variables are:

"AUTH_TYPE", "CONTENT_LENGTH", "CONTENT_TYPE", "DOCUMENT_NAME", "DOCUMENT_URI", "GATEWAY_INTERFACE", "PATH_INFO", "PATH_TRANSLATED", "QUERY_STRING", "QUERY_STRING_UNESCAPED", "REMOTE_ADDR", "REMOTE_HOST", "REMOTE_USER", "REQUEST_METHOD", "SCRIPT_NAME", "SERVER_NAME", "SERVER_PORT", "SERVER_PROTOCOL", "SERVER_SOFTWARE"
"DATE_GMT", "DATE_LOCAL", "LAST_MODIFIED"


HTH,

Patches to add support for additional ones are always welcome.

Mark

Fritz Schneider wrote:
I am running Tomcat 5.5.8 standalone under Windows XP. I have created a
custom error page for 404 errors. Part of it is:



<p>I'm sorry, <strong>http://<!--#echo var="HTTP_HOST" --><!--#echo
var="REQUEST_URI" --></strong>,

the page you requested, cannot be found. It may have been removed, had its
name changed, or is temporarily unavailable.</p>



But it displays as:



I'm sorry, http://(none)(none), the page you requested, cannot be found. It
may have been removed, had its name changed, or is temporarily unavailable.



Does the Tomcat SSI Servlet only support a subset of the CGI variables?



Fritz




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to