Welcome Guest, Not a member yet? Register   Sign In
HTaccess not rerouting
#1

[eluser]Unknown[/eluser]
I have an application that works great when using the full url: sitename.com/index.php/foo/ but when I use HTaccess to remove the index.php it doesn't seem to work as expected. No matter which page I access I only see the home page. The htaccess file is doing something because without that line I get a 404 error.

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|file-manager-files|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]

Thoughts?

On my test site everything works just fine. Is this a server setting that needs to be tweaked?




Theme © iAndrew 2016 - Forum software by © MyBB