tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: is there a way to download a jsp file from server without executing it?
Date Fri, 08 Aug 2003 18:18:54 GMT

Read file from disk.

Set the Content-Type to text/plain.

Write file to browser.

John

Prince wrote:

> hi
> 
> is there a way to download a .jsp file without executing it? ie i need the
> content od jsp file, not the result of that jsp file. same question goes
> with .cgi, .asp, .pl etc
> 
> regds
> Prince
> 
> 
> ----- Original Message -----
> From: "Bill Barker" <wbarker@wilshire.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Friday, August 08, 2003 9:34 AM
> Subject: Re: Question about ssl and tomcat
> 
> 
> 
>>You need to set the redirectPort attribute on the Connector to point to
>>Apache's SSL port.  However, since this defaults to 443, I'm guessing that
>>the real problem is that you don't have your JkMount statements defined in
>>your SSL VirtualHost.
>>
>><batristain@mediageneral.com> wrote in message
>>news:6C1A849C8F00754FB491F504EB3B8BF108D71900@mgex0001.themeganet.com...
>>
>>>Greetings,
>>>
>>> I'm hosting a ssl site with mod_ssl on the
>>> apache server and I need to have it to connect to tomcat can't I
>>> change one of the connector lines in server.xml to redirect the port?
>>> Such as
>>> redirectPort- If this Connector is supporting non-SSL requests, and a
>>> request is received for which a matching <security-constraint>
>>> requires SSL transport, Catalina will automatically redirect the
>>> request to the port number specified here.
>>>
>>> You see my website works fine going through 8080 but when I try to get
>>> the https site to go through it - I get page can't be found or it
>>> displays code instead of working.
>>>
>>> Thanks,
>>> Bobbie
>>>
>>>Bobbie Atristain
>>>Internet Systems Administrator
>>>Media General, INC.
>>>804.649.6156
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>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
> 



Mime
View raw message