Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ASP

Apache 2 CPAN installation

 

 

ModPerl asp RSS feed   Index | Next | Previous | View Threaded


teufboy at gmail

Oct 23, 2006, 12:29 AM

Post #1 of 3 (2872 views)
Permalink
Apache 2 CPAN installation

Hi,
I try to install asp on my apache server with CPAN :

# rpm -qa | grep apache2
apache2-prefork-2.0.54-10
apache2-2.0.54-10
apache2-mod_perl-2.0.1-4
apache2-mod_php4-4.4.0-6

--------------------------------------------------------------------

cpan> install Bundle::Apache::ASP
MLDBM is up to date.
Digest::MD5 is up to date.
MLDBM::Sync is up to date.
Apache::ASP is up to date.

--------------------------------------------------------------------
My httpd.conf ----------------------------------------------------
--------------------------------------------------------------------

# Si le module Perl est operationnel :
<IfModule mod_perl.c>
Alias /perl/ /srv/www/htdocs/perl/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</IfModule>

# Module Perl Apache::ASP
<Files *.asp>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Filter Off
PerlSetVar Debug 1
PerlSetVar Debug 2
Options +ExecCGI
PerlSetVar MailAlertTo root[at]localhost
PerlSetVar MailErrorsTo root[at]localhost
PerlSetVar Global /tmp/asp
</Files>
--------------------------------------------------------------------

when I start apache :

/etc/init.d/apache2 restart
Syntax error on line 177 of /etc/apache2/httpd.conf:
Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module
not included in the server configuration

Someon Could hep me please !!!

A lot of thanks !!!!
--
View this message in context: http://www.nabble.com/Apache-2-CPAN-installation-tf2492784.html#a6949564
Sent from the Apache - Asp mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe[at]perl.apache.org
For additional commands, e-mail: asp-help[at]perl.apache.org


teufboy at gmail

Oct 23, 2006, 12:29 AM

Post #2 of 3 (2764 views)
Permalink
Apache 2 CPAN installation [In reply to]

Hi,
I try to install asp on my apache server with CPAN :

# rpm -qa | grep apache2
apache2-prefork-2.0.54-10
apache2-2.0.54-10
apache2-mod_perl-2.0.1-4
apache2-mod_php4-4.4.0-6

--------------------------------------------------------------------

cpan> install Bundle::Apache::ASP
MLDBM is up to date.
Digest::MD5 is up to date.
MLDBM::Sync is up to date.
Apache::ASP is up to date.

--------------------------------------------------------------------
My httpd.conf ----------------------------------------------------
--------------------------------------------------------------------

# Si le module Perl est operationnel :
<IfModule mod_perl.c>
Alias /perl/ /srv/www/htdocs/perl/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</IfModule>

# Module Perl Apache::ASP
<Files *.asp>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Filter Off
PerlSetVar Debug 1
PerlSetVar Debug 2
Options +ExecCGI
PerlSetVar MailAlertTo root[at]localhost
PerlSetVar MailErrorsTo root[at]localhost
PerlSetVar Global /tmp/asp
</Files>
--------------------------------------------------------------------

when I start apache :

/etc/init.d/apache2 restart
Syntax error on line 177 of /etc/apache2/httpd.conf:
Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module
not included in the server configuration

Someone Could hep me please !!!

A lot of thanks !!!!
--
View this message in context: http://www.nabble.com/Apache-2-CPAN-installation-tf2492784.html#a6949564
Sent from the Apache - Asp mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe[at]perl.apache.org
For additional commands, e-mail: asp-help[at]perl.apache.org


warren at etr-usa

Oct 23, 2006, 2:40 PM

Post #3 of 3 (2777 views)
Permalink
Re: Apache 2 CPAN installation [In reply to]

teufboy wrote:
> Syntax error on line 177 of /etc/apache2/httpd.conf:
> Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module
> not included in the server configuration

It looks like mod_perl is broken. Try:

$ rpm --verify apache2-mod_perl

If it prints anything, follow up on what it's reporting. It might be
that there is some file corruption, or missing files.

If it doesn't return anything, I'd check for an updated set of RPMs from
your Linux distribution provider. Are these official RPMs, or something
you downloaded from a third-party web site?

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe[at]perl.apache.org
For additional commands, e-mail: asp-help[at]perl.apache.org

ModPerl asp RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.