-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
-
None
How to reproduce issue:
1. Select (double-click) an apache server from main node (Inventory->Child Resources)
2. Select (double click) a virtual host (Inventory->Child Resources)
3. Select (double click) on a IfModule and go to Configuration->Current->Add a Allow host (i.e. 192.168.0.1)
The corresponding conf file (i.e. conf.modules.d/00-mpm.conf) of the IfModule (I changed prefork module) is changed in the way, that the apache can't be stopped/restarted/started.
Httpd.log contains:
AH00526: Syntax error on line 38 of /root/tests/noe-jon/jws-3.0/httpd/conf.modules.d/00-mpm.conf:
And restart can't be performed. Commenting/removing the line helps. On the line 38 from my try there is:
31 <IfModule prefork.c> 32 StartServers 8 33 MinSpareServers 5 34 MaxSpareServers 20 35 ServerLimit 256 36 MaxRequestWorkers 256 37 MaxConnectionsPerChild 4000 38 Allow from 192.168.0.1 39 </IfModule> 31 <IfModule prefork.c> 32 StartServers 8 33 MinSpareServers 5 34 MaxSpareServers 20 35 ServerLimit 256 36 MaxRequestWorkers 256 37 MaxConnectionsPerChild 4000 38 Allow from 192.168.0.1 39 </IfModule>
Same problem occurs for Deny host.