Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 + mod_perl + RT
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
jaimed
n00b
n00b


Joined: 22 Aug 2002
Posts: 12
Location: Buenos Aires, Argentina.

PostPosted: Sun Sep 21, 2003 10:48 pm    Post subject: Apache2 + mod_perl + RT Reply with quote

Estoy tratando de hacer funcionar un sistema de ticket, llamado Request Tracker www.bestpractical.com/RT .

El mismo requiere mod_perl y la creacion de un virtual host para funcionar.
He compilado Apache2 y mod_perl 1.99 sin problemas, he resuelto todas las dependencias de modulos Perl de RT (son varios).

Apache, modificando el conf.d con "-D PERL" inicia sin problemas.

Ahora, cuando modifico el archivo vhosts.conf con lo siguiente:

Code:

<VirtualHost your.ip.address>
    ServerName your.rt.server.hostname
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8

    # these four lines applies to Apache2+mod_perl2 only: {{{
    PerlSetVar MasonArgsMethod CGI
    PerlModule Apache2 Apache::compat
    RewriteEngine On
    RewriteRule ^(.*)/$ $1/index.html
    # }}}

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>


Apache no inicia, lanzando el siguiente mensaje de error:

Code:


* Starting apache2...
Syntax error on line 49 of /etc/apache2/conf/vhosts/vhosts.conf:
Invalid command 'PerlHandler', perhaps mis-spelled or defined by a module not included in the server configuration



Supongo que mod_perl no esta iniciando, pero realmente no estoy seguro de que asi sea, ya que sin la config del virtual host no lanza ningun mensaje de error.
Este producto lo he hecho funcionar sin problemas en Red Hat 8, alli los virtual hosts no se configuran en un archivo separado sino que se encuentran dentro del httpd.conf.

Cualquier ayuda, será apreciada.
Gracias.
Back to top
View user's profile Send private message
cuban
Guru
Guru


Joined: 23 Aug 2003
Posts: 448
Location: Houston, TX

PostPosted: Sat Jan 01, 2005 6:45 pm    Post subject: Reply with quote

Did you ever get this working?
_________________
Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today!
Back to top
View user's profile Send private message
mattsteven
Apprentice
Apprentice


Joined: 27 Oct 2003
Posts: 240
Location: Your Planet

PostPosted: Wed Mar 30, 2005 7:36 pm    Post subject: Reply with quote

Code:

# USE="apache2" emerge mod_perl


Fixed.
_________________
Matthew Steven
Linux-only desktop since 1998
Graying hair since 2006
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum