LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   mod_vhost_alias (http://www.litespeedtech.com/support/forum/showthread.php?t=5821)

accassar 04-03-2012 10:47 PM

mod_vhost_alias
 
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?

NiteWave 04-04-2012 05:06 AM

lsws can read and parse apache's httpd.conf

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

accassar 04-04-2012 05:16 PM

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.

NiteWave 04-04-2012 05:56 PM

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

accassar 04-04-2012 06:04 PM

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.

NiteWave 04-04-2012 06:28 PM

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.


All times are GMT -7. The time now is 09:39 AM.