Changes between Version 3 and Version 4 of faq/domain/canonical-web-address


Ignore:
Timestamp:
Jul 26, 2014, 7:27:56 PM (6 years ago)
Author:
Enrique Rosas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/domain/canonical-web-address

    v3 v4  
    1616
    1717You can do the same by replacing `mayfirst.org` with the domain name you want your web site to display in the address bar of the browser. Be sure to place these lines outside of the <Directory> </Directory> section of your web configuration, not within it; otherwise, the rewrite rules won't work.
     18
     19
     20==  What if I want to force visitor of my website to use ssl?==
     21
     22You can add the following lines to the Web Config settings in the [https://members.mayfirst.org/cp Members Control Panel]:
     23{{{
     24RewriteEngine On
     25RewriteCond %{HTTPS} !=on
     26RewriteRule ^/(.*) https://my-site.org/$1 [L,R]
     27}}}