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 ^{REQUEST_URI}
# </IfModule>
To the following code snippet:
<IfModule mod_rewrite.c>
RewriteCond %{SERVER_PORT} !^443
RewriteRule ^{REQUEST_URI}
Note that the URL needs
to point to the domain you have an SSL certificate for.
More details on the SSL and SSL certifications are given in the Linux document-
ation project at .
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