Document root mount --bind

imm

New Member
#1
Hi,

I'm about to switch from OpenLiteSpeed to LiteSpeed Enterprise. With OpenLiteSpeed I had the sites directory setup like this:
mount --bind /var/www/example.com /home/example-com/www
Document root setting in OpenLiteSpeed /var/www/example.com/web

I've tried to do the same setup with LiteSpeed Enterprise, but always getting an 404 error when accessing the domain. On the other hand it works with directories in /var/www when not using mount --bind.

How can I solve this issue?

Thanks.
 

NiteWave

Administrator
#2
1st a question to you: have you installed both open litespeed and lsws on same machine ?

mount --bind is OS level command, lsws is not able to break it.
 

imm

New Member
#3
I've installed lsws on a different server with a fresh CentOS 7 installation.
Right, but when changing the document root in the vhost config to a directory which I haven't mount --bind, then there is no 404 error.
 
Top