I'm attempting to become more selective by which pages/demands are utilizing SSL for performance reasons. I must use htaccess to redirect to https:// for just the needed pages and redirect to http:// for anything else. This is exactly what I've:

RewriteEngine On

# force https
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)/(abc|xyz)(.*)$ https://%{HTTP_HOST}/$1/$2 [R=301,NC,L]

RewriteCond %{SERVER_PORT} ^443$
RewriteCond %{HTTP_REFERER} !^https(.*)/(abc|xyz)(.*)$ [NC]
RewriteCond %{REQUEST_URI} !^(.*)/(abc|xyz)(.*)$ [NC]
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,NC,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ initialize.php [QSA,L]

the secure demands are ment to become abc or abc. However , if http:// example.com/abc is asked for it's redirecting to http:// example.com/initialize.php. a non-secure page works not surprisingly.