I found a nice little snippet of code to force certain pages to be served via ssl by applying a rewrite wule to them. What I want is to have apache change
http://my.domain.com/form.jsp to https://my.domain.com/form.jsp Here is my rewrite rule that I adapted from the mod_ssl FAQ. RewriteEngine on RewriteRule ^/(.*):SSL$ https://%{SERVER_NAME}/$1 \ [R,L] RewriteRule ^/(.*):NOSSL$ http://%{SERVER_NAME}/$1 \ [R,L] I can get https to work if the typed in url begins with https, but the rewrite always yeilds a 404. BTW, I'm using a pathced apache version 1.3.22, and tomcat 3.2.3. We are planning to upgrade, but can't yet. ===== [EMAIL PROTECTED] http://www.charleshbaker.com/~chb/ Hacking is a "Good Thing!" See http://www.tuxedo.org/~esr/faqs/hacker-howto.html __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>