Question
Laravel 5.2 installation in Droplet LAMP-Ubuntu 18.04
I create a Droplet LAMP-Ubuntu 18.04 to use a Laravel project. Use git clone to past my project and all basic installation, composer install, etc, But when try go to the url Ex: “104.12.26.03/mainsystem/public” show this error NotFoundHttpException in RouteCollection.php line 161:
My virtualhost are
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/mainsystem/public
<Directory /var/www/html/mainsystem/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
ErrorLog ${APACHELOGDIR}/error.log
CustomLog ${APACHELOGDIR}/access.log combined
</VirtualHost>
Also if I change the DocumentRoot /var/www/html/mainsystem/public to DocumentRoot /var/www/html
I can view th login page but when I try log in, show me the error “is currently unable to handle this request.
HTTP ERROR 500”
I have the project working in other server, I think that is something with the OceanDigital LAMP installation but I dont konw what it is? If anyone know what can be the problem, really I will stay grateful
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×