Bug#519271: libapache-configfile-perl: Cannot read	'/etc/apache2/mods-enabled/*.load': No such file or directory
    Stefan Schlesinger 
    ssc at sil.at
       
    Wed Mar 11 14:08:19 UTC 2009
    
    
  
Package: libapache-configfile-perl
Version: 1.18-6
Severity: grave
Justification: renders package unusable
Hello!
I tried to read my apache config using this perl module and it comes up with the following error:
Cannot read '/etc/apache2/mods-enabled/*.load': No such file or directory (do you need to define ServerRoot?) at bug.pl line 7
Since this is a standard Debian Apache config, I think this bug should get fixed...
The code i used was (with line numbers for clarification):
  1 #!/usr/bin/perl
  2 use strict;
  3 use warnings;
  4 
  5 use Apache::ConfigFile;
  6 
  7 my $ac     = Apache::ConfigFile->read("/etc/apache2/apache2.conf");
-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages libapache-configfile-perl depends on:
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 
libapache-configfile-perl recommends no packages.
libapache-configfile-perl suggests no packages.
-- no debconf information
    
    
More information about the pkg-perl-maintainers
mailing list