Problem with .htaccess and slash in URI |
URI will be redirected to http://ci4.dev/public/<controller>/<...> when I'm accessing controller with add slash at the end.
Like this: Code: http://ci4.dev/home/ will be redirected to: Code: http://ci4.dev/public/home => Not Found! Normal: Code: http://ci4.dev/home The .htaccess file: Code: # Redirect Trailing Slashes... Problem solved with this change (removed '/public'): Code: # Redirect Trailing Slashes... Apache: 2.4.18 ENVIRONMENT: development |
Messages In This Thread |
Problem with .htaccess and slash in URI - by mixinix - 06-28-2016, 10:55 PM
|