SSL

From OCF Help

Jump to: navigation, search

The OCF web server supports Secure Sockets Layer (SSL) encryption through the secure.ocf.berkeley.edu hostname.

Requiring SSL for a Directory

You can use mod_rewrite to make SSL security mandatory for access to a directory in your web space. Place the following lines in a .htaccess file:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^secure(.*) https://secure.ocf.berkeley.edu/~username/secure$1 [R,L]

where secure is the name of the directory and username is your username.

See Also