Welcome Guest, Not a member yet? Register   Sign In
Install CodeIgniter 4 on shared hosting

Finally I've found the solution. Now .htaccess is like this:

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

I had the idea to use same settings that a couple Laravel apps on other subdomains are using, since the operations they do are similar, and it works. Now the problem is I can't access database, but if I cant't solve that I guess it would be a subject for another thread.

Thanks for your help.

Messages In This Thread
RE: Install CodeIgniter 4 on shared hosting - by jordivid - 01-15-2021, 02:46 AM

Theme © iAndrew 2016 - Forum software by © MyBB