Support the ongoing development of Laravel.io →
Authentication Forms Validation
Last updated 1 year ago.
0

You should if you nginx contains the rewrites or if you have apache, check if an .htaccess file is available. From what I can see, it looks like a problem with the rewrites.

0

If you cached your routes, then try to run this:

php artisan route:cache

or don't cache them at all

php artisan route:clear
0

I have the exact the same problem.
I tried "php artisan route:cache" and "php artisan route:clear" but the problem is tstill there,

I'm running xampp with apache and I have a .htaccess file in the public directory (that laravel created I think)

It looks like this:

<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule>
RewriteEngine On  

##Redirect Trailing Slashes If Not A Folder...  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteRule ^(.*)/$ /$1 [L,R=301]  

##Handle Front Controller...  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteRule ^ index.php [L]  
</IfModule>

Is it any problem in that one?

Last updated 8 years ago.
0

Find the problem myself.
If you are running apache in xmapp It wont work

But if you start the server with 'php artisan serve --port=80' it works

0

Check if the Rewrite module is active and relevant htaccess had AllowOverride set correctly.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

b82 b82 Joined 12 May 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.