[nycbug-talk] OT: Apache/mod_rewrite question

Kevin Reiter tux at penguinnetwerx.net
Sun Jan 28 22:36:58 EST 2007


I've been trying to figure this out for a few hours now, and I can't 
quite get it working, and I *know* someone in here knows how to do this...

I'm trying to force all traffic to an Apache server (on my laptop) to 
use SSL.  The laptop is on a dynamic IP with no static domain, so I 
can't force http://machine.domain.tld to https://machine.domain.tld, and 
since the IP changes depending on where I am, I can't use that for a 
rewrite, either.

Do any of you Apache gurus know of a way to do this using an .htaccess 
file or via a simple edit to httpd.conf?  I've been checking Google for 
awhile, but everything I've come across doesn't quite do the trick.


More information about the talk mailing list