Can't get mod_rewrite to work... I want to get rid of /index.php/!
I am struggling in removing the /index.php/ section from my URLs... whatever I do I just seem to get 404 not found error...
http://localhost/~livvy/barbaraolive/index.php/testworks fine
but
http://localhost/~livvy/barbaraolive/testdoesn't!
test.php is a view without a controller, but i have also tried creating a controller & view with no success
My file structure looks a bit like:
> assets
> fuel
> application
> .htaccess
> cache
> config
...
> views
...
> test.php
My .htaccess file is as follows (taken from a forum, I am new to using mod_rewrite)
Options +FollowSymLinks
RewriteEngine On
RewriteBase /fuel
Order Deny,Allow
Deny From All
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [L]
Comments
as far as i can tell it should be working! i've managed to get mod_rewrite to work on another site i was working on, which was just code igniter, whereas the one I'm having problems with is a fuel cms installation...
Are you sure that RewriteBase is correct? Should be barbaraolive (or maybe even ~livvy/barbaraolive) no?
My paths don't look like yours though, I don't have the tilde part in mine..
MY_fuel.php
$config['fuel_mode'] = 'auto';
$config['admin_enabled'] = TRUE;
Lance: i've tried changing RewriteBase unsuccessfully..
The site is under my home, Sites > barbaraolive which is why I'm using the tilde
RewriteBase /~livvy/barbaraolive/