I downloaded a PHP script written using CodeIgniter. when i run it from localhost going to admin folder it shows localhost again. Also, when launched from my web host, it shows 500 internal server errors.
I start the site from http: // localhost / myproj It works. Then, when I try to go to the admin page, which is located at http: // localhost / myproj / administrator , it gives 500 internal server errors.
I read here that this could be due to incorrect code in the .htaccess file. This is my current .htaccess file
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)/$ $1 [L,R=301] RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L]
Please help me. I know this can be a very small problem, but I cannot find the error.
acidburn23
source share