a simple 'test' route keeps returning a 404.
Route::get('test', function() {
return View::make('test');
});
The route doesn't work whether it's localhost/test, or vhost.dev/test or even when using our sub.domain.com/test with the DNS pointing to that particular laptop.
We were using XAMPP but switched to apache after learning that xampp was not suitable for a production environment. So I installed apache 2.4.7, php and the various sqlsrv mods on one of our win7 laptops. After moving to Apache, all routes have stopped working even with the same directory structure.
I've also tried moving all files in /public into /htdocs and the rest of the app into a laravel folder in the root apache2.4 folder.
I'm tested if mod_rewrite is enabled using this code on SO. This is the response so I suppose it is working?
Apache/2.4.7 (Win32) PHP/5.4.24
mod_rewrite available
htaccess
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>