1
I’m migrating to linux and I’m having a hard time, I installed php, apache, mysql and Composer, I can create projects all blz I had a great help until I reached it all.
The problem is when I try to access dev.meu_projeto.com/something... when I enter /something_gives me this:
Not Found
The requested URL /login was not found on this server.
Apache/2.4.9 (Ubuntu) Server at dev.meu_projeto.com Port 80
have already done :
chmod -R 777 /app/storage
chmod -R 755 meu_projeto
I have the files :
etc/apache2/sites-available/dev.meu_project.com.conf with access the public folder
etc/hosts with 127.0.0.1 dev.meu_project.com.conf
insert a :
serverName henrique-Ubuntu (nome da maquina)
etc/apache2/apache2.conf and etc/apache2/httpd.conf (file I created to insert)
I just tested a :
php artisan serve
ai has spun beauty other urls like: dev.me_project.com/login
I don’t know what else to do...
I have my projects organized in a directory
home/user/Workspace
Where separate other directories for each purpose for example >tests/website.....
The Documentroot is pointing to the project directory, type:
/ home/user/Workspace/tests/website
url with the cited files
http://duvidas.laravel.com.br/bin/L9w
I just can’t understand.... can only be a bug, because I edited etc/apache2/sites-available/dev.henrquebk.com.conf and it worked for this project but the others don’t work the routes at all... I’ve copied and nothing yet....
>>>> There is no error in the routes, because I was already testing the project in Windows
– henrique
It can be the config of your vhost. add that line:
Require all granted
.. More information on this link http://httpd.apache.org/docs/2.4/upgrading.html ;)– lucasvscn