This tutorial describes how to setup SSL on Apache webserver. The tools needed to set ssl up a linux server are openssl, a user with sudo privileges and apache webserver.
The RewriteMap directive defines an external function which can be called in the context of RewriteRule or RewriteCond directives to perform rewriting that is too complicated, or too specialized to be performed just by regular expressions.