install on osx: problem and question

henq

New Member
#1
Hello,

I just installed LS on my Apple with OSX.

I (newbie) have a problem:

when i want to change to a sub-directory of lsws, nothing seems to happen:
Code:
   henq:/usr/local/lsws henq$ pwd
   /usr/local/lsws
   henq:/usr/local/lsws henq$ sudo cd conf/
   Password:
   henq:/usr/local/lsws henq$       #still at same dir.

I also have a question: How do I tell LS to use the following path as the document root?

Code:
  /Library/WebServer/Documents
( I hoped I could set the docroot with the install script, but that doesnt seem to be the case).
I suspect its has something to do with setting an environment var. But what steps are involved, where is the relevant start-up script? (Is it in the config subdir that I connot reach)? Thank you in advance.

~h
 

mistwang

LiteSpeed Staff
#2
when i want to change to a sub-directory of lsws, nothing seems to happen
sudo will start a new shell to execute the command and quit to the former shell, so the directory does not change.
You need to use "sudo sh" then execute your command.

I also have a question: How do I tell LS to use the following path as the document root?
You need to login to the web admin interface, then create a new vhost, please check out Bob Silva
 
Top