Laravel 4 .htaccess Not Rewriting URLs

后端 未结 1 572
再見小時候
再見小時候 2020-12-31 06:07

So I\'ve just upgraded to Laravel 4, and I\'m setting things up on a new server. The default / route works fine, but every other route returns a 404 error. When

相关标签:
1条回答
  • 2020-12-31 07:12

    I forgot to edit the vhosts in httpd.conf. Derp, derp. Added:

    <Directory "/var/www/public/site1">
        AllowOverride All
    </Directory>
    

    to each of the site's vhost files, and it worked beautifully. Derp derp.

    0 讨论(0)
提交回复
热议问题