From fdd44e8ec8384ed919fdd847d2a48656a45eda75 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 16 Feb 2024 10:07:27 +0900 Subject: [PATCH 1/3] docs: add note for index.php change --- user_guide_src/source/installation/upgrade_4xx.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/user_guide_src/source/installation/upgrade_4xx.rst b/user_guide_src/source/installation/upgrade_4xx.rst index 8f9770e7fe3d..92bdd691f281 100644 --- a/user_guide_src/source/installation/upgrade_4xx.rst +++ b/user_guide_src/source/installation/upgrade_4xx.rst @@ -47,6 +47,13 @@ Namespaces Application Structure ===================== +.. important:: + **index.php** is no longer in the root of the project! It has been moved inside + the **public** folder, for better security and separation of components. + + This means that you should configure your web server to "point" to your project's + **public** folder, and not to the project root. + - The **application** folder is renamed as **app** and the framework still has **system** folders, with the same interpretation as before. - The framework now provides for a **public** folder, intended as the document root for your app. From d11bbbd343bdb6de025b6e4030a419471a4cbff3 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 16 Feb 2024 11:00:07 +0900 Subject: [PATCH 2/3] docs: add about Shared Hosting --- user_guide_src/source/installation/upgrade_4xx.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/user_guide_src/source/installation/upgrade_4xx.rst b/user_guide_src/source/installation/upgrade_4xx.rst index 92bdd691f281..daf0d89b57e3 100644 --- a/user_guide_src/source/installation/upgrade_4xx.rst +++ b/user_guide_src/source/installation/upgrade_4xx.rst @@ -54,6 +54,9 @@ Application Structure This means that you should configure your web server to "point" to your project's **public** folder, and not to the project root. + If you would use Shared Hosting and you cannot set it, see + `Install CodeIgniter 4 on Shared Hosting (cPanel) `_. + - The **application** folder is renamed as **app** and the framework still has **system** folders, with the same interpretation as before. - The framework now provides for a **public** folder, intended as the document root for your app. From a9c17a934e3ed13ae239027b93478a2e63a3d056 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 22 Feb 2024 09:23:37 +0900 Subject: [PATCH 3/3] docs: add link to "Deployment to Shared Hosting Services" --- user_guide_src/source/installation/upgrade_4xx.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/user_guide_src/source/installation/upgrade_4xx.rst b/user_guide_src/source/installation/upgrade_4xx.rst index daf0d89b57e3..1253e783bb2f 100644 --- a/user_guide_src/source/installation/upgrade_4xx.rst +++ b/user_guide_src/source/installation/upgrade_4xx.rst @@ -54,8 +54,7 @@ Application Structure This means that you should configure your web server to "point" to your project's **public** folder, and not to the project root. - If you would use Shared Hosting and you cannot set it, see - `Install CodeIgniter 4 on Shared Hosting (cPanel) `_. + If you would use Shared Hosting, see :ref:`deployment-to-shared-hosting-services`. - The **application** folder is renamed as **app** and the framework still has **system** folders, with the same interpretation as before.