Answer the question
In order to leave comments, you need to log in
Why does the site open on laravel?
Good afternoon.
I work under ubuntu.
In the directory /etc/apache2/sites-available created a configuration file laravel.loc.conf
<VirtualHost *:80>
ServerName laravel.loc
ServerAlias www.laravel.loc
ServerAdmin [email protected]
DocumentRoot /var/www/laravel.loc/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
I solved the problem by installing laradoc and then laravel in it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question