Welcome Guest, Not a member yet? Register   Sign In
Mod Rewrite / 500 internal error
#1

[eluser]Unknown[/eluser]
Hi,

I'm trying to remove the index.php from my url.
Here's my .htacess file.

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

I have change my config.php

$config['index_page'] = "";

And i'm getting an 500 error.

---------------------------------------------

If i change my .htacess rule with a redirection at the end it work fine!

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

But this is not the result i'm looking for....

Any idea why i'm getting this error?


Messages In This Thread
Mod Rewrite / 500 internal error - by El Forum - 06-28-2010, 06:17 PM
Mod Rewrite / 500 internal error - by El Forum - 06-28-2010, 06:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB