Loading ...
Sorry, an error occurred while loading the content.

Apache 2 CPAN installation

Expand Messages
  • teufboy
    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
    Message 1 of 3 , Oct 23, 2006
    • 0 Attachment
      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@localhost
      PerlSetVar MailErrorsTo root@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@...
      For additional commands, e-mail: asp-help@...
    • teufboy
      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
      Message 2 of 3 , Oct 23, 2006
      • 0 Attachment
        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@localhost
        PerlSetVar MailErrorsTo root@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@...
        For additional commands, e-mail: asp-help@...
      • Warren Young
        ... 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
        Message 3 of 3 , Oct 23, 2006
        • 0 Attachment
          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@...
          For additional commands, e-mail: asp-help@...
        Your message has been successfully submitted and would be delivered to recipients shortly.