You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ron Cozad <Ro...@toro.com> on 2005/09/13 16:25:32 UTC

URL embedded filename suggestion not working inTomcat

This url is not working in Tomcat, but it works with Apache http server.

http://my.company.com/cgi-bin/program1.cgi/filename.txt?parameter1=123

 

Next url does work with tomcat but of course the browser proposes
program1.cgi as the name instead of filename.txt, as desired in the
first url.

http://my.company.com/cgi-bin/program1.cgi?parameter1=123

 

Note:

I am using tomcat 4.1.31 on windows, and IE 6.x browser.

 

I have enabled cgi support on Tomcat.

 

Ideas?


Re: URL embedded filename suggestion not working inTomcat

Posted by Tim Funk <fu...@joedog.org>.
You could use the Content-Disposition header to send the filename back to the 
user.

-Tim

Ron Cozad wrote:

> This url is not working in Tomcat, but it works with Apache http server.
> 
> http://my.company.com/cgi-bin/program1.cgi/filename.txt?parameter1=123
> 
>  
> 
> Next url does work with tomcat but of course the browser proposes
> program1.cgi as the name instead of filename.txt, as desired in the
> first url.
> 
> http://my.company.com/cgi-bin/program1.cgi?parameter1=123
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org