[FX.php List] [OFF] Rewrite for forcing http to https possible?

Troy Meyers tcmeyers at troymeyers.com
Thu Sep 11 17:04:11 MDT 2008


David,

Huh. No, that doesn't work either. The URL in the browser doesn't change. I tried a couple of different test URLs.

Could it be that mod_rewrite isn't enabled even though I think it is?

Is there a good way to test for that?

-Troy


> Give this is a try:
>
> RewriteEngine On
> 
> RewriteCond %{HTTPS} off
> 
> RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
> 
> - David



More information about the FX.php_List mailing list