Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The "RewriteSSL" page has been changed by thumbs. http://wiki.apache.org/httpd/RewriteSSL?action=diff&rev1=5&rev2=6 -------------------------------------------------- {{{ RewriteEngine On RewriteCond %{HTTPS} !=on [NC] - RewriteRule ^ https://%{SERVER_NAME}/%{REQUEST_URI} [R,L] + RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L] }}} Or, in a .htaccess or <Directory> block, you'd need to remove that leading slash: {{{ - RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L] + RewriteRule ^ https://%{SERVER_NAME}/%{REQUEST_URI} [R,L] }}} Or, if you wanted to have a particular subdirectory forced into https: