I am starting a new project in codeigniter. While setting up work folder in localhost i put the following htaccess file in my project root folder for remove index.php from the url
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1
now i am getting the error message as follows
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."
my project path is localhost/sc
in the config.php file i put the following line
$config['base_url']='http://localhost/sc';
server error message is " Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration"
I am using wamp server in windows platform please help me to solve this problem
Thank you