Re: Module AuthAny.pm

jono price <[email protected]>
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
Joel Palmius <joel.palmius <at> mh.se> writes:

> 
> I think this is caused by non-enabled backwards compatibility in mod_perl. 
> Either mod_perl is compiled without backwards compatibility, or it isn't 
> enabled in the mod_perl startup file. I currently have no machine with the 
> mentioned systems available, so I'm mainly guessing, but two things to try 
> would be (either, not both at the same time)
> 
> 1. Edit survey.conf and change Apache::AuthAny to ModPerl::AuthAny
> 
> 2. Edit whatever startup script you have for mod_perl (mine is in
>     /etc/apache2/conf/modules.d/apache2-mod_perl-startup.pl) and make
>     sure the following lines are there:
> 
>     use Apache2 ();
>     use Apache::compat ();
> 
> I hope one of these helps. Please tell me if you try, otherwise I'll try 
> to set up a redhat box in the weekend and see what I can do.
> 
>    // Joel



Thanks for the help everyone,
this error is probably due to my linux inexperience.

I'm using the httpd-2.0.40-21.9 rpm (not source)
mod_perl-1.99_07 is from perl -MCPAN -eshell 'install mod_perl'

I tried #1 and recieved a similar error:

failed to resolve handler `ModPerl::AuthAny'

I cannot try #2 because I cannot locate the startup script.

Any info on versions of apache and mod_perl (source or rpm)
known to work in this regard would be helpful.

When work gets around to replacing my old redhat server I'll be using 
debian which should prove a bit easier.

Thanks Joel, you put so much work into writing good code that I'd hate
to waste it in setting up a redhat box just for this.

As Michael says, there are ways around it.

Regards, Jono










Skickat av jono price <[email protected]>
till survey-discussion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.