0

When i run the package from IP that is generated by php artisan serve command, its run easily. It I another icon of the site then it can not find valid route. As example some images is attached. enter image description here

http://localhost/ecomerce/public/list. After clicking the image the valid url does not show and return error like this image enter image description here and URL is "http://localhost/detail/4/Demo_selection_article/1" that is my problem.

If I rewrite the URL as http://localhost/ecomerce/public/detail/4/Demo_selection_article/1 then work well. The package I use that link is https://github.com/aimeos/aimeos-laravel.

How can I solve this problem? Pleas help me.

rockey
  • 37
  • 1
  • 6

1 Answers1

0

The Laravel router expects that ./public/ is your document root, so your problem isn't related to Aimeos if I'm correct but is a common Laravel problem.

Toco
  • 104
  • 7