From: Rich Bowen /one/three/four.html.
To redirect http URLs to https, do the
+
To redirect http URLs to https, do the
following:
@@ -109,7 +109,27 @@ task in a .htaccess file instead.
Using Alias
+The Alias directive
+provides mapping from a URI to a directory - usually a directory outside
+of your DocumentRoot. Although it
+is possible to perform this mappint with mod_rewrite,
+Alias is the preferred method, for reasons of simplicity
+and performance.
+Alias /cats /var/www/virtualhosts/felines/htdocs
+
+The use of mod_rewrite to perform this mapping may be
+appropriate when you do not have access to the server configuration
+files. Alias may only be used in server or virtualhost context, and not
+in a .htaccess file.
+
Symbolic links would be another way to accomplish the same thing, if
+you have Options FollowSymLinks enabled on your
+server.
/one/three/four.html.
Redirect /one/ http://one.example.com/
-To redirect http URLs to https, do the
+
To redirect http URLs to https, do the
following:
.htaccess file instead.
Using Alias
+The mod_rewrite,
+Alias is the preferred method, for reasons of simplicity
+and performance.
+The use of mod_rewrite to perform this mapping may be
+appropriate when you do not have access to the server configuration
+files. Alias may only be used in server or virtualhost context, and not
+in a .htaccess file.
+
Symbolic links would be another way to accomplish the same thing, if
+you have Options FollowSymLinks enabled on your
+server.