I have a fresh install with almost no changes and it will not accept any new routes. I have tried multiple things with the virtual hosts file, mostly what I found on other sites but nothing has worked.
I am able to get the default, but no other routes.
So this works:
Route::get('/', function()
{
return View::make('hello');
});
but this doesn't:
Route::get('test', function()
{
return 'Hello;
});
Right now I have a conf
file for apache that looks like:
<VirtualHost *:80>
#Host Name
ServerAdmin webmaster@localhost
ServerName example.com
ServerAlias www.example.com
DocumentRoot /path/to/our/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /path/to/our/public>
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
</Directory>
</VirtualHost>
I have no problem accessing the site, it loads and I get the welcome page from laravel but I can't do any other routing or anything. Permissions are all okay and I can change this route to anything I want.