I'm working on an apache configuration script, and I'm having trouble with
the enabling of perl-status, server-info, etc.

I modified the examples in the eg directory, so I have:

my %handlers = (
   "/perl-status" => "Apache::Status",
);

for (keys %handlers) {
    $Location{$_} = {
                     PerlHandler => $handlers{$_},
                     SetHandler  => "perl-script",
                     Options     => "ExecCGI",
                    };
}


for (qw(status info)) {
    $Location{"/server-$_"} = {
        SetHandler => "server-$_",
    };
}

print STDERR Apache::PerlSections->dump();

---
the dump gives me:

...

#hashes:

%Location = (
  '/perl-status' => {
    'PerlHandler' => 'Apache::Status',
    'SetHandler' => 'perl-script',
    'Options' => 'ExecCGI'
  },
  '/server-status' => {
    'SetHandler' => 'server-status'
  },
  '/server-info' => {
    'SetHandler' => 'server-info'
  }
);


-----

I still get 404 errors.  Any suggestions?



--
Barry Hoggard
Chief Technology Officer
http://www.investorama.com
v: 212.905.1639 x194
e: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to