mod_rewrite

Apache Responds with Wrong Certificate

I ran into a situation where a client was accessing a test site and ended up getting a certificate from another site on the same server. Here is the setup:

Submitted by davea on Tue, 2008-07-01 23:17. categories [ ]

Drupal and Secure Logins using mod_rewrite and manually setting the cookie

I never dug into mod_rewrite before Drupal. Now I do. I hope that I have explained this properly and that it helps others figure things out.

So here is the scenario:

  • logins should occur via SSL
  • everything else should occur via non-ssl
  • the main site is www.example.com
  • the ssl site is ssl.example.com
Submitted by davea on Thu, 2007-08-30 00:34. categories [ ]