its called URL rewriting, and laravel comes with this by default i.e. there is a .htaccess file in public/route that redirects everything.. so it could be this is not enabled by default in your apache.
if this is a local one, then you can set this up yourself in httpd-vhosts.conf? (search for setting up a virtual host)
so basically you would do something like:
<VirtualHost *:80>
ServerAdmin email
DocumentRoot "/Users/admin/projects/personal/mphm/public"
DirectoryIndex index.php
<Directory "/Users/admin/projects/personal/mphm/">
AllowOverride all
Require all granted
</Directory>
ServerName mphm.localhost.com
ServerAlias mphm.localhost.com
ErrorLog "/private/var/log/apache2/mphm-error_log"
CustomLog "/private/var/log/apache2/mphm-access_log" common
</VirtualHost>
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community