how to from cli display ALL modules installed?

#2
CLI and API call methods are not available yet. How about `grep module /usr/local/lsws/conf/httpd_config.conf`, it will at least show the configured modules on the server level.
 
#3
grep module /usr/local/lsws/conf/httpd_config.conf
thanks,
my ouput is:
Code:
~pepsi  grep module /usr/local/lsws/conf/httpd_config.conf
module cache {
module cyberpanel_ols {
~pepsi
then I don't have ACTIVE the module mod_rewrite active ???
how I turn ON these module ?

also I will need the module LiteSpeed ???


... me understand all this modules is required for:

https://docs.litespeedtech.com/lsws...t-lsapi_max_process_time-environment-variable

Code:
<IfModule LiteSpeed>
    <IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule (scriptA|scriptB|scriptC)\.php - [E=noabort:1]
    </IfModule>
</IfModule>
( because I need run "script_eternal.php" for 1 month continually ... )
 
#4
For OpenLiteSpeed, you don't need to specify <IfModule LiteSpeed>, as that directive is typically used in shared hosting environments running LiteSpeed Enterprise (LSWS).

You also don't need to wrap rules inside <IfModule mod_rewrite.c>, since OpenLiteSpeed supports mod_rewrite functionality by default. Just make sure that Enable Rewrite and Auto Load from .htaccess are enabled at the virtual host level.
 
Top