Setting Litespeed Virtual Host Priority Over Apache httpd.conf

Discussion in 'Apache Migration/Compatibility' started by clevertechie, Aug 28, 2015.

  1. clevertechie

    clevertechie New Member

    So I'm trying to set up ruby on rails app on a server that has both apache and litespeed installed. I have disabled apache and all my domains that are currently configured are running on litespeed but they all still use httpd.conf settings.

    I'm successfully able to create VirtualHost for Ruby on Rails app just like instructed here: https://www.litespeedtech.com/suppo...wiki:other-ext-apps:ruby-on-rails-easy-config

    And I'm showing that VirtualHost as "running" under "Debug Logging" in the Litespeed control panel, but it's all the way at the bottom after all the other httpd.conf virtual hosts.

    When I go to the actual domain that I want to configure to run Ruby on Rails app, it's still loading VirtualHost config from httpd.conf instead of my VirtualHost.xml file that I created specifically for that domain via litespeed.

    So my question is, without deleting the VirtualHosts in the httpd.conf and without disabling httpd.conf (I need a lot of its settings to run other domains on the server) how can I set priority of Litespeed virutalhost settings over httpd.conf?

    Thanks in advance for any help!
     
  2. NiteWave

    NiteWave Administrator

    I think you have to
    for that specific domain

    and now the headache thing may be "Listeners" setting.
    lsws web admin -> Configuration -> Listeners

    can't conflict with the setting in httpd.conf
     

Share This Page