This was answered on the Laravel forums.
The problem was because AllowOverride
was set to None
in Apache. Changing that to All
solved all the routing problems.
Here is the example virtual host configuration from the post:
<VirtualHost *:80>
ServerAdmin youremail@yahoo.com
ServerName yoursite.com
ServerAlias www.yoursite.com
DocumentRoot "/var/www/yoursite.com/public"
<Directory /var/www/yoursite.com/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>