Re: Apache2::Request undefined symbol
Am Montag, den 07.07.2008, 08:31 +1000 schrieb Paul Cameron: > I installed the library package 'libapreq2' on an Ubuntu 7.10 distro, > and tried dereferencing the 'Apache2::Request' module in a mod_perl > script, but it crashed with '/usr/sbin/apache2: symbol lookup error: > > /usr/lib/perl5/auto/APR/Request/Apache2/Apache2.so: undefined symbol: > apreq_handle_apache2'. > > I ran 'nm' on libapreq2.so.3 and it returned > "nm: /usr/lib/libapreq2.so.3: no symbols". > > Can anyone help with this? Did you put LoadModule apreq_module modules/mod_apreq2.so in your httpd.conf? Heiko
RE: Apache2::Request undefined symbol
Yes, it's there. I just found the problem. The 'aptitude' package manager installed the libapreq2 package but unfortunately, it didn't create the symbolic link that's required in the apache2/mods-enabled directory pointing to apache2/mods-available/apreq.load. So, when the server started, it didn't load mod_apreq2.so. Thanks for your help, anyway. -Original Message- From: Heiko Jansen [mailto:[EMAIL PROTECTED] Sent: Monday, 7 July 2008 5:15 PM To: modperl@perl.apache.org Subject: Re: Apache2::Request undefined symbol Am Montag, den 07.07.2008, 08:31 +1000 schrieb Paul Cameron: > I installed the library package 'libapreq2' on an Ubuntu 7.10 distro, > and tried dereferencing the 'Apache2::Request' module in a mod_perl > script, but it crashed with '/usr/sbin/apache2: symbol lookup error: > > /usr/lib/perl5/auto/APR/Request/Apache2/Apache2.so: undefined symbol: > apreq_handle_apache2'. > > I ran 'nm' on libapreq2.so.3 and it returned > "nm: /usr/lib/libapreq2.so.3: no symbols". > > Can anyone help with this? Did you put LoadModule apreq_module modules/mod_apreq2.so in your httpd.conf? Heiko
mod_perl users survey
At the impromptu mod_perl BOF at YAPC::NA, Fred Moyer any myself hacked together a short mod_perl survey to help identify the current needs of mod_perl users. It was inspired by the Perl survey done last year by Kirrily Robert. (http://perlsurvey.org). If you read dev@ and already filled this out, please don't do it again. The link is here: http://www.surveymonkey.com/s.aspx?sm=bQyb2RFCBuVb0P52yhaCMg_3d_3d The survey seeks to attain these goals: 1) Determine the current breakdown of mod_perl users in terms of what versions, modules, and platforms mod_perl users are using. 2) Give mod_perl users a chance to provide feedback to the development team on where they think mod_perl development should be headed. Please take a few minutes and fill it out. Neither of us are statisticians, and there are plenty of questions that haven't been asked, but we only get 10 questions for free with survey monkey, so we've done what we could with our non-existant resources. Thanks, Adam
Re: secure media files without http_referer
On Wed, Jul 2, 2008 at 3:18 PM, tmpusr889 <[EMAIL PROTECTED]> wrote: A cookie would certainly work, but I was trying to find something simpler. I don't know much about URL tokens. How would something like that work? Redirect them to a URL with ?auth=x in it. Check the token with an access or authz handler. How about mod_auth_tkt to protect the resources, then you don't need a mod_perl enabled server. Use perlbal and redirect behind-the-scenes from a mod_perl auth-checker to the static resource. Carl
RE: Apache2::Request undefined symbol
That's a normal thing. All installed modules put their config into mods-available. Then you use `a2enmod` to manage those symlinks and turn them on or off in mods-enabled. Mark On Mon, 7 Jul 2008, Paul Cameron wrote: > Yes, it's there. I just found the problem. > > The 'aptitude' package manager installed the libapreq2 package but > unfortunately, it didn't create the symbolic link that's required in the > apache2/mods-enabled directory pointing to > apache2/mods-available/apreq.load. So, when the server started, it > didn't load mod_apreq2.so. > > Thanks for your help, anyway. > > -Original Message- > From: Heiko Jansen [mailto:[EMAIL PROTECTED] > Sent: Monday, 7 July 2008 5:15 PM > To: modperl@perl.apache.org > Subject: Re: Apache2::Request undefined symbol > > > > Am Montag, den 07.07.2008, 08:31 +1000 schrieb Paul Cameron: > > I installed the library package 'libapreq2' on an Ubuntu 7.10 distro, > > and tried dereferencing the 'Apache2::Request' module in a mod_perl > > script, but it crashed with '/usr/sbin/apache2: symbol lookup error: > > > > /usr/lib/perl5/auto/APR/Request/Apache2/Apache2.so: undefined symbol: > > apreq_handle_apache2'. > > > > I ran 'nm' on libapreq2.so.3 and it returned > > "nm: /usr/lib/libapreq2.so.3: no symbols". > > > > Can anyone help with this? > > Did you put > > LoadModule apreq_module modules/mod_apreq2.so > > in your httpd.conf? > > Heiko > >
Re: Apache2::Directives trouble with Apache::Test
On Sun, 6 Jul 2008, Geoffrey Young wrote: > Mark Hedges wrote: > > > > How do I get the Apache2::Controller::Directives module to > > work from t/conf/extra.conf.in? Try commenting out the > > PerlSetVar for the same named thing and enabling the line to > > load the directives and set A2CRenderTemplateDir. > > use t/conf/extra.last.conf.in > > this is documented, but I guess not all that well. > > see > > http://www.perl.com/pub/a/2003/07/08/mod_perl.html Awesome! Directives work great now. Cool! A2C is now almost functional. So tired of fitting my brain into other peoples' code... had to do it my way! Hopefully it's close to the "right way" in view of the mod_perl manual. I kinda like it... loosey goosey structure. --mark--