You must have mod_rewrite enable on your Apache server. The rewrite module is required to apply these settings. You also have enabled .htaccess in Apache virtual host for Laravel. Edit the .htaccess file so that it contains the following code:
Now you should be able to access the website without the “/public/index.php/” part.