Re: apache2 or mod_perl2 oddball error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to Torsten F?rtsch <torsten.foertsch@xxxxxxx> 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@xxxxxxxxx

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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux