HTML and CSS Reference
In-Depth Information
are hosted on the same Apache server; —then browsers will throw warnings and in-
form the user that the authenticity of the Web page is unverifiable.
You can make sure the requests to domain, which does not have the SSL certificate,
is rewritten to the one for which you do have an SSL certificate. If you require this,
you can uncomment the following snippet from:
# <IfModule mod_rewrite.c>
# RewriteCond %{SERVER_PORT} !^443
# RewriteRule ^
https://example-domain-please-change-me.com%{REQUEST_URI}
[R=301,L]
# </IfModule>
To the following code snippet:
<IfModule mod_rewrite.c>
RewriteCond %{SERVER_PORT} !^443
RewriteRule ^
https://example-domain-please-change-me.com%{REQUEST_URI}
[R=301,L]
</IfModule>
Note that the https://example-domain-please-change-me.com URL needs
to point to the domain you have an SSL certificate for.
Note
More details on the SSL and SSL certifications are given in the Linux document-
ation project at tldp.org/HOWTO/SSL-Certificates-HOWTO/x64.html .
That covers all the optional features that HTML5 Boilerplate's .htaccess file
provides. Let us take a look at cross-domain policies and how to set them.
Search WWH ::




Custom Search