title: codeigniter localhost internal server error 500
body: <p>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</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*) index.php?/$1 
  </code></pre>
  
  <p>now i am getting the error message as follows</p>
  
  <p>"Internal Server Error</p>
  
  <p>The server encountered an internal error or misconfiguration and was unable to complete your request."</p>
  
  <p>my project path is localhost/sc</p>
  
  <p>in the config.php file
  i put the following line</p>
  
  <pre><code> $config['base_url']='http://localhost/sc';
  </code></pre>
  
  <p>server error message is " Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration"</p>
  
  <p>I am using wamp server in windows platform
  please help me to solve this problem</p>
  
  <p>Thank you</p>