View Full Version : mod_vhost_alias
arcadlemon
11th November 2006, 02:20
Hello!
Please, is it possible to use ISPConfig with apache mod_vhost_alias?
If yes, how?
Thanks.
till
11th November 2006, 14:54
No, ISPConfig dont use mod_vhost:alias to manage virtual hosts.
arcadlemon
11th November 2006, 15:05
No, ISPConfig dont use mod_vhost:alias to manage virtual hosts.
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.
till
11th November 2006, 15:09
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.
arcadlemon
11th November 2006, 20:33
... 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.
till
12th November 2006, 16:14
Please can you point me to any document explaining how this can be done?
It is named "Apache Directives (optional) in the website settings. It is the biggest input field, you cant miss it :)
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.
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.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.