I have several very basic mod rewrite rules set up that are working great until somebody gets into the secure section of my site. I have my links set up to link to as an example: /store.html which is rewritten as: rewriteRule ^store\.html$ /store/customer/home.php [L]
The problem is that when the customer is in a secure part of the site, the link becomes https://site.com/store.html instead of just [site.com...] and with the https in front, the URL isn't getting rewritten.
Rather than make all of the hyperlinks absolute links with [site.com...] in front, I would like to just get apache mod rewrite to parse this out.
Thanks to both of you. I couldn't find anything to do with https in mod rewrite in my research. So, I just changed the links from /whatever.html to [site.com...] -- It's a minor annoyance, since I tend to develop a site first with the IP address then add the domain name. Minor only though. :-)