On Tue 14 Oct 2008, André Warnier wrote:
> When I try this, I get an Apache error with the following logfile
> message : [Tue Oct 14 16:10:40 2008] [error] [client 84.158.163.207]
> $r->add_config() has failed: SetHandler not allowed here at
> /usr/local/lib/apache2/perllib/AUTH/StarLogCookie.pm line 414.\n

That is an apache error. SetHandler needs the FileInfo override flag, 
see http://httpd.apache.org/docs/2.2/mod/core.html#sethandler. So, the 
correct command would be:

  $r->add_config(['SetHandler ...'], Apache2::Const::OR_FILEINFO)

or simpler

  $r->add_config(['SetHandler ...'], ~0)

(since you know what directive you are adding).

Torsten

--
Need professional mod_perl support?
Just hire me: [EMAIL PROTECTED]

Reply via email to