Virtual hosting is forcing https |
hi, I am Brazilian so sorry the bad English, this is my first post here sorry if i make thing wrong.
I am codeigniter 3 user and I starting migration for ci 4 reading the docs, in the docs is recommended use virtual hosting and i succed but the codeigniter is forcing the https protocol and this is bad because i don't have a certifiqued. I open the file public/.htaccess and I saw that he is sending all requests to https. the question is I realy need change the .htaccess file every time or has a configuration for change this? Thank you and sorry any thing. i love cli
i love ci
I'm sorry but you must have turned on the $forceGlobalSecureRequests setting, there are nothing in public/.htaccess that force an secure connection.
i have discovered what happened, my server name in hosts was .dev and the Google pay the .dev domain e force all requests to .dev to be https.
i love cli
i love ci
You can no long use .dev it redirects to google.
SEE: A domain just for developers What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(06-25-2020, 08:42 AM)InsiteFX Wrote: You can no long use .dev it redirects to google. The whole idea of top-level domain ownership feels evil to me. ********** EDIT ************ I went back to the link @InsiteFX shared and came away with a different understanding. First, Google doesn't "own" the .dev TLD. It is only registering domain names to the .dev TLD which is a service you can buy from any number of other vendors. I'm pretty sure that the OP problem is a Chrome browser only thing where a .dev must use https or the browser won't display it. (This is evil too IMO) AFAIK, no other browsers do this. At least they did not when I ran into this issue a few years ago. I had a local development setup that suddenly stopped working. Took me a couple of days of wasted time to figure it out. (06-25-2020, 09:07 AM)dave friend Wrote:(06-25-2020, 08:42 AM)InsiteFX Wrote: You can no long use .dev it redirects to google. i think this is a absurd! they shouldn't have the right to do that, forbid me to use a domain on localhost and charge for it. i love cli
i love ci
|
Welcome Guest, Not a member yet? Register Sign In |