I am new to laravel. I built a route on my QNAP NAS and it works fine. But I move the route file to the Ubuntu 18.04 server, except the root "/" is works fine, all '/xxx' route reported error '/xxxx was not found on this server'. When I changed the root to return the page /xxxx, it display correctly. Can anyone tell me what is going wrong?
Maybe your nginx issue, try to add index.php
after "/", something like this: /index.php/xxx
Alley Ma, I followed you method and it works. Can you tell me how to fix this issue ? I am using Apache2.
To fix this, u must enable apache's mod_rewrite
module.
I think these two links may help:
And sure, u can question me any further issue.
The mod_rewrite has been enabled and I modified the .haccess file but still the same. The Apache.org docs seems to hard for me to understand.I think it's a Apache setting problems.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community