routes issue |
hi guys
i m a novice。 i just create a simple project,add some controllers according to demo, but when running,codeigniter cant handle the request except the default_controller ,"http://localhost:81/" if some url like " http://localhost:81/team",error 404 appeared,but not the default error_404 page, but if change the .htaccess file to: RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] everything work fine. so my question is whether i must change the .htaccess file when work with codeigniter,if not,where is the why. sorry,english is not my mother language. thanks for you. |
Messages In This Thread |
routes issue - by psycho - 06-14-2015, 12:06 PM
RE: routes issue - by mwhitney - 06-15-2015, 08:19 AM
|