Question
How can I switch between Apache and LiteSpeed Web Server via the command-line once I have both installed on my server?
Answer
LiteSpeed provides the "cp_switch_ws.sh" script for this purpose. To switch between web servers, provide the server you'd like to utilize to this command. To switch to Apache, as root, run:
/usr/local/lsws/admin/misc/cp_switch_ws.sh apache
To switch back to LiteSpeed, as root, run:
/usr/local/lsws/admin/misc/cp_switch_ws.sh lsws
Comments
0 comments
Article is closed for comments.