Welcome Guest, Not a member yet? Register   Sign In
index.php in the root folder?
#6

@kadirilkimen,
> Is public_html the root folder for the website? CI 4 files doesn't have index.php in root folder. How did you get an index.php file in the root folder?

Yes public_html is mother online root folder whereas local host is my local root folder. The online directory structure is mirrored locally. I have a VPS and apache2 set to default to index.php.

Except for the “assets” folder and .htaccess file, everything else is above the root.

The documentation states that the index.php can be safely renamed and I tried it to see if it would work. The idea was also to see if it could be installed alongside an existing application without any conflicts. Only problem I see is the common .htaccess file.

I am not sure of your server setup but as long as the index.php points to the application folder and system folder and the folder paths are set correctly then the directories could be anywhere even on an external host.
Reply


Messages In This Thread
index.php in the root folder? - by kadirilkimen - 01-12-2021, 07:30 PM
RE: index.php in the root folder? - by iRedds - 01-12-2021, 08:22 PM
RE: index.php in the root folder? - by iRedds - 01-12-2021, 10:12 PM
RE: index.php in the root folder? - by John_Betong - 01-13-2021, 03:40 AM
RE: index.php in the root folder? - by iRedds - 01-13-2021, 06:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB