Virtual hosts missing?

Discussion in 'General' started by MentaL, Jul 29, 2011.

  1. MentaL

    MentaL New Member

    Hi,

    I'm looking to install LS cache but I have no virtual hosts. How do I import them from httpd.conf? I also have no virtual templates either.

    [​IMG]

    Regards.
  2. mistwang

    mistwang LiteSpeed Staff

  3. MentaL

    MentaL New Member

    Hi

    It's already being read,

    Example from httpd.conf (edited ip and domain)

    Regards.
  4. webizen

    webizen New Member

    No need to import/convert into native LS vhost.

    http://www.litespeedtech.com/suppor...litespeed:cache#how_to_enable_litespeed_cache


    3. For imported Apache vhost: Cache can be turned on/off with “CacheEnable” , “CacheDisable” directives in Apache config file. Nothing needs to be done for the cache policy. It will assume the same default settings at LSWS Server level. Rewrite rules can be placed in httpd.conf or in-directory .htaccess file as shown in step 5 below. Note: Apache mod_cache directives CacheIgnoreCacheControl, CacheMaxExpire also can be used in the Apache config file as well as .htaccess to fine tune cache policy.
  5. MentaL

    MentaL New Member

    My httpd.conf has no cache options nor am I able to add the following (LSWS Web Admin Console→Virtual Hosts→mytest→Cache → Cache Policy ).
  6. webizen

    webizen New Member

    Apache directive "CacheEnable", "CacheDisable" can be manually added to .htaccess (preferred) or httpd.conf to control cache at vhost level. NO need to enable/edit cache policy at native LSWS vhost level. Native LSWS vhost has nothing to do with Apache vhost.
  7. MentaL

    MentaL New Member

    I would rather have it all running through Litespeed though.

    Regards.
  8. webizen

    webizen New Member

    there is no automate way to convert vhost from apache httpd.conf into lsws vhost.
  9. richel099

    richel099 New Member

    the post ,i putting reply,was found on google in the front page...... when i searched with key word find virtual hosts on a server
    i am glad to see some useful solutions......that i was searching ...
    thank you..
  10. webizen

    webizen New Member

    it goes by reverse IP lookup. the result will not be accurate for domains served by cdn/proxy (resolved to multiple IPs).

    this thread is talking about getting vhosts in apache httpd.conf imported into lsws. the tool you referring to does not apply.

Share This Page