Skip Menu |

This queue is for tickets about the Config-ApacheFormat CPAN distribution.

Report information
The Basics
Id: 17221
Status: resolved
Priority: 0/
Queue: Config-ApacheFormat

People
Owner: Nobody in particular
Requestors: unixengineer [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.2
Fixed in: (no value)



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.
This is fixed for v1.3. Thanks for the report. -sam