About Mod_Proxy or Something Alternative in Litespeed For Ghost Blogging.

Discussion in 'Apache Migration/Compatibility' started by Pavan Jadhav, Jun 17, 2014.

  1. Pavan Jadhav

    Pavan Jadhav New Member

    First of all , Litespeed is really Fast and reliable than Apache and I am using Reseller type of hosting from my hosting provider which is running Litespeed.

    I have installed Ghost Blog platform on my domain but unfortunately its showing Domain:port number too and also its not accessible via just sub-domain or sub-directory.

    As per my research, its possible to adjust with some little coding and enabling mods on apache servers with running Node.JS simultaneously but what about Litespeed ? Can't Litespeed do that ? Any possibility so that i can ask my host to do it?

    Actually I want to do this as this may make my hosting and litespeed as compatible in Ghosts Webserver list.

    For More Info see this thread: https://ghost.org/forum/installation/5647-softaculous-and-htaccess/?page=2

    I saw many of the old articles in which litespeed promised to do something for this issue but I haven't got any yet.

    Let me know what can be done and sorry if I posted this in wrong board.

    Thanks in advance.
  2. NiteWave

    NiteWave Administrator

    assume ghost blog can be accessed directly by domain.com:12345
    you want to access it by domain.com

    ask your host to create an external app in lsws web admin:
    Server -> External App -> Add
    Type:Web Server
    Name:ghost_domain_com
    Address: ip-of-domain-com:12345

    in .htaccess, you add
    RewriteEngine On
    RewriteRule ^(.*)$ http://ghost_domain/$1 [P]
    Pavan Jadhav likes this.
  3. mistwang

    mistwang LiteSpeed Staff

    It requires us to add the web server external app back end automatically, we will add this to our list of feather requests.
  4. Pavan Jadhav

    Pavan Jadhav New Member

    Thanks for replying but you mean to say that:

    By following above steps, My Ghost Blog visitors will see only Domain name and NOT the Port ?

    By doing some changes in .htaccess, I have done this:

    http://ghost.sysberto.com/

    Going on this link will redirect to: http://ghost.sysberto.com:60870/

    but I want only URL/domain and Not the Port.

    Let me know if its possible so that I can ask my host to do this.
  5. NiteWave

    NiteWave Administrator

    yes, for current lsws, you have to ask your host to define a static external app as described in my previous post.
    Type:Web Server
    Name:ghost_sysberto_com
    Address: 67.23.255.82:60870

    in future release, lsws will create this external app dynamically, so no need bother your host.
    the rewriterule in .htaccess will be:
    RewriteEngine On
    RewriteRule ^(.*)$ http://ghost_sysberto_com/$1 [P]

    after above changes made by your host and you, you'll be able to access
    http://ghost.sysberto.com/

    without redirect.
    Pavan Jadhav likes this.
  6. Pavan Jadhav

    Pavan Jadhav New Member

    Ok I talked with my host and they said that doing these things is not suitable for Shared Hosting environment and also as I am going to do this for commercial offerings, they need to do it for every customer I make and because of this they refused but they suggested to use VPS and running node.js only and then creating Ghost blogs.

    Will see what can be done, but may I know when lsws will create this external app dynamically, so no need to bother my host everytime?
    I will wait for it if you are pushing new update soon.

    Thanks.
  7. Michael

    Michael Administrator Staff Member

    Hi Pavan,

    Sorry to let this sit so long. Supporting node.js is something that is being discussed here, but it is not on our short to-do list. We do plan to support it at some point, but it may not be very soon.

    Cheers,

    Michael

Share This Page