Laravel - 基本路线404

I am refreshing my Laravel basics and have run into an issue straight away.

I am using a Bitnami WAMP stack and have a Laravel project setup and working. The first change I have made is to add another route to the /routes/web.php file like this...

Route::get('/hello', function () {
    return 'Hello world';
});

But when I go to my url www.example.com/hello I get a 404

Artisan shows the route...

| GET|HEAD | hello    |      | Closure | web      

Anyone any pointers on troubleshooting? Could it be my Bitnami configuration at fault?

I think the problem with the cache, try:

php artisan route: clear

Server-side caching is also possible.

Just try to install https://github.com/barryvdh/laravel-debugbar there you can see how it works out the route.

Still look at rewrite_module on apache https://laravel.com/docs/5.6#web-server-configuration

Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

Managed to work this one out in the end. I needed to add the following to my Apache httpd-vhosts.conf

<VirtualHost *:80>
    DocumentRoot "C:/Bitnami/wamp/apache2/htdocs/myapp/public"
    ServerName siteagent.test
    <Directory "C:/Bitnami/wamp/apache2/htdocs/myapp/public">
        Options Indexes FollowSymLinks
        AllowOverride all
        Require local
    </Directory>
</VirtualHost>