Re: redirect port 8080 to 443

2003-10-14 Thread Twan Munster
I got it working,

thnx
now i have to get my client authentication working. Its very difficult under
tomcat.

- Original Message - 
From: Steph Richardson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Twan Munster
[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 10:56 PM
Subject: RE: redirect port 8080 to 443


 Can't think why this is still a problem ( it definitely works for me ) ,
other than a simple one of URL patterns.
 Does the URI /secure match the pattern /secure/*, is there a default
document there which would cause a redirect that is
 affecting this.
 What happens when you try going to http://localhost/secure/somethingelse


  -Original Message-
  From: Twan Munster [mailto:[EMAIL PROTECTED]
  Sent: Monday, October 13, 2003 6:17 AM
  To: Tomcat Users List
  Subject: Re: redirect port 8080 to 443
 
 
  thnx for comment, but it didn't work
  I still can connect to http://localhost:8080/secure/
 
  Twan
  - Original Message -
  From: Steph Richardson [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Sunday, October 12, 2003 5:17 PM
  Subject: RE: redirect port 8080 to 443
 
 
  
   You can have tomcat automatically make redirects to https ( and
whatever
  port is configured in the redirectPort attribute of your
   http Connecter - 443 usually ), you can add some constraints in
web.xml.
  Try this altered for whatever directories you want to be
   https only :
   security-constraint
   web-resource-collection
   web-resource-nameSome Directories/web-resource-name
   url-pattern/secure/*/url-pattern
   url-pattern/checkout/*/url-pattern
   /web-resource-collection
   user-data-constraint
   transport-guaranteeCONFIDENTIAL/transport-guarantee
   /user-data-constraint
   /security-constraint
  
   Beware now of issues with welcome-file-list redirects happening at the
  same time as this one. You can end up with situations where
   tomcat sends you to https on the http port. e.g. :
  https://myserver.com:8080/secure.index.jsp
  
  
  
   Steph
  
  
  
  
-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 12:39 AM
To: [EMAIL PROTECTED]
Subject: Re: redirect port 8080 to 443
   
   
It's in the FAQ:
http://jakarta.apache.org/tomcat/faq/security.html#https
   
Twan Munster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
   
I'm using apache+mod_ssl+mod_jk to make a secure connection.
But every time I call a page in cocoon it is called through port
8080.
  Is it
possible to redirect a call to port 8080  to port 443? And not for
the
entire server, but only for a certain directory?How is this done?
   
thnx
   
Twan
   
   
   
   
  
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


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



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



Re: redirect port 8080 to 443

2003-10-13 Thread Twan Munster
thnx for comment, but it didn't work
I still can connect to http://localhost/secure/

Twan
- Original Message - 
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 6:38 AM
Subject: Re: redirect port 8080 to 443


 It's in the FAQ:
 http://jakarta.apache.org/tomcat/faq/security.html#https

 Twan Munster [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Hello,

 I'm using apache+mod_ssl+mod_jk to make a secure connection.
 But every time I call a page in cocoon it is called through port 8080. Is
it
 possible to redirect a call to port 8080  to port 443? And not for the
 entire server, but only for a certain directory?How is this done?

 thnx

 Twan




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



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



Re: redirect port 8080 to 443

2003-10-13 Thread Twan Munster
thnx for comment, but it didn't work
I still can connect to http://localhost:8080/secure/

Twan
- Original Message - 
From: Steph Richardson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, October 12, 2003 5:17 PM
Subject: RE: redirect port 8080 to 443



 You can have tomcat automatically make redirects to https ( and whatever
port is configured in the redirectPort attribute of your
 http Connecter - 443 usually ), you can add some constraints in web.xml.
Try this altered for whatever directories you want to be
 https only :
 security-constraint
 web-resource-collection
 web-resource-nameSome Directories/web-resource-name
 url-pattern/secure/*/url-pattern
 url-pattern/checkout/*/url-pattern
 /web-resource-collection
 user-data-constraint
 transport-guaranteeCONFIDENTIAL/transport-guarantee
 /user-data-constraint
 /security-constraint

 Beware now of issues with welcome-file-list redirects happening at the
same time as this one. You can end up with situations where
 tomcat sends you to https on the http port. e.g. :
https://myserver.com:8080/secure.index.jsp



 Steph




  -Original Message-
  From: Bill Barker [mailto:[EMAIL PROTECTED]
  Sent: Saturday, October 11, 2003 12:39 AM
  To: [EMAIL PROTECTED]
  Subject: Re: redirect port 8080 to 443
 
 
  It's in the FAQ:
  http://jakarta.apache.org/tomcat/faq/security.html#https
 
  Twan Munster [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
  Hello,
 
  I'm using apache+mod_ssl+mod_jk to make a secure connection.
  But every time I call a page in cocoon it is called through port 8080.
Is it
  possible to redirect a call to port 8080  to port 443? And not for the
  entire server, but only for a certain directory?How is this done?
 
  thnx
 
  Twan
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


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



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



RE: redirect port 8080 to 443

2003-10-13 Thread Steph Richardson
Can't think why this is still a problem ( it definitely works for me ) , other than a 
simple one of URL patterns.
Does the URI /secure match the pattern /secure/*, is there a default document 
there which would cause a redirect that is
affecting this.
What happens when you try going to http://localhost/secure/somethingelse


 -Original Message-
 From: Twan Munster [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 13, 2003 6:17 AM
 To: Tomcat Users List
 Subject: Re: redirect port 8080 to 443


 thnx for comment, but it didn't work
 I still can connect to http://localhost:8080/secure/

 Twan
 - Original Message -
 From: Steph Richardson [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Sunday, October 12, 2003 5:17 PM
 Subject: RE: redirect port 8080 to 443


 
  You can have tomcat automatically make redirects to https ( and whatever
 port is configured in the redirectPort attribute of your
  http Connecter - 443 usually ), you can add some constraints in web.xml.
 Try this altered for whatever directories you want to be
  https only :
  security-constraint
  web-resource-collection
  web-resource-nameSome Directories/web-resource-name
  url-pattern/secure/*/url-pattern
  url-pattern/checkout/*/url-pattern
  /web-resource-collection
  user-data-constraint
  transport-guaranteeCONFIDENTIAL/transport-guarantee
  /user-data-constraint
  /security-constraint
 
  Beware now of issues with welcome-file-list redirects happening at the
 same time as this one. You can end up with situations where
  tomcat sends you to https on the http port. e.g. :
 https://myserver.com:8080/secure.index.jsp
 
 
 
  Steph
 
 
 
 
   -Original Message-
   From: Bill Barker [mailto:[EMAIL PROTECTED]
   Sent: Saturday, October 11, 2003 12:39 AM
   To: [EMAIL PROTECTED]
   Subject: Re: redirect port 8080 to 443
  
  
   It's in the FAQ:
   http://jakarta.apache.org/tomcat/faq/security.html#https
  
   Twan Munster [EMAIL PROTECTED] wrote in message
   news:[EMAIL PROTECTED]
   Hello,
  
   I'm using apache+mod_ssl+mod_jk to make a secure connection.
   But every time I call a page in cocoon it is called through port 8080.
 Is it
   possible to redirect a call to port 8080  to port 443? And not for the
   entire server, but only for a certain directory?How is this done?
  
   thnx
  
   Twan
  
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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





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



RE: redirect port 8080 to 443

2003-10-12 Thread Steph Richardson

You can have tomcat automatically make redirects to https ( and whatever port is 
configured in the redirectPort attribute of your
http Connecter - 443 usually ), you can add some constraints in web.xml. Try this 
altered for whatever directories you want to be
https only :
security-constraint
web-resource-collection
web-resource-nameSome Directories/web-resource-name
url-pattern/secure/*/url-pattern
url-pattern/checkout/*/url-pattern
/web-resource-collection
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
/security-constraint

Beware now of issues with welcome-file-list redirects happening at the same time as 
this one. You can end up with situations where
tomcat sends you to https on the http port. e.g. : 
https://myserver.com:8080/secure.index.jsp



Steph




 -Original Message-
 From: Bill Barker [mailto:[EMAIL PROTECTED]
 Sent: Saturday, October 11, 2003 12:39 AM
 To: [EMAIL PROTECTED]
 Subject: Re: redirect port 8080 to 443


 It's in the FAQ:
 http://jakarta.apache.org/tomcat/faq/security.html#https

 Twan Munster [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Hello,

 I'm using apache+mod_ssl+mod_jk to make a secure connection.
 But every time I call a page in cocoon it is called through port 8080. Is it
 possible to redirect a call to port 8080  to port 443? And not for the
 entire server, but only for a certain directory?How is this done?

 thnx

 Twan




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





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



Re: redirect port 8080 to 443

2003-10-11 Thread Peter Harrison
On Sat, 11 Oct 2003 17:38, Bill Barker wrote:
 It's in the FAQ:
 http://jakarta.apache.org/tomcat/faq/security.html#https

 Twan Munster [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Hello,

 I'm using apache+mod_ssl+mod_jk to make a secure connection.
 But every time I call a page in cocoon it is called through port 8080. Is
 it possible to redirect a call to port 8080  to port 443? And not for the
 entire server, but only for a certain directory?How is this done?

Assuming you have configured tomcat correctly to handle SSL its simply a 
matter of using https:// rather than http:// in you URL's.

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



redirect port 8080 to 443

2003-10-10 Thread Twan Munster
Hello,

I'm using apache+mod_ssl+mod_jk to make a secure connection. 
But every time I call a page in cocoon it is called through port 8080. Is it possible 
to redirect a call to port 8080  to port 443? And not for the entire server, but only 
for a certain directory?How is this done?

thnx

Twan

Re: redirect port 8080 to 443

2003-10-10 Thread Bill Barker
It's in the FAQ:
http://jakarta.apache.org/tomcat/faq/security.html#https

Twan Munster [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,

I'm using apache+mod_ssl+mod_jk to make a secure connection.
But every time I call a page in cocoon it is called through port 8080. Is it
possible to redirect a call to port 8080  to port 443? And not for the
entire server, but only for a certain directory?How is this done?

thnx

Twan




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