refining http to https redirects

Through use of virtual hosts in httpd.conf I set up rewrite conditions to make pages forward to https automatically, however it does so for every page, what do I need to change to make it only for specific pages of my site (like the signup page for example)

here is a copy of what I added

RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]

any assistance is appreciated

 

 

 

 

Top