Mod Rewrite works if site is in a sub directory but not in the root |
[eluser]Daniel Moore[/eluser]
For a complete walk-through of a good .htaccess, visit: http://www.danielwmoore.com/remove_index...odeigniter My first suggestion is to change: Code: RewriteRule ^(.*)$ index.php/$1 [L] to: Code: RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA] The above referenced link should tell you why if you read through it all. This may very well fix the situation you are experiencing. Another issue I would address is a simple house-cleaning issue. Your lines: Code: RewriteCond %{REQUEST_FILENAME} !-f Code: RewriteCond $1 !^(index\.php|public|images|tmp|robots\.txt|css) Code: deny from all |
Messages In This Thread |
Mod Rewrite works if site is in a sub directory but not in the root - by El Forum - 05-04-2009, 09:48 PM
Mod Rewrite works if site is in a sub directory but not in the root - by El Forum - 05-05-2009, 05:42 PM
Mod Rewrite works if site is in a sub directory but not in the root - by El Forum - 05-05-2009, 07:29 PM
Mod Rewrite works if site is in a sub directory but not in the root - by El Forum - 05-06-2009, 05:01 AM
Mod Rewrite works if site is in a sub directory but not in the root - by El Forum - 05-06-2009, 05:13 AM
|