Redhatnet.com


 * some notes about Apache configs

RewriteEngine On
 * .htaccess
 * 1) This will enable the Rewrite capabilities

RewriteCond %{HTTPS} !=on
 * 1) This checks to make sure the connection is not already HTTPS

RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
 * 1) This rule will redirect users from their original location, to the same location but using HTTPS.
 * 2) i.e.  http://www.example.com/foo/ to https://www.example.com/foo/
 * 3) The leading slash is made optional so that this will work either in httpd.conf
 * 4) or .htaccess context


 * 1) http://wiki.apache.org/httpd/RewriteHTTPToHTTPS

<!DOCTYPE html> labs.ninja.pt body { background-image:url('labs1_pic2.png'); background-color:#cccccc; background-repeat:no-repeat; background-attachment:fixed; background-position:center; }
 * index.html

labs1 at labs.ninja.pt default folder