You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fritz Schneider <Fr...@Peacham.HomeIP.net> on 2005/04/25 20:42:03 UTC
Tomcat SSI variables missing?
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
Re: Tomcat SSI variables missing?
Posted by Mark Thomas <ma...@apache.org>.
Fritz,
Ideally patches should be against CVS head to minimise the overhead for
the developers. I will, of course, look at patches against any recent
release but the older the release patches are created against, the
longer it takes me to apply the patch.
Mark
Fritz Schneider wrote:
> Mark,
>
> Would it be more productive to patch bug 33106
> (http://issues.apache.org/bugzilla/show_bug.cgi?id=33106)?
>
> Fritz
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Tomcat SSI variables missing?
Posted by Fritz Schneider <Fr...@Peacham.HomeIP.net>.
Mark,
Would it be more productive to patch bug 33106
(http://issues.apache.org/bugzilla/show_bug.cgi?id=33106)?
Fritz
-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org]
Sent: Monday, April 25, 2005 12:18 PM
To: Tomcat Users List
Subject: Re: Tomcat SSI variables missing?
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat SSI variables missing?
Posted by Mark Thomas <ma...@apache.org>.
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org