.htaccess to force http using https and still get rid off index.php etc. |
[eluser]searain[/eluser]
Thanks! I tried, it works great! Now I have another question. Say if I have a form on this site, and the form is sent to a page on this site, http://mysite.php/form Now the form is sent to http://mysite.php/form, with two post variables user=me&password=open the door, but I am forcing it to redirect to https://mysite.php/form. But the post variable/value user=me&password=open the door are not posted to the redirected url, https://mysite.php/form. I changed the base_url to https. This solved the problem for the web page form on this site, the form post url is https now. But we may have other devices/apps rather than form on this site, post to this site too and if they post to http and after I redirected http to https, the post variables are lost. Are there any solutions for this? Thanks! |
Messages In This Thread |
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-19-2011, 10:42 AM
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-19-2011, 03:27 PM
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-19-2011, 07:21 PM
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-19-2011, 10:02 PM
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-20-2011, 03:52 AM
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-20-2011, 04:34 PM
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-21-2011, 12:55 AM
.htaccess to force http using https and still get rid off index.php etc. - by El Forum - 06-21-2011, 01:15 AM
|