Re: redirect port from 80 to 443

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

 



My redirect and my website is work in https port but my webserver not display the styles maked in css.
Do you help-me?



2017-02-18 16:04 GMT-02:00 James Moe <jimoe@xxxxxxxxxxxxxx>:
On 02/18/2017 05:08 AM, Rodrigo Cunha wrote:
> i want redirect all request from port 80 to 443.
> what is better setting for fix this?
>
  Better than what?
  Fix? Is it broken?

RewriteCond %{HTTP_HOST} =www.example.com
RewriteCond %{SERVER_PORT} =80
RewriteRule ^(.*)$ https://www.example.com/$1 [R]

--
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.




--
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


[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