Apache mod_rewrite Question

I'd like to have a few scripts on my server operate over my SSL without an a href="https://", and I've figured it out. This seems to work for me in httpd.conf

Code:
RewriteCond %{SCRIPT_FILENAME}          mysecurepage.php
RewriteRule ^/(.*)                      https://domain.com/$1 [L,R]
Now, my problem is getting off the SSL layer for all other scripts on the server. I'm horrible with regex. I'd would appreciate it greatly if some one could help me out. I really do not want to hard-code absolute URLs to get off SSL.

Thanks!

 

 

 

 

Top