Re: Re: Module AuthAny.pm
Joel Palmius <[email protected]>
| Newsgroups | gmane.comp.apache.mod-survey.general |
|---|---|
| Message-ID | <[email protected]> |
Back when I ran redhat/mandrake I usually discarded the default installation of mod_perl and apache (removed the rpms completely) and built from source. I never liked the way those binary distros were configured. Building apache + mod_perl statically from source is not very complicated, at least not with Apache 1 + mod_perl 1. In theory, just download and unpack both the tarballs and then read INSTALL.apaci in the mod_perl directory (it contains a step-by-step instruction for building and installing). After having run a conventional install into /usr/local, running the mod_survey installation script should not cause any trouble. Given that you have trouble with apache2, perhaps trying a source build of apache1 might be worth it. // Joel On Wed, 1 Sep 2004, jono price wrote: > 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 > Skickat av Joel Palmius <[email protected]> till survey-discussion