How do you access your Laravel site? Do you have any domain assigned to this path or you just use localhost?
Have you ever used pretty urls on any other project on your server?
Hi,thanks for answer,
is in localhost. Use wamp server.
The complete url is: http://localhost/autonomo/public/resultados.
I never use pretty urls because it's the first time that i use Laravel.
If i change url like this:
http://localhost/autonomo/public/XXXX
When XXXX is a random word, the error is the same.
Pretty URLs are not Laravel's thing. Run phpinfo()
function and see if, under Loaded Modules section, you see mod_rewrite module.
What I can suggest is to check if your mod rewrite really works. Create another folder in your document root directory, for example /test
. Put two files in there: index.php with some random content (for example "Hello World") and .htaccess file with the following content:
RewriteEngine On
RewriteRule ^cat/?$ index.php
If you see content on point 1 and 3, but 404 on point 2, it's working.
Yes, I see content in 3 and 1 points. In second point have a 404 error :(
Then I don't know what is the problem. Have you changed anything in any of core files? Try with new Laravel installation perhaps.
OK, I don't know what the problem was... But work.
I reinstall laravel via composer, but in this case i download the github repository and after execute "composer install". After move the files of other project, and work :)
A lot of thanks for your time kokokurak!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community