Welcome Guest, Not a member yet? Register   Sign In
Using :any route breaks css/images
#9

[eluser]Dam1an[/eluser]
[quote author="Phil Sturgeon" date="1252686216"]
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

Also, anyone who doesn't use that .htaccess rule is making their own life difficult. This means a HTTP request only goes through to CodeIgniter if it is not a file or directory. Why bother manually adding every single possible file or folder in?[/quote]

Just to be awkward, I'd like to argue against that Smile
If you integarte something else with a CI site, such as WP in my case, then I don't have a file or directory called my-category, but I don't want CI to touch it Wink


Messages In This Thread
Using :any route breaks css/images - by El Forum - 09-10-2009, 09:50 AM
Using :any route breaks css/images - by El Forum - 09-10-2009, 10:01 AM
Using :any route breaks css/images - by El Forum - 09-10-2009, 10:02 AM
Using :any route breaks css/images - by El Forum - 09-10-2009, 10:04 AM
Using :any route breaks css/images - by El Forum - 09-10-2009, 10:14 AM
Using :any route breaks css/images - by El Forum - 09-10-2009, 06:24 PM
Using :any route breaks css/images - by El Forum - 09-10-2009, 06:45 PM
Using :any route breaks css/images - by El Forum - 09-11-2009, 05:23 AM
Using :any route breaks css/images - by El Forum - 09-11-2009, 05:41 AM
Using :any route breaks css/images - by El Forum - 09-11-2009, 05:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB