Is there a way to define the value of a VirtualHost DocumentRoot based
From Alexandre Ponton@21:1/5 to All on Thu Jan 18 07:35:09 2018
Is there a way to define the value of a VirtualHost DocumentRoot based on the return of a cgi script?
Let me explain, I want to create a wildcard subdomain VirtualHost such as *.mydomain.com.
When the client goes on any subdomain, it would automaticly run myscript.pl and then, the perl script would return or define the proper DocumentRoot value.
Is this achievable on apache ? Perl script is only for example.