[FX.php List] [OFF] https per page?

Troy Meyers tcmeyers at troymeyers.com
Tue Dec 8 09:26:32 MST 2009


As I said before I just force any http access to become an https access. I do it using an Apache rewrite rule. Here's the top part (later stuff isn't relevant to the discussion) of the .htaccess file at the root level of web server docs (Documents folder):

...................................................................
#  this file is  /.htaccess at the root level of web server docs

# Turn engine on first for any of the below
RewriteEngine On 

# First make sure /fmi/ stuff isn't changed in any way, including no force to SSL
RewriteRule ^fmi/.*$ - [L]

# Redirect any http: to https:
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,NE,L]

# The following stuff is the normal stuff....
...................................................................


-Troy


More information about the FX.php_List mailing list