PDA

View Full Version : Multiple LSWS on same host


SoreGUms
01-31-2008, 03:04 PM
This doesn't work as lsws uses /tmp/lshttpd/ as its working directory so to speak.

SO

How do I specify a different directory to use like ~/tmp/lshttpd ??

I've modified ~/lsws/conf/httpd_config.xml with updated paths for the two things in there - But this doesn't change where the PID file goes.

WHY?

I'm developing things and I'm keep everything separate - if VMWare worked with my latest kernel I'd just separate everything out at a machine level, alas it is not so I'm separating everything out at the user level....

Thanks,

:)

mistwang
01-31-2008, 03:09 PM
You cannot change the location of the pid file.
If you want to run multiple instance of LSWS, use vmware, openvz or setup chroot jail for each instance.

SoreGUms
01-31-2008, 03:10 PM
Ok, thanks :)