But it isn't working. My set up is a little unique. I'm running XAMPP under windows 8. Even though my XAMPP is installed at C:\xampp My document root isn't C:\xampp\htdocs. I've set up a virtual host so (I believe) my document root is at C:\Users\userName\Dropbox\Projects\projectName. (typing in http://localhost on my browser points to C:\Users\userName\Dropbox\Projects\projectName\index.php)

My .htaccess file is located at C:\Users\userName\Dropbox\Projects\projectName\.htaccess

[eluser]Pendorcho[/eluser]
There may be a problem in the virtual host. Try to set up your DocumentRoot to your project location and same for the Directory of your DocumentRoot. Reset apache. The config.php must be black: $config['index_page'] = '';.

I had the same problem because the inclusion of .htaccess try to search in another directory (check yout apache error log).

[eluser]xecure[/eluser]
[quote author="Pendorcho" date="1346461858"]Also on XAMPP enable the module rewrite_module (disabled by default)[/quote]How do I enable this? In my httpd.conf file i did a ctrl + F for rewrite_module and this is the line I see:

[eluser]xecure[/eluser]
[quote author="PhilTem" date="1346880748"]How about AllowOverride in your httpd.conf of you XAMPP?[/quote]I think it had something to do with this. For future readers and reference this is the .htaccess that worked properly: