Subject: | include_suppor is ignored |
This is my perl file:
use Config::ApacheFormat;
$config = Config::ApacheFormat->new(
inheritance_support => 0,
include_support => 0,
root_directive => 'ServerRoot',
hash_directives => [ 'AddHandler' ],
include_directives => [ 'Include',
'AccessConfig','ResourceConfig' ],
setenv_vars => 1,
fix_booleans => 1);
$config->read("httpd.conf");
print "DocumentRoot=".$config->get("DocumentRoot");
And this is the error I get:
[ram@ram Scripts]$ perl readconfig.pl
Unable to open include file '/opt/httpd/httpd/conf/custom.conf' at
httpd.conf line 124: No such file or directory at readconfig.pl line 13
Include_support => 0, is being ignored and the script still tries to
include the other files.