M
M
mWan2018-12-10 04:08:13
Apache HTTP Server
mWan, 2018-12-10 04:08:13

Routes don't work. I'm assuming it's because of the port I specified in the Vagrantfile. Or what else could it be?

Here is what I have in Vagrantfile

config.vm.network "forwarded_port", guest: 80, host: 8080

Only the main page works, other routes do not work. In php artisan route:list, all routes are there, the server insisted as it should be: DocumentRoot /var/www/html/public
Any view works if a slash is passed to it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question