Answer the question
In order to leave comments, you need to log in
Why doesn't the site open locally?
Installed a clean Ubuntu 16.04, installed LAMP, added my.domain.local to the hosts file 127.0.0.1
Added my.domain.loca.conf to apache2
<VirtualHost *:80>
ServerName my.domain.local
DocumentRoot /var/www/my/backend/web
<Directory /var/www/my/backend/web>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question