I am starting a new project in codeigniter. When setting up the working folder in localhost, I put the following htaccess file in the project root folder to remove index.php from the URL
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1
now i get the error as follows
"Internal server error
The server detected an internal error or incorrect configuration and was unable to fulfill your request.
my project path is localhost / sc
in the config.php file I will put the following line
$config['base_url']='http://localhost/sc';
Server error message: "Invalid" RewriteEngine "command, possibly with an error or determined by a module not included in the server configuration"
I am using a wamp server on a Windows platform please help me solve this problem.
thanks