Pretty urls not working (404) – Router does nothing
Notice: This thread is very old.
- romanko
- Member | 4
Hello,
I want to implement pretty urls on my page, e.g. like that:
localhost/example/news/show/6
I get only 404 Not Found when navigating my browser to that url.
Code in my RouterFactory:
Part of the template with link:
Presenter of the page link is pointing to:
I am using apache2, linux mint 17.2 64bit,
access rights are set to +rwx to entire folder where my project resides,
mod_rewrite is enabled.
When I change Router to SimpleRouter in RouterFactory, everything works, except URL parameters are used for routing, what is not acceptable.
Does somebody know what is going on?
Thank you