Welcome Guest, Not a member yet? Register   Sign In
CI + mod_rewrite + CI = ?
#2

[eluser]daniel.affonso[/eluser]
Here in the forum have a lots of htaccess solutions, the one that was usefull to me:

Code:
RewriteEngine on

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php/$1 [L]

This is means all requests that not a existent folder or file will be redirect to the index.php

I hope this is help you...


Messages In This Thread
CI + mod_rewrite + CI = ? - by El Forum - 12-03-2007, 08:40 PM
CI + mod_rewrite + CI = ? - by El Forum - 12-03-2007, 09:05 PM
CI + mod_rewrite + CI = ? - by El Forum - 12-04-2007, 05:24 AM
CI + mod_rewrite + CI = ? - by El Forum - 12-10-2008, 09:55 PM
CI + mod_rewrite + CI = ? - by El Forum - 12-11-2008, 09:01 AM
CI + mod_rewrite + CI = ? - by El Forum - 12-11-2008, 11:02 AM
CI + mod_rewrite + CI = ? - by El Forum - 12-11-2008, 11:42 AM
CI + mod_rewrite + CI = ? - by El Forum - 12-11-2008, 12:23 PM
CI + mod_rewrite + CI = ? - by El Forum - 12-11-2008, 12:45 PM
CI + mod_rewrite + CI = ? - by El Forum - 12-11-2008, 02:12 PM
CI + mod_rewrite + CI = ? - by El Forum - 12-11-2008, 02:43 PM
CI + mod_rewrite + CI = ? - by El Forum - 01-25-2009, 08:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB