Let's see, I inserted the following into my Apache conf perl section:
while ( my $user = getpwent() ) { $users{$user} = 1; } while ( my $group = getgrent() ) { $groups{$group} = 1; } open (my $fh, '>>', '/var/log/httpd/fudge.log'); print $fh Fudge(); close $fh; sub Fudge { use Errno(); join qq/\n/, "Error @_", map { " $_" } int( $! ) . q/ / . $!, int( $^E ) . q/ / . $^E, grep( { $!{$_} } keys %! ), q/ /; }
Here's what I got after restarting httpd:
Error 25 Inappropriate ioctl for device 25 Inappropriate ioctl for device ENOTTY Error 25 Inappropriate ioctl for device 25 Inappropriate ioctl for device ENOTTY
All I can tell from this is that the config is indeed executed twice (as mentioned in the OP) but the actual messages don't mean much to me.
If I had a gun pointed at me and had to guess, I'd say it has something to do with the environment presented to httpd by systemd.
Time flies when you don't know what you're doing
In reply to Re^4: [SOLVED] Configuring Apache VirtualHosts using mod_perl 2
by FloydATC
in thread [SOLVED] Configuring Apache VirtualHosts using mod_perl 2
by FloydATC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |