Virtual Hosts - Groups?

Discussion in 'Feedback/Feature Requests' started by SoreGUms, Jul 18, 2007.

  1. SoreGUms

    SoreGUms Active Member

    I've just started using this as of yesterday, still figuring everything out....

    One thing that has come to mind though is I have lots of VHosts. This wasn't an issue with apache in terms of managing as I have a conf file for each domain.

    Feature Request:
    So maybe a feature could be some sort of grouping mechanism in the Vhost config area.
    Last edited: Aug 7, 2007
  2. ts77

    ts77 Well-Known Member

    How about just using the vhost-templates?
  3. SoreGUms

    SoreGUms Active Member

    Oh really?

    Well i didn't think thats what it was for...
    i thought it was like:
    - I need to setup a new vhost, instead of starting from scratch I'll use a template.
    - Ok cool got my defaults now I just need to make this change and that, right done.

    So i don't see how that helps if my list is 2-300 long :/
  4. medialayer

    medialayer Active Member

    How about using a RewriteRule?
  5. SoreGUms

    SoreGUms Active Member

    Yeah I've stumbled onto that - thanks :)
  6. medialayer

    medialayer Active Member

    RewriteCond %{HTTP_HOST} !^www\.domain.tld
    RewriteRule ^(.*)$ http://www.domain.tld/$1 [R=301,L]
    Is what I use.
  7. SoreGUms

    SoreGUms Active Member

    That's what I stumbled onto ;)
  8. medialayer

    medialayer Active Member

    Well, as far as the feature request I would say some sort of "tagging" function would do just as well. Each vhost can be assigned with a tag, and then in the ACP you can sort all of the vhosts by their tag...seems useful.

Share This Page