Welcome Guest, Not a member yet? Register   Sign In
.htaccess to force http using https and still get rid off index.php etc.
#8

[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-21-2011, 01:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB