CodeIgniter 500 Internal Server Error

前端 未结 11 778
忘掉有多难
忘掉有多难 2020-12-11 16:10

I downloaded a PHP script written using CodeIgniter. when I run it from the localhost, on going to the admin folder, it shows localhost again. Also when running from my web

11条回答
  •  天涯浪人
    2020-12-11 16:42

    Try this to your .htaccess file:

    
      RewriteEngine On
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php?/$1 [L]
    
    

提交回复
热议问题