You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ba...@mediageneral.com on 2003/08/07 18:10:20 UTC
Question about ssl and tomcat
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
Re: is there a way to download a jsp file from server without executing
it?
Posted by John Turner <to...@johnturner.com>.
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" <wb...@wilshire.com>
> To: <to...@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.
>>
>><ba...@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
>
Re: is there a way to download a jsp file from server without executing
it?
Posted by John Turner <to...@johnturner.com>.
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" <wb...@wilshire.com>
> To: <to...@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.
>>
>><ba...@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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: is there a way to download a jsp file from server without
executing it?
Posted by "Eric J. Pinnell" <er...@iCky.org>.
Or stealing :)
-e
On Fri, 8 Aug 2003, Tim Funk wrote:
> I hope not, we tend to call that a security flaw.
>
> -Tim
>
> 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
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
Re: is there a way to download a jsp file from server without
executing it?
Posted by "Eric J. Pinnell" <er...@iCky.org>.
Or stealing :)
-e
On Fri, 8 Aug 2003, Tim Funk wrote:
> I hope not, we tend to call that a security flaw.
>
> -Tim
>
> 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
> >
>
>
> ---------------------------------------------------------------------
> 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: is there a way to download a jsp file from server without executing
it?
Posted by Tim Funk <fu...@joedog.org>.
I hope not, we tend to call that a security flaw.
-Tim
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
>
Re: is there a way to download a jsp file from server without executing
it?
Posted by Tim Funk <fu...@joedog.org>.
I hope not, we tend to call that a security flaw.
-Tim
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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
is there a way to download a jsp file from server without executing it?
Posted by Prince <th...@hotmail.com>.
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" <wb...@wilshire.com>
To: <to...@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.
>
> <ba...@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
is there a way to download a jsp file from server without executing it?
Posted by Prince <th...@hotmail.com>.
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" <wb...@wilshire.com>
To: <to...@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.
>
> <ba...@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
>
>
Re: Question about ssl and tomcat
Posted by Bill Barker <wb...@wilshire.com>.
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.
<ba...@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
Re: Question about ssl and tomcat
Posted by Bill Barker <wb...@wilshire.com>.
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.
<ba...@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