We are going to point the virtual host to aura.localhost.
Create a file /etc/apache2/sites-available/aura.localhost with the below contents.
Depending upon your apache configuration you may need to add .conf
path/to/project is where you installed the aura/web-project.
NOTE: Apache 2.4 users might have to add Require all granted below AllowOverride all in order to prevent a 401 response caused by the changes in access control.
Enable the site using
and reload the apache
Before we go and check in browser add one more line in the /etc/hosts
Nginx
The following configuration assumes that you’re using PHP as FPM SAPI.
The configuration file is under /etc/nginx/sites-available
It could be that you are using old nginx version where fastcgi.conf isn’t available at /etc/nginx/.
In this case you need to create /etc/nginx/fastcgi.conf with the following content:
Check http://aura.localhost in your favourite browser.
When using configuration above you should set cgi.fix_pathinfo=0 in php.ini in order to avoid numerous unnecessary system stat() calls.
Also note that if you plan running an HTTPS server, you have to add fastcgi_param HTTPS on; for its host.