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

(This post was last modified: 01-12-2021, 09:30 PM by John_Betong.)

@kadirilkimen,

This may be of interest:

I have a localhost CI4 installation using Ubuntu with apache2:

I made the following changes:

1. renamed /var/www/ci4-stict.tk/public_html/index.php to index-001.php
2. modified /var/www/ci4-stict.tk/public_html/.htaccess -> RewriteRule ^(.*)$ index-001.php/$1 [L]
3. browsed to http://localhost/ci4-strict.tk/public_ht...ex-001.php

Delighted to say: splash page and all linked web-pages worked fine Smile

Edit:
I forgot to mention that I already had the following set:
Code:
// file: ./app/Config/App.php

public $indexPage = ''; //'index.php';
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 John_Betong - 01-12-2021, 09:24 PM
RE: index.php in the root folder? - by iRedds - 01-12-2021, 10:12 PM
RE: index.php in the root folder? - by iRedds - 01-13-2021, 06:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB