.htaccess - Codeigniter | OVH | htaccess / url rewriting | Site very slow -



.htaccess - Codeigniter | OVH | htaccess / url rewriting | Site very slow -

here htaccess removing index.php codeigniter :

rewriteengine on rewritecond $1 !^(index\.php|assets|robots\.txt) rewriterule ^(.*)$ index.php/$1 [l]

but .htaccess, there error "file not found." so, i'm searching, , here little solution : http://forum.ovh.com/showthread.php?93572-codeigniter-et-htaccess

adding "?" resolve problem, site very slow, , fast ! , sometimes, style sheets don't load (assets/css/)...

what problem ? think it's htaccess i'm not sure.

spec.: host : ovh php ver. : 5.2 ci ver. : 2.1.4

try code ovh forum:

rewriteengine on rewritebase / rewritecond %{request_uri} ^system.* rewriterule ^(.*)$ /index.php?/$1 [l] rewritecond %{request_uri} ^application.* rewriterule ^(.*)$ /index.php?/$1 [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php?/$1 [l]

.htaccess codeigniter mod-rewrite

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -