Welcome Guest, Not a member yet? Register   Sign In
Hi. How can i cancel the uri style of Code Igniter system?
#6

[eluser]Jelmer[/eluser]
This is not a problem caused by CI, CI shouldn't handle /stats/ at all. The problem is that "/stats/" is being passed to CI. CI can't cause what's passed to it, that's the webserver's job.

Quote:I tried these.

RewriteEngine on
——
RewriteCond $1 !^(index\.php|images|robots\.txt|stats)
-or-
RewriteCond $1 !^(index\.php|robots\.txt|stats)
-or-
RewriteCond $1 !^(index\.php|stats)
——
RewriteRule ^(.*)$ /index.php/$1 [L]

But result same.

http://site.com/stats/ => “404 Page Not Found”
http://site.com/ => css’s doesn’t load. site was broken down.
This brings me to another question: have you verified that stats works without a .htaccess file in there? (or without CI there at all) And if this CSS changes how your CSS works then it changes something, so how did it look before you changed it after my first answer? Maybe you were excluding the css directory ass wel before? What did your .htaccess look like when the css was still working?


Messages In This Thread
Hi. How can i cancel the uri style of Code Igniter system? - by El Forum - 09-13-2010, 09:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB