Reputation: 11574
I have an existing public directory with multiple PHP files and directories, all of which are used for an existing application. I want to drop in Laravel so I can start converting the app over to Laravel. I have added the .htaccess
and the index.php
file to the existing public directory. All the existing stuff works fine. However, when I try to access a directory that doesn't exist, the router should catch it an route to the setting I define. However, the routes file is not even being accessed. Any ideas? Does the public directory need to be completely empty?
Upvotes: 1
Views: 122
Reputation: 11574
I found the problem! It turns out the .htaccess file was not being used because of my settings in appache. I needed to change
AllowOverride None
to
AllowOverride All
I found the solution at epigroove
Upvotes: 1