Redirecting http to https using mod_proxy

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

 




I want to redirect users whenever they type http://webmail.example.com they are redirected to localmail.example.com

The local server is local server is localserver.gleanerjm.com

the apache2.conf is as follows:

<VirtualHost *>
   ServerName webmail.example.com
   ProxyPass / https://localwebmail.example.com
   ProxyPassReverse / https://localwebmail.example.com
   <Location />
   Order allow,deny
   Allow from all
   </Location>
</VirtualHost>

The user is seeing localserver.example.com:8080 in their browser.
How can I fix this to redirect the user from http to https

Disclaimer...
This e-mail and any attachment is confidential and may be legally privileged.
It is intended for the named recipient only. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. If you have received this email in error please notify the sender by email Warning: Although The Gleaner Co. Limited has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

______________________________________________________________________
This email has been scanned by the Email Security System.

[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