Ssl Cgi-bin

I’m a complete a total newbie when it comes to SSL. What I’d like to do is place the CGI-BIN of a site under SSL protection and anyone not at 128-bit encryption be denied access to it.

The problem is I have no idea about how to go about doing this.

Any and all help would be appreciated.

Ok… So I have the whole site available under SSL now.

What I’d like to do is a tad unusual.

  1. If someone requests the site root under SSL I’d like them to just go to the non-SSLed site.
  2. If someone requests http://www.mysite.com/cgi-bin/script/script.cgi I want them to go to the SSLed version.

I would think .htaccess could do this but I might be wrong and I don’t know how.