httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Bulley <...@umich.edu>
Subject Re: [users@httpd] apache2 or mod_perl2 oddball error
Date Thu, 16 Jun 2011 15:23:00 GMT
According to Torsten F?rtsch <torsten.foertsch@gmx.net> on Thu, 06/16/11 at 11:16:
> 
> Try
> 
>   <Perl>
>     use Apache2::Const -compile=>qw/:common/;
>   </Perl>
> 
> What you try to do is
> 
>   use q{Apache2::Const -compile => ':common'};
> 
> You can also write
> 
>   PerlModule Apache2::Const
> 
> It complies the same symbols as :common does, see:
> 
> $ perl -MApache2::Const -le 'print for keys %{Apache2::Const::}'
> DECLINED
> compile
> AUTH_REQUIRED
> REDIRECT
> OK
> DONE
> bootstrap
> import
> ISA
> BEGIN
> SERVER_ERROR
> VERSION
> FORBIDDEN
> NOT_FOUND
> 
> $ perl -le 'use Apache2::Const -compile=>qw/:common/; print for keys 
> %{Apache2::Const::}'
> DECLINED
> compile
> AUTH_REQUIRED
> REDIRECT
> OK
> DONE
> bootstrap
> import
> ISA
> BEGIN
> SERVER_ERROR
> VERSION
> FORBIDDEN
> NOT_FOUND

Thanks for the suggestions.

Neither the <Perl>...</Perl> nor the plain "PerlModule Apache2::Const"
suggestion made any difference.  I still get the same error(s):      :-(

freebsd# apachectl -t
[Thu Jun 16 11:19:41 2011] [error] syntax error at (eval 22) line 1, near "require APR::Const
-"\n
[Thu Jun 16 11:19:41 2011] [error] Can't load Perl module APR::Const -compile => ':common'
for server localhost, exiting...

Regards,

web...

--
William Bulley                     Email: web@umich.edu

72 characters width template ----------------------------------------->|

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message