Welcome Guest, Not a member yet? Register   Sign In
Strange redirect
#4

(This post was last modified: 08-13-2023, 02:21 AM by whatsnow.)

(08-12-2023, 11:57 PM)luckmoshy Wrote: it might be better if you specify which version of CI 4  at the  moment  and how did you config in App (baseUrl)

Thankyou for your response, I'm using version 4.3.6, my base url is:



 
PHP Code:
public string $baseURL 'https://www.mysite.com/';
/**
    * Allowed Hostnames in the Site URL other than the hostname in the baseURL.
    * If you want to accept multiple Hostnames, set this.
    *
    * E.g. When your site URL ($baseURL) is 'http://example.com/', and your site
    *      also accepts 'http://media.example.com/' and
    *      'http://accounts.example.com/':
    *          ['media.example.com', 'accounts.example.com']
    *
    * @var string[]
    * @phpstan-var list<string>
    */
    public array $allowedHostnames = ['mysite.com']; 

Kind regards,

Whatsnow
Reply


Messages In This Thread
Strange redirect - by whatsnow - 08-12-2023, 03:11 AM
RE: Strange redirect - by shortcode - 08-12-2023, 01:05 PM
RE: Strange redirect - by luckmoshy - 08-12-2023, 11:57 PM
RE: Strange redirect - by whatsnow - 08-13-2023, 02:21 AM
RE: Strange redirect - by whatsnow - 08-17-2023, 08:21 AM
RE: Strange redirect - by whatsnow - 09-21-2023, 04:39 AM
RE: Strange redirect - by dariberku - 10-22-2023, 09:11 AM
RE: Strange redirect - by FlavioSuar - 10-23-2023, 04:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB