CoolRock
01-27-2008, 02:10 AM
Is it possible to run LiteSpeed Standard without Apache? What are the disadvantages of doing that? What I dont really understand is, if you run LiteSpeed and Apache together, how does the system know which is the main one? Wont there be an increase of load since there are 2 of them?
tanfwc
01-27-2008, 02:37 AM
Yes, you can run LiteSpeed without Apache. Both LiteSpeed and Apache cannot run on port 80 only 1 webserver can run on port 80. But you can set Apache to run on port 8080 if you need to forward some request from LiteSpeed to Apache for processing.
suntexssupport
01-27-2008, 11:14 AM
Is it possible to run LiteSpeed Standard without Apache? What are the disadvantages of doing that? What I dont really understand is, if you run LiteSpeed and Apache together, how does the system know which is the main one? Wont there be an increase of load since there are 2 of them?
Both will not work on same port. If you want LiteSpeed then you need to stop apache from using the port 80.
You can use LiteSpeed without uninstalling Apache (recommended).
After installing LiteSpeed you can just swap the webservers using the following command
service httpd stop
service lsws start
This will stop Apache from using the port 80 and the LiteSpeed will start working on port 80 (You need to setup the port number via the LiteSpeed Admin area or from the installing screen)
We used LiteSpeed on our server till the previous week.
Changed back to Apache because, Litespeed is not able to work with ModSecurity, at least in our server.
Most of the servers do not use mod security protection. But we do for extra stability and reliability.
Regards
Jax
SunTex Hosting (http://www.suntexhosting.com)
layer0
01-27-2008, 08:44 PM
Changed back to Apache because, Litespeed is not able to work with ModSecurity, at least in our server.
Most of the servers do not use mod security protection. But we do for extra stability and reliability.
It does work with mod_security.
mistwang
01-27-2008, 09:37 PM
We used LiteSpeed on our server till the previous week.
Changed back to Apache because, Litespeed is not able to work with ModSecurity, at least in our server.
LiteSpeed works well with mod_security rules, it does not waste CPU cycles to block request results in "404 Not found".
And LiteSpeed does not write to the audit_log, so some firewall package that parses that log file to block IPs won't work. It will be changed to match Apache's.
suntexssupport
01-27-2008, 10:42 PM
It does work with mod_security.
LiteSpeed works well with mod_security rules, it does not waste CPU cycles to block request results in "404 Not found".
And LiteSpeed does not write to the audit_log, so some firewall package that parses that log file to block IPs won't work. It will be changed to match Apache's.
Ya, I read from many sites, that LSWS can work with mod_security because it is loading directly from httpd.conf.
But I checked many times on my server.
I started Apache and checked it. It worked and my IP blocked.
Then after unblocking the IP through a proxy site,
I stopped Apache and restarted lsws.
Then I found that my IP is not blocking.
I already reported this on litespeed forums.
Why mod_security is not working when I start Lsws ?
I tried many times and telling this very confidently.
It is not working on my server. I dont know about other servers.
Regards
HD Fanatic
03-26-2008, 04:20 AM
LiteSpeed works well with mod_security rules, it does not waste CPU cycles to block request results in "404 Not found".
And LiteSpeed does not write to the audit_log, so some firewall package that parses that log file to block IPs won't work. It will be changed to match Apache's.
Better to put the rules in litespeed request filter as opposed to loading mod_security?
mistwang
03-26-2008, 11:06 AM
You should configure rules through Apache http.conf, litespeed request filter only work for websites configuration natively.
And there is another good news that LiteSpeed can generate mod_security style audit_log now and CSF can pick up the IP from the log file and block them.