[EMAIL PROTECTED] wrote:
Is it possible to automatically redirect any http request to https in an
Apache + Tomcat environment? For example, If I enter
http://my.domain.com/mycontext http://my.domain.com/mycontext , I would be
automatically redirected to https://my.domain.com/mycontext?
Yes, I
The only way I can think of to do that is to mirror your secure content with
nonsecure matching pages with either META or Javascript redirects, or using
JSP (PHP and other server-side languages could do it too) to do a header
write.
- Original Message -
From: [EMAIL PROTECTED]
To:
In the httpd.conf under the virtual host listening to port 80 have the line
RedirectPermanent / https://my.domain.com
if you want it to do for specific content you may have to play with the above
statement or redirect rules. The above would be for all http requests.
-MN
-Original
: RE: automatically redirect http to https in tomcat
In the httpd.conf under the virtual host listening to port 80 have the line
RedirectPermanent / https://my.domain.com
if you want it to do for specific content you may have to play with the
above statement or redirect rules. The above would
PQ,
Are you using struts? if so I may be able to help you.
Best,
Stephen Schaubach
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 1:12 PM
To: [EMAIL PROTECTED]
Subject: automatically redirect http to https in tomcat
Importance:
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: February 11, 2003 5:13 PM
To: [EMAIL PROTECTED]
Subject: RE: automatically redirect http to https in tomcat
PQ,
Are you using struts? if so I may be able to help you.
Best,
Stephen Schaubach
-Original Message-
From: [EMAIL
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: February 11, 2003 5:13 PM
To: [EMAIL PROTECTED]
Subject: RE: automatically redirect http to https in tomcat
PQ,
Are you using struts? if so I may be able to help you.
Best
[EMAIL PROTECTED]:
Yes, I use struts. It used to automatically redirect http request to
https with https setup in ssl.conf. After I upgraded to b3, 4.1.18,
2.0.44, http is http and https is https.
What I've done in Struts, is to subclass ActionServlet, replace the
doGet() and doPost()
Knows What He Is Doing
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: February 11, 2003 5:13 PM
To: [EMAIL PROTECTED]
Subject: RE: automatically redirect http to https in tomcat
PQ,
Are you using struts? if so I may be able to help you.
Best
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: February 11, 2003 5:13 PM
To: [EMAIL PROTECTED]
Subject: RE: automatically redirect http to https in tomcat
PQ,
Are you using struts? if so I may be able to help you.
Best,
Stephen Schaubach
-Original Message
, http
is http and https is https.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: February 11, 2003 5:13 PM
To: [EMAIL PROTECTED]
Subject: RE: automatically redirect http
11 matches
Mail list logo