• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved enable mod_substitute from command line

jimlongo56

Basic Pleskian
My extension requires mod_substitute.

I can get true or false from
Code:
# httpd -M | grep -ci -o "substitute_module"

Is there a way to enable it if the answer is false?
Should I use yum, or some other mechanism?

Thanks for any advice.
 
CentOS 7, when I do 'yum list' I don't even see mod_substitute.

But it's available to be enabled in
  • Home > Tools & Settings > Apache Web Server Settings

Is it installed by Plesk, and just needs to be enabled/disabled?

If so is there a plesk command line option to do that?
 
When I uncheck substitute in Tools & Settings > Apache Web Server Settings I see in CLI nothing:

[root@ppu17-8 ~]# httpd -M | grep subs
[root@ppu17-8 ~]#

But when I enable this module there I see that it is loaded:

[root@ppu17-8 ~]# httpd -M | grep subs
substitute_module (shared)

What is the problem here? Could you please clarify?
 
Back
Top