Welcome Guest, Not a member yet? Register   Sign In
base_url security
#1

Hi all,

Is there any way to secure below base_url in CI(3.1.10)

$config['base_url'] = 'http://' . $_SERVER['HTTP_HOST']


Thanks in advance
Reply
#2

@az1409,

When you say secure are you talking about SSL or HTTPS?
Reply
#3

You can do it like this.
https://codeigniter.com/userguide3/insta...-not-empty
Reply
#4

(This post was last modified: 05-10-2020, 09:49 PM by az1409.)

(05-08-2020, 09:33 AM)php_rocs Wrote: @az1409,

When you say secure are you talking about SSL or HTTPS?

No.


Unfortunately, the site is on HTTP.

(05-08-2020, 09:42 AM)jreklund Wrote: You can do it like this.
https://codeigniter.com/userguide3/insta...-not-empty
ThanksĀ !!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB