Can RT3.4.3 or RT3.4.2 run on apache 2+mod_perl?

Hi all,
We are planning to configure RT on apache 2 with mod_perl. We require
apache 2 to be installed and since there lot of posts which showed
configuration problems with apache 2, i was wondering if anyone has been
successful in running any version of RT on apache 2 and mod_perl ?

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

I was able to do this last year on Fedora Core @2. However, when I just
tried it on a fully updated Fedora Core 4 machine with the latest RT, no
joy. I had problems with webmux.pl finding Apache2.pm and another file
because they were in a Bundle subdirectory, I fixed that with a use lib
line in webmux, then ran into a problem where perl said that the load
subroutine was being redefined by XSLoader. I gave up and switched to
FastCGI.

-KellyFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Ahalya_Nathan@mudnebr.com
Sent: Friday, August 19, 2005 12:57 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Can RT3.4.3 or RT3.4.2 run on apache 2+mod_perl?

Hi all,
We are planning to configure RT on apache 2 with mod_perl. We require
apache 2 to be installed and since there lot of posts which showed
configuration problems with apache 2, i was wondering if anyone has
been successful in running any version of RT on apache 2 and mod_perl ?

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

I was able to do this last year on Fedora Core @2. However, when I
just tried it on a fully updated Fedora Core 4 machine with the latest
RT, no joy. I had problems with webmux.pl finding Apache2.pm and
another file because they were in a Bundle subdirectory, I fixed that
with a use lib line in webmux, then ran into a problem where perl said
that the load subroutine was being redefined by XSLoader. I gave up
and switched to FastCGI.
-Kelly

We are planning to configure RT on apache 2 with mod_perl. We
require apache 2 to be installed and since there lot of posts which
showed configuration problems with apache 2, i was wondering if
anyone has been successful in running any version of RT on apache 2

We’re currently running RT 3.4.2 on RHEL 4’s Apache (2.0.52). While,
like Kelly, we’re using FastCGI rather than mod_perl, we’ve had
absolutely no trouble with apache 2.

and mod_perl ?

Once upon a time mod_perl2 was simply not an option with RT. See:

http://lists.bestpractical.com/pipermail/rt-users/2005-April/ 

030477.html

While I can’t speak from personal experience, recent postings to this
list have indicated that RT’s previous inability to easily play nicely
with mod_perl may come to an end soon.

To quote Jesse (“[rt-users] 3.4.4 soon?”):On Aug 18, 2005, at 1:57 AM, Jesse Vincent wrote:

I expect that we’ll roll RT 3.4.4 sometime
in the next week. Now that Mason 1.30 is out, there’s even a slight
chance that it could include a first cut of actual, honest-to-goodness,
mod_perl2 support. But that’s purely speculation on my part.

Jesse

While you say that you have a requirement that you use (or at least
install?) apache 2, you state no similar requirement that you use
mod_perl. Could you use Apache 2 with FastCGI? It worked for us “out of
the box,” though of course, YMMV. If you have need to use mod_perl,
perhaps either RT 3.4.4 or something from the 3.5.x development family
will provide what you need. Alternatively, you might be able to try
using Apache2 with mod_perl1, but I believe that that has lead to many
headaches for others in the past. There are also instructions on
building your own apache + mod_perl are located on the BestPractical
wiki at:

http://wiki.bestpractical.com/index.cgi?ManualApache

Best of luck,

-Chris Allison
Brandeis University CS Dept.
Systems Operations Guru
chris@cs.brandeis.edu
http://www.cs.brandeis.edu/~guru/

We are planning to configure RT on apache 2 with mod_perl. We require
apache 2 to be installed and since there lot of posts which showed
configuration problems with apache 2, i was wondering if anyone has
been successful in running any version of RT on apache 2 and mod_perl

Yup.

I’m running it on MP2/A2 on Suse 9.2 (on PostGres, even).

It’s not a hardcore production system, we’re still playing, but
everything I’ve tried has worked so far.

Cheers,
– jra
Jay R. Ashworth jra@baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274

"NPR has a lot in common with Nascar... we both turn to the left."
	- Peter Sagal, on Wait Wait, Don't Tell Me!

Hi Jay,

Which version of mod_perl are you running? Is it possible to send me the
httpd.conf file of Apache 2.

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

“Jay R. Ashworth” jra@baylink.com
Sent by: rt-users-bounces@lists.bestpractical.com
08/22/2005 08:53 AM

To
rt-users@lists.bestpractical.com
cc

Subject
Re: [rt-users] Can RT3.4.3 or RT3.4.2 run on apache 2+mod_perl?

We are planning to configure RT on apache 2 with mod_perl. We
require
apache 2 to be installed and since there lot of posts which
showed
configuration problems with apache 2, i was wondering if anyone
has
been successful in running any version of RT on apache 2 and
mod_perl

Yup.

I’m running it on MP2/A2 on Suse 9.2 (on PostGres, even).

It’s not a hardcore production system, we’re still playing, but
everything I’ve tried has worked so far.

Cheers,
– jra
Jay R. Ashworth jra@baylink.com
Designer Baylink RFC
2100
Ashworth & Associates The Things I Think '87
e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647
1274

             "NPR has a lot in common with Nascar... we both turn to 

the left."
- Peter Sagal, on Wait Wait, Don’t Tell
Me!
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

The reason i am choosing mod_perl over FastCGI is because we need to
implement the “NTLM” (integrated windows authentication) module for
Apache/Unix. The module is called as mod_ntlm.c and my search over the
internet showed that Apache1.3.9 and Apache 2.0 support it. So, we want
to upgrade our current version of Apache to Apache 2.0 with any version of
mod_perl.

Has anyone installed the mod_ntlm module in Apache? If yes, does it work
fine with FastCGI?

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

Christopher Allison chris@cs.brandeis.edu
08/19/2005 07:57 PM

To
rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com
cc
Ahalya_Nathan@mudnebr.com”, “Kelly F. Hickel” kfh@mqsoftware.com
Subject
Re: [rt-users] Can RT3.4.3 or RT3.4.2 run on apache 2+mod_perl?

I was able to do this last year on Fedora Core @2. However, when I
just tried it on a fully updated Fedora Core 4 machine with the latest
RT, no joy. I had problems with webmux.pl finding Apache2.pm and
another file because they were in a Bundle subdirectory, I fixed that
with a use lib line in webmux, then ran into a problem where perl said
that the load subroutine was being redefined by XSLoader. I gave up
and switched to FastCGI.
-Kelly

We are planning to configure RT on apache 2 with mod_perl. We
require apache 2 to be installed and since there lot of posts which
showed configuration problems with apache 2, i was wondering if
anyone has been successful in running any version of RT on apache 2

We’re currently running RT 3.4.2 on RHEL 4’s Apache (2.0.52). While,
like Kelly, we’re using FastCGI rather than mod_perl, we’ve had
absolutely no trouble with apache 2.

and mod_perl ?

Once upon a time mod_perl2 was simply not an option with RT. See:

http://lists.bestpractical.com/pipermail/rt-users/2005-April/
030477.html

While I can’t speak from personal experience, recent postings to this
list have indicated that RT’s previous inability to easily play nicely
with mod_perl may come to an end soon.

To quote Jesse (“[rt-users] 3.4.4 soon?”):On Aug 18, 2005, at 1:57 AM, Jesse Vincent wrote:

I expect that we’ll roll RT 3.4.4 sometime
in the next week. Now that Mason 1.30 is out, there’s even a slight
chance that it could include a first cut of actual, honest-to-goodness,
mod_perl2 support. But that’s purely speculation on my part.

Jesse

While you say that you have a requirement that you use (or at least
install?) apache 2, you state no similar requirement that you use
mod_perl. Could you use Apache 2 with FastCGI? It worked for us “out of
the box,” though of course, YMMV. If you have need to use mod_perl,
perhaps either RT 3.4.4 or something from the 3.5.x development family
will provide what you need. Alternatively, you might be able to try
using Apache2 with mod_perl1, but I believe that that has lead to many
headaches for others in the past. There are also instructions on
building your own apache + mod_perl are located on the BestPractical
wiki at:

             http://wiki.bestpractical.com/index.cgi?ManualApache

Best of luck,

-Chris Allison
Brandeis University CS Dept.
Systems Operations Guru
chris@cs.brandeis.edu
http://www.cs.brandeis.edu/~guru/

The reason i am choosing mod_perl over FastCGI is because we need to
implement the “NTLM” (integrated windows authentication) module for
Apache/Unix. The module is called as mod_ntlm.c and my search over the
internet showed that Apache1.3.9 and Apache 2.0 support it. So, we
want to upgrade our current version of Apache to Apache 2.0 with any
version of mod_perl.

Has anyone installed the mod_ntlm module in Apache? If yes, does it
work fine with FastCGI?

Apache is pretty modular. I’d expect any authentication method to
work fine with fastcgi. I use mod_auth_pam on a linux box configured
to authenticate against an NT domain controller myself.

Les Mikesell
les@futuresource.com

Which version of mod_perl are you running? Is it possible to send me
the httpd.conf file of Apache 2.

I’m running the one before the Great Renaming, and I believe you
would have to as well, at least for 3.4.1, which is the RT I’m running.
Later versions may or may not have tracked the MP2 namespace change.

I hadn’t thought it was, but it appears to be

apache2-mod_perl-1.99_12_20040302-38

from the SuSE 9.2 release. The Apache is 2.0.50, by now, after some
upgrades.

What I believe are the pertinent config files are visible at

http://staging.microsys.us/pub/rtconf/

though that mod_perl config file is clearly not right; nothing is in
/srv/www.

It’s been at least 6 months since I had to touch my config, so I’m a bit
weak.

Cheers,
– jra
Jay R. Ashworth jra@baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274

"NPR has a lot in common with Nascar... we both turn to the left."
	- Peter Sagal, on Wait Wait, Don't Tell Me!

Which version of mod_perl are you running? Is it possible to send me
the httpd.conf file of Apache 2.

I’m running the one before the Great Renaming, and I believe you
would have to as well, at least for 3.4.1, which is the RT I’m running.
Later versions may or may not have tracked the MP2 namespace change.

I have managed to get it working with the one after the Great Renaming too.
The necessary changes are actually pretty minimal. A proper solution is
expected in the next release. Meanwhile the changes described in this debian
bug report may be of help:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317271

					 Jan 'Bulb' Hudec <bulb@ucw.cz>

signature.asc (189 Bytes)