mod_vhost_alias

Discussion in 'Installation/Configuration' started by arcadlemon, Nov 11, 2006.

  1. arcadlemon

    arcadlemon New Member

    Hello!
    Please, is it possible to use ISPConfig with apache mod_vhost_alias?
    If yes, how?

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, ISPConfig dont use mod_vhost:alias to manage virtual hosts.
     
  3. arcadlemon

    arcadlemon New Member

    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.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. arcadlemon

    arcadlemon New Member

    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.
     
    Last edited: Nov 11, 2006
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     

Share This Page