Welcome Guest, Not a member yet? Register   Sign In
Mod rewrite problem with Ubuntu
#7

[eluser]CroNiX[/eluser]
Try this by itself. If it doesn't work, try removing the ?. I use this on Ubuntu 10.04 (except I don't need a RewriteBase). The rest of that is unneeded for CI 2+
Code:
RewriteEngine On
RewriteBase /zayanit/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]


Also, I think the problem might be with your if blocks. On my server, the extensions are .so, not .c. If you use the above this will probably confirm that.


Messages In This Thread
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 11:43 AM
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 12:48 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 01:02 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 01:05 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-21-2012, 01:10 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-22-2012, 02:59 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-22-2012, 03:22 PM
Mod rewrite problem with Ubuntu - by El Forum - 06-22-2012, 03:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB