I have a Virtualhost made this way:
<VirtualHost *:80>
Servername www.website.com
DocumentRoot /path/to/application-1.2.1/client/app/
ErrorLog /var/log/apache2/logs/application.log
</VirtualHost>
Where application
is the application name that changes everytime we deploy a new version, so for example next DocumentRoot would be:
DocumentRoot /path/to/application-1.2.2/client/app/
Is it possible to make a virtualhost with a wildcard or something like:
DocumentRoot /path/to/application-*/client/app/
So that I don't have to change the virtualhost everytime I deploy a new version of the application?