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]

 



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



[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