Hi Till. My question was HOW to use mod_vhost_alias with ISPConfig. This is because i'd like the ability to automate subdomain creation (ie mydomain.com -> ~/web while site1.mydomain.com -> ~/web/site1 ) Thanks.
And my answer was you cant use it with ISPConfig. What you want to do is normally done by rewrite rules and not mod_vhost_alias. Just add a rewrite rule in the apcahe directives field in ISPConfig.
Please, I cannot find the "directives" fields you're talking about. Please can you point me to any document explaining how this can be done? In other words, in ISPConfig, I wanted to specify '*' as host name for my VHost mydomain.com and then, whenever the user creates any directory (for instance site01) under his home/web, he could instantly access it through site01.mydomain.com thanks to mod_vhost_alias. Thanks.
ISPConfig does not support wildcard domains. You must add the domains you want to redirect as co-domain to the website and then use the forward mechanism of the co-domain or add a apache redirect rule in the apache directives field.