[FX.php List] [OFF] Rewrite for forcing http to https possible?
Troy Meyers
tcmeyers at troymeyers.com
Thu Sep 11 16:45:46 MDT 2008
David,
It seems like that takes any non-SSL page request and sends it to the site top. What I need is for the requested URL to be honored, but just switched to https: first.
In other words, if someone does:
http://lab.troymeyers.com/flasking/article.php?about=Flaskling_Care
...I want it to go to:
https://lab.troymeyers.com/flasking/article.php?about=Flaskling_Care
...rather than to:
https://lab.troymeyers.com
-Troy
> I use .htaccess and this is the syntax:SSLOptions +StrictRequire
> SSLRequireSSL
> SSLRequire %{HTTP_HOST} eq "yoursite.com"
> ErrorDocument 403 https://yoursite.com
>
> hopefully this will work for you,
>
> David
More information about the FX.php_List
mailing list