Wildcard Subservers ?

Discussion in 'Install/Configuration' started by dorijan, Jul 26, 2005.

  1. dorijan

    dorijan New Member


    I have read that LWS is comparable to Zeus Webserver, however I was wondering if the following feature is available.

    In Zeus it is called Subservers , you can even do wildcard Subservers by simply throwing in Dirs with Domain Names into your homedir.

    i.e. you login via ftp and create

    sub.domain.com - which is instant available to the outside world via http/https.

    you also have a default webserver which is used as fallback i.e. domain.com , in my test scenario i am also creating *.domain.com symlinks to the default domain.com dir so all requests end up in that dir.

    does this work in LWS or is it planned at all ?

    second , is it possible to run php5 via fastcgi in order to loadbalance the php processes among several machines ?

    thanks in advance.
  2. mistwang

    mistwang LiteSpeed Staff

    LSWS does not have a dedicated feature like the one you described, however, it should be pretty easy to implement this kind of feature with simple URL rewrite rules. No plan for a dedicate implementation yet.

    For your second question, LSWS can be configured to access remote FCGI App on other machine, there is a stateless load balancer implemented in LSWS now.
  3. dorijan

    dorijan New Member

    do you have any example url rewrites for that ?

  4. mistwang

    mistwang LiteSpeed Staff

    Some thing like:

    RewriteCond  /your/home/dir/%{HTTP_HOST}     -d
    RewriteRule   ^(.+)                          /your/home/dir/%{HTTP_HOST}$1

Share This Page