I have a folder full of sites: /var/www
I have a domain: example.com
I want to write a rule in my httpd.conf
that will setup an alias for each site in /var/www
.
For example: /var/www/hello/public
can be accessed via example.com/hello
.
At the moment I am just writing my alias definitions manually, for each site: Alias /hello "/var/www/hello/public/"