I have the simple code in my routes.php:
Route::get('/', function()
{
return View::make('hello');
});
Route::get('/mypage', function()
{
echo 'mypage';
});
Visiting mysite.dev/ will return the hello view. However, visiting mysite.dev/mypage gives me a 404. In my phpinfo(); I'm showing mod_rewrite enabled (as seen here: https://www.dropbox.com/s/u972n1rcdbsambg/Screenshot%202014-07-09%2022.27.04.png)
Any idea why this wouldn't work? I'm running Mac OS X Mavericks with apache2 and PHP with Laravel 4.