About Mod_Proxy or Something Alternative in Litespeed For Ghost Blogging.

#1
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.
 

NiteWave

Administrator
#2
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]
 

NiteWave

Administrator
#5
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.
 
#6
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.
 

Michael

Well-Known Member
Staff member
#7
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
 
Top