So here's what I've done:
I wrote the system to use mod rewrite and direct all pages to "store.php" on the root of the domain. This works.
I'm on DreamHost and just installed an SSL cert to test with. The problem is that everything HAS to be under the HTTPS and I only want certain urls to be under the HTTPS for log-ins and secure payments.
Currently (since the site is not done) I want http://www.mysite.com/account and all css, images, and scripts to come through the https. But all other urls I want to go through http.
My current .htaccess looks like this:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /store.php [L]
Can anyone help?
Thanks,
Matt.