mod_vhost_alias

Discussion in 'Install/Configuration' started by accassar, Apr 4, 2012.

  1. accassar

    accassar New Member

    Hello,

    I'm migrating a large number of virtualhosts from a webserver that has functionality similar to mod_vhost_alias

    I can't find similar functionality in lws, is there a way to enable this? Or do I need to enable the apache style configuration for this case?
  2. NiteWave

    NiteWave Administrator

    lsws can read and parse apache's httpd.conf

    just fill this section:
    Server->General->Using Apache Configuration File
  3. accassar

    accassar New Member

    So the only way to do this is via an apache configuration? There is no native configuration that can do it?

    We're migrating from ZWS not apache.
  4. NiteWave

    NiteWave Administrator

    the native vhost format is .xml. you can refer the default vhost configuration file /usr/local/lsws/DEFAULT/conf/vhconf.xml and write your conversion script from ZWS -> litespeed. the server's configuration file is /usr/local/lsws/conf/httpd_config.xml
  5. accassar

    accassar New Member

    The question is: Is there a way using the litespeed XML format to achieve similar functionality to apache mod_vhost_alias. Or is using an apache configuration file the only way to achieve this.
  6. NiteWave

    NiteWave Administrator

    just read apache's mod_vhost_alias document, I think lsws not support it yet(I'll correct it later if this is wrong). not sure if lsws's "Virtual Host Templates" is close to your demand.

Share This Page