Disable Apache Auto-Switch

Burti

Verified User
Joined
Oct 1, 2019
Messages
10
Hello,

I was modified my firewall. But sometimes my firewall does not access the litespeed and cannot check the license. but directadmin automatically switch to apache. How can I disable it auto-switch?

I just want to use litespeed! IF is not check license directadmin automatically switch to apache!
I was deleted /usr/local/lsws/admin/misc/cp_switch_ws.sh file but it didnt work

If license not working in litespeed just stop it DO NOT SWITCH THE APACHE! How can I set this?

Regards.
 
Hello,

How did you install LiteSpeed? I guess you known, DirectAdmin/CustomBuild should be used to install LiteSpeed.

Another moment which is not clear for me, if your firewall blocks LiteSpeed, then it should not cause Directadmin/CustomBuild to switch to Apache. What do I miss from your description?
 
Hello, How did you install LiteSpeed? I guess you known, DirectAdmin/CustomBuild should be used to install LiteSpeed. Another moment which is not clear for me, if your firewall blocks LiteSpeed, then it should not cause Directadmin/CustomBuild to switch to Apache. What do I miss from your description?

I installed via custombuild.

Okay I will explain: my soft firewall has country block system. (I build) but sometimes its should be change the route. In this time we need a disable internet connection in A machine. I can do this in other panels like cpanel.

But when litespeed auto-check self license status it just restart itself in cpanel.

But! Automatically switching to apache when is not found a active license or connection errors in directadmin. Is it normal? I think not!
 
But! Automatically switching to apache when is not found a active license or connection errors in directadmin. Is it normal? I think not!

OK, then I believe you've got two options:

1. change your firewall settings and allow LiteSpeed to connect to its license server
2. or configure LiteSpeed/Directadmin or whatever else not to switch to Apache.

As of I now I don't have a solution on how to work on the second option.
 
When I try to change to Apache from Litespeed, it shows no such file or directory.
The command is
/usr/local/lsws/admin/misc/cp_switch_ws.sh apache
 
When I try to change to Apache from Litespeed, it shows no such file or directory.
The command is
/usr/local/lsws/admin/misc/cp_switch_ws.sh apache
First of all, dont necropost, please open your own tread
Second of all, did you install litespeed first?
 
Back
Top