Categories
apache

apache multiple localhost projects

A good article on medium on a quick and easy environment for apache setup for multiple projects on one site sums it up with one quick example:

fedora – httpd

I created a .conf file /etc/httpd/conf.d/sites.conf

dropped the below data in it and restarted httpd. works nicely, fast and easy.


Alias /project1 /var/www/html
Alias /project2 /var/www/php-monitor


   AllowOverride All

reference:
https://medium.com/@umaams/multiple-laravel-sites-on-sub-directory-using-apache-webserver-91fa20e57ac4