Welcome Guest, Not a member yet? Register   Sign In
Excluding a uri from Codeigniter handling it?
#3

[eluser]richthegeek[/eluser]
there is another way to do it, which is with a "file/dir exists" condition;
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

That will catch any files that exist on the server and stop them being passed to CI.


Messages In This Thread
Excluding a uri from Codeigniter handling it? - by El Forum - 12-27-2009, 11:01 AM
Excluding a uri from Codeigniter handling it? - by El Forum - 12-27-2009, 12:38 PM
Excluding a uri from Codeigniter handling it? - by El Forum - 12-27-2009, 01:02 PM
Excluding a uri from Codeigniter handling it? - by El Forum - 12-27-2009, 01:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB