[eluser]Aken[/eluser]
My localhost install is kind of weird with RewriteBase - I haven't gotten it to work properly in subfolder installs of CI. I've needed to add the folder prefix to all my RewriteRules.
Try this .htaccess with the URI protocol set to AUTO first, and then the other flavors if auto doesn't work.
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /vb/index.php/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /vb/index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /vb/index.php/$1 [L]
</IfModule>
If THAT doesn't work, try this .htaccess and again go through the uri_protocol options (note the question marks in the RewriteRules):
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /vb/index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /vb/index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /vb/index.php?/$1 [L]
</IfModule>
Remember to put the .htaccess in the folder with your CodeIgniter install, NOT your root localhost folder (I assume you're already doing that, but just in case).