View previous topic :: View next topic |
Author |
Message |
jaimed n00b
Joined: 22 Aug 2002 Posts: 12 Location: Buenos Aires, Argentina.
|
Posted: Sun Sep 21, 2003 10:48 pm Post subject: Apache2 + mod_perl + RT |
|
|
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 |
|
|
cuban Guru
Joined: 23 Aug 2003 Posts: 448 Location: Houston, TX
|
Posted: Sat Jan 01, 2005 6:45 pm Post subject: |
|
|
Did you ever get this working? _________________ Tell your ISP to support SPF/SASL AUTH (http://spf.pobox.com) today! |
|
Back to top |
|
|
mattsteven Apprentice
Joined: 27 Oct 2003 Posts: 240 Location: Your Planet
|
Posted: Wed Mar 30, 2005 7:36 pm Post subject: |
|
|
Code: |
# USE="apache2" emerge mod_perl
|
Fixed. _________________ Matthew Steven
Linux-only desktop since 1998
Graying hair since 2006 |
|
Back to top |
|
|
|
|
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
|
|