LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > mod_vhost_alias

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2012, 10:47 PM
accassar accassar is offline
Member
 
Join Date: Feb 2012
Posts: 31
Default 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?
Reply With Quote
  #2  
Old 04-04-2012, 05:06 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
lsws can read and parse apache's httpd.conf

just fill this section:
Server->General->Using Apache Configuration File
Reply With Quote
  #3  
Old 04-04-2012, 05:16 PM
accassar accassar is offline
Member
 
Join Date: Feb 2012
Posts: 31
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.
Reply With Quote
  #4  
Old 04-04-2012, 05:56 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
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
Reply With Quote
  #5  
Old 04-04-2012, 06:04 PM
accassar accassar is offline
Member
 
Join Date: Feb 2012
Posts: 31
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.
Reply With Quote
  #6  
Old 04-04-2012, 06:28 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:25 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.