CodeIgniter showing only default controller

后端 未结 15 2914
-上瘾入骨i
-上瘾入骨i 2021-02-14 21:59

I am using Codeigniter in Local WAMP. Here code is working fine. But i upload in Cpanel ( inside of example.com, folder name call \'mysite\'). Ther

15条回答
  •  滥情空心
    2021-02-14 22:13

    .htaccess Code

    Restore the default config to config.php, Hope this helps you.

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* index.php/$0 [PT,L]
    

提交回复
热议问题