Thanks Rainer, 

But this not goanna solve. As I need this work out for selective page to be
displayed as HTTPS. I am using reverse proxy for redirection. Also below
redirection will redirect all requests to HTTPS, but I need it only for
selective jsp pages.


Thanks & Regards,
DAnil

-----Original Message-----
From: Rainer Sokoll [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 15, 2006 1:33 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Switching between HTTP and HTTPS using Rewrite
Module, where Mod Proxy used for other purpose.

On Thu, Jun 15, 2006 at 12:57:11PM +0530, Anil Dighade wrote:

> http://182.24.116.157:7333/godzilla/iscmypage should be rewritten as
> https://182.24.116.157:7334/godzilla/iscmypage

I simply use RedirectMatch permanent:

<VirtualHost 192.168.1.234:80>
  ServerName webmail.sokoll.com
  ErrorLog /var/log/httpd/webmail_error_log
  CustomLog /var/log/httpd/webmail_access_log common
  RedirectMatch permanent ^/(.*) https://webmail.sokoll.com/$1
</VirtualHost>

Rainer

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.
 

Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or 
attachment(s) if any) are privileged and confidential material of Tech Mahindra 
and should not be disclosed to, used by or copied in any manner by anyone other 
than the intended addressee(s). In case you are not the desired addressee, you 
should delete this message and/or re-direct it to the sender. The views 
expressed in this E-mail message (including the enclosure(s) or attachment(s) 
if any) are those of the individual sender, except where the sender expressly, 
and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of 
any virus. However, it is the responsibility of the recipient to ensure that it 
is virus free and Tech Mahindra is not responsible for any loss or damage 
arising in any way from its use.

============================================================================================================================

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to