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

[eluser]Phil Sturgeon[/eluser]
You are having exactly the same problem as this post that I answered about 5 minutes ago.

Code:
RewriteEngine on
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?


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