Example:
Route::get('/get', function() { return 'get'; });
To view the route above, I have to go to public / index.php / get.
I looked at quite a few SO posts and looked for different things, and that didn't change (yes, I restart Apache every time).
Here is my .htaccess in the public directory:
<IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On </IfModule> # For all files not found in the file system, reroute the request to the # "index.php" front controller, keeping the query string intact <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>
What could be the reason for this? I am running Ubuntu.
apache .htaccess laravel
user3817533 Jul 16 '14 at 15:22 2014-07-16 15:22
source share