Welcome Guest, Not a member yet? Register   Sign In
Redirect issue
#9

(08-02-2019, 02:41 PM)InsiteFX Wrote: I' am running XAMPP on Windows 10 Pro x64 1903

But I use vhost for mine.


Reboot your server and you are good to go.
You can now use a base_url like https://ci3.local/

The vhost file will map everything out for you.

Note: this is for testing on local machine only!

Yes I know I can set up a virtual host, but that's not the point. It should work when installed in a sub directory. The framework should always use the configuration options to generate the URL's (baseURL and indexPage) and never assume it can be accessed at the root of the domain where it's installed or that you will use mod_rewrite to remove index.php.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
Reply


Messages In This Thread
Redirect issue - by SirTom - 07-25-2019, 11:18 PM
RE: Redirect issue - by Digital_Wolf - 07-26-2019, 01:31 AM
RE: Redirect issue - by SirTom - 07-26-2019, 03:04 AM
RE: Redirect issue - by Digital_Wolf - 07-26-2019, 12:02 PM
RE: Redirect issue - by includebeer - 08-02-2019, 10:51 AM
RE: Redirect issue - by InsiteFX - 08-02-2019, 02:11 PM
RE: Redirect issue - by includebeer - 08-05-2019, 06:47 AM
RE: Redirect issue - by InsiteFX - 08-02-2019, 02:41 PM
RE: Redirect issue - by includebeer - 08-05-2019, 06:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB