Score:0

In LiteSpeed, where is $VH_ROOT defined?

cn flag

After installing LiteSpeed, the first task when experimenting is often setting up a vhost.

When we look around dashboard at various settings we come across some variables. One of which is $VH_ROOT.

How can the value of $VH_ROOT be discovered?

Also, and more specifically, can the value of $VH_ROOT be discovered from the terminal? If so, how?

Score:0
au flag
root@test:~# cat /usr/local/lsws/conf/httpd_config.conf | grep vhRoot
    vhRoot                   Example/
  vhRoot                  /home/$VH_NAME

it's in the main conf file , the path is defined when you create the vhost in it

enter image description here

but be aware , this variable can only be used within vhost configuration , because in server configuration , there is no "$vh_root" defined yet in that context.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.