You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Pierre-Yves DION <pi...@gmail.com> on 2006/04/11 19:45:09 UTC

PerlMapToStorageHandler

perl version 5.8.1
mod_perl version  1.99
apache version : 2.0.47

I added in the httpd.conf file the following line : include conf/perl.conf

In the file perl.conf, i have different handlers.
When I started the httpd service, i have an error message saying :
"starting httpd: syntax error on line 6 of /etc/httpd/conf/perl.conf :
Invalid command 'PerlMapToStorageHandler', perhaps mis-spelled or defined by
a module not included in the server configuration"

All the handler declaration are in the same directory and i have an error
only for this handler.
Can you please help me?

Thanks

Pierre

Re: PerlMapToStorageHandler

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Pierre-Yves DION wrote:
> perl version 5.8.1
> mod_perl version  1.99
=item 1.99_11
Add PerlMapToStorageHandler [Geoffrey Young]

Thats your problem, you're running 1.99 before DEVELOPER PREVIEW RELEASE 11.

If you can't upgrade to 2.0 for then at least get 1.99_12 if you need this 
handler.




-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Re: PerlMapToStorageHandler

Posted by Pierre-Yves DION <pi...@gmail.com>.
please find enclosed my perl.conf file

In httpd.conf, the mod_perl module is loaded before the include of perl.conf
yes i have startup.pl
and PerlMapToStorageHandler is not the first line of my perl.conf file.

and i can't install mod_perl 2!

Thanks
Pierre

On 4/11/06, Philip M. Gollucci <pg...@p6m7g8.com> wrote:
>
> Pierre-Yves DION wrote:
> > perl version 5.8.1
> > mod_perl version  1.99
> > apache version : 2.0.47
> EGAD, thats ancient ... ~2 years!  You'll find a hard time getting help
> using pre 2.0 mod_perl release. I STRONGLY urge you to uprade.
>
> > Invalid command 'PerlMapToStorageHandler', perhaps mis-spelled or
> Maybe attach the file (perl.conf) in another e-mail ?
> Does it happen to be the first one listed in the file ?
>
> Did you place a LoadModule line for mod_perl.so in httpd.conf BEFORE this
> ?
> Do you have startup.pl ?
>
>
> http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlMapToStorageHandler
>
> HTH
>
> --
> ------------------------------------------------------------------------
> Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
> Consultant / http://p6m7g8.net/Resume/resume.shtml
> Senior Software Engineer - TicketMaster - http://ticketmaster.com
> 1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F
>
> "It takes a minute to have a crush on someone, an hour to like someone,
> and a day to love someone, but it takes a lifetime to forget someone..."
>



--
Pierre-Yves Dion
3417 Metzerott Road
College Park MD 20740
+33689230125

Re: PerlMapToStorageHandler

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Pierre-Yves DION wrote:
> perl version 5.8.1
> mod_perl version  1.99
> apache version : 2.0.47
EGAD, thats ancient ... ~2 years!  You'll find a hard time getting help 
using pre 2.0 mod_perl release. I STRONGLY urge you to uprade.

> Invalid command 'PerlMapToStorageHandler', perhaps mis-spelled or 
Maybe attach the file (perl.conf) in another e-mail ?
Does it happen to be the first one listed in the file ?

Did you place a LoadModule line for mod_perl.so in httpd.conf BEFORE this ?
Do you have startup.pl ?

http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlMapToStorageHandler

HTH

-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Re: PerlMapToStorageHandler

Posted by Frank Wiles <fr...@wiles.org>.
On Tue, 11 Apr 2006 13:45:09 -0400
"Pierre-Yves DION" <pi...@gmail.com> wrote:

> perl version 5.8.1
> mod_perl version  1.99
> apache version : 2.0.47
> 
> I added in the httpd.conf file the following line : include
> conf/perl.conf
> 
> In the file perl.conf, i have different handlers.
> When I started the httpd service, i have an error message saying :
> "starting httpd: syntax error on line 6 of /etc/httpd/conf/perl.conf :
> Invalid command 'PerlMapToStorageHandler', perhaps mis-spelled or
> defined by a module not included in the server configuration"
> 
> All the handler declaration are in the same directory and i have an
> error only for this handler.
> Can you please help me?

  Hi Pierre, 

  Unfortunately you're using a pre-release version of mod_perl 2.x that
  has many bugs and may even not be using the current API. 

  The easiest way to make sure this isn't what is causing your issue
  is to upgrade to mod_perl 2.0.2. 

  Hope this helps. 

 ---------------------------------
   Frank Wiles <fr...@wiles.org>
   http://www.wiles.org
 ---------------------------------