RE: [users@httpd] Switching between HTTP and HTTPS using Rewrite Module, where Mod Proxy used for other purpose.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:R.Sokoll@xxxxxxxxxxxx] 
Sent: Thursday, June 15, 2006 1:33 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


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

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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux