This is what my `.htaccess` looks like. The `.htaccess` is sitting in `/www/scripts` directory which is the parent of codeigniter's `system` directory and which also contains `index.php`. I have enabled `mod_rewrite` in my Apache 2.2.x. This is on Ubuntu 9.10 server.

I followed this [link](https://stackoverflow.com/questions/1445385/how-to-remove-index-php-in-codeigniters-path), but it does not work. Is there anything I need to do in apache2, any specific configuration so that this works?

```
RewriteEngine on 
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)$ index.php/$1 [QSA,L]

```