[Maypole] Using secure server in particular conditions?

Jesse Sheidlower jester@panix.com
Wed, 3 Mar 2004 15:16:58 -0500


I assume there's an easy way to do this using some mod_perl knowledge
that I don't possess.

I'd like to be able to handle particular requests using SSL. How do
I remap the request so this can happen?

In a previous CGI-based application, I handled it at the server
level by having

<VirtualHost _default_:80>
  RedirectMatch ^(.*login\.cgi) https://www.mysite.com$1
</VirtualHost>

And then any links from my login page would be specified with
http:// . Of course this only works if you're only doing the
login page, and it happens to have a name ending in "login.cgi".

How would I do it in Maypole, if, for example, I wanted any
request to a "login" page, or anything at all using the "user"
table, to be wrapped in SSL, but everything else to be normal?

Thanks.

Jesse Sheidlower