RT and mod_perl


#1

(rt 1.1 is going to be built around HTML::Mason. HTML::Mason is geared
towards mod_perl … am I the only one that has been happy with
fastcgi and never bothered to install mod_perl, or will there be more than
me that will have problems with mod_perl?)

I’m trying to install the latest versions of mod_perl, apache and perl …
well … this doesn’t look too bright:

make test for mod_perl-1.22:
Failed 22/33 test scripts, 33.33% okay. 63/86 subtests failed, 26.74%
okay.

Well, I think maybe I should manage to find out of this eventually
somehow.

It should be possible to run mason as a cgi, do you know how to set this
up? It seems like both the current webmux.pl and the suggested apache
configuration in the README is geared towards mod_perl.

Tobias Brox (alias TobiX) - +4722925871 - urgent emails to
sms@tobiasb.funcom.com. Check our upcoming MMORPG at
http://www.anarchy-online.com/ (Qt) and play multiplayer Spades,
Backgammon, Poker etc for free at http://www.funcom.com/ (Java)


#2

(rt 1.1 is going to be built around HTML::Mason. HTML::Mason is geared
towards mod_perl … am I the only one that has been happy with
fastcgi and never bothered to install mod_perl, or will there be more than
me that will have problems with mod_perl?)

There will be a CGI version of the web handler, also using HTML::Mason.

I’m trying to install the latest versions of mod_perl, apache and perl …
well … this doesn’t look too bright:

I’d be _very afraid of perl 5.6 for now. But I just insrtalled the latest
mod_perl and apache last night. it just worked. i ran ./configure in apache
then followed the mod_perl install instrictions. it “just worked”

make test for mod_perl-1.22:
Failed 22/33 test scripts, 33.33% okay. 63/86 subtests failed, 26.74%
okay.

Well, I think maybe I should manage to find out of this eventually
somehow.

It should be possible to run mason as a cgi, do you know how to set this
up? It seems like both the current webmux.pl and the suggested apache
configuration in the README is geared towards mod_perl.

By the time we get to release, I fully plan to bundle a CGI version of the webmux handler. butfor development, mod_perl is faster and easier for me to deal with. but there’s definitely a way for mason to run as a cgi…

From the mason FAQ at masonhq.com:

Can I run HTML::Mason via CGI?

Yes. Masonite Ilmari Karonen uses HTML::Mason under CGI. He has kindly posted the necessary steps to do this on the HTML::Mason mailing list. His
message can be viewed at http://forum.swarthmore.edu/epigone/mason/gimpswumfrex/Pine.SOL.3.96.990917144751.17640B-100000@simpukka

Please note that running HTML::Mason under CGI (or other non-persistent environments) will entail a substantial performance hit, since the perl
interpreter will have to load, load up HTML::Mason and its supporting modules for every CGI execution. Using mod_perl or similar persistent
environments (SpeedyCGI, FastCGI, etc.) avoids this performance bottleneck.


Tobias Brox (alias TobiX) - +4722925871 - urgent emails to
sms@tobiasb.funcom.com. Check our upcoming MMORPG at
http://www.anarchy-online.com/ (Qt) and play multiplayer Spades,
Backgammon, Poker etc for free at http://www.funcom.com/ (Java)

jesse reed vincent – jrvincent@wesleyan.edujesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
"That package looks like what I wanted, but the site was down today,
so I decided to reimplement it in Perl."
-me


#3

I’d be _very afraid of perl 5.6 for now.

Well, I must admit that I’ve had some stability problems when debugging RT
with 5.6.0-RC1. I hope 5.6.0 will be better.

By the time we get to release, I fully plan to bundle a CGI version of
the webmux handler. butfor development, mod_perl is faster and easier
for me to deal with. but there’s definitely a way for mason to run as
a cgi…

Unless I can get mod_perl up running during the next few hours, I will
take it into my own hands.

Tobias Brox (alias TobiX) - +4722925871 - urgent emails to
sms@tobiasb.funcom.com. Check our upcoming MMORPG at
http://www.anarchy-online.com/ (Qt) and play multiplayer Spades,
Backgammon, Poker etc for free at http://www.funcom.com/ (Java)


#4

Unless I can get mod_perl up running during the next few hours, I will
take it into my own hands.

I finally got the web server up running, but the httpd always segfaults.
I think I will look a bit more into it, but my patience is very thin now,
so I will eventually make a cgi.

Tobias Brox (alias TobiX) - +4722925871 - urgent emails to
sms@tobiasb.funcom.com. Check our upcoming MMORPG at
http://www.anarchy-online.com/ (Qt) and play multiplayer Spades,
Backgammon, Poker etc for free at http://www.funcom.com/ (Java)


#5

(rt 1.1 is going to be built around HTML::Mason. HTML::Mason is geared
towards mod_perl … am I the only one that has been happy with

Does this mean all SUIDness will be gone by 1.1? I didn't think

you could get mod_perl to play with the current RT web stuff given that it
needs the wrappers to access the transactions directory?

– Daniel R. danielr@ccs.neu.edu [http://www.ccs.neu.edu/home/danielr/]


#6

That’s the plan. There are plenty of other reasons that mod_perl won’t
work in the 1.0. (Everything is a mess of global hashes)

jesseOn Thu, Mar 30, 2000 at 09:44:47AM -0500, Daniel Rinehart wrote:

(rt 1.1 is going to be built around HTML::Mason. HTML::Mason is geared
towards mod_perl … am I the only one that has been happy with

Does this mean all SUIDness will be gone by 1.1? I didn’t think
you could get mod_perl to play with the current RT web stuff given that it
needs the wrappers to access the transactions directory?

– Daniel R. danielr@ccs.neu.edu [http://www.ccs.neu.edu/home/danielr/]

jesse reed vincent – jrvincent@wesleyan.edujesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
…realized that the entire structure of the net could be changed to be made
more efficient, elegant, and spontaneously make more money for everyone
involved. It’s a marvelously simple diagram, but this form doesn’t have a way
for me to draw it. It’ll wait. -Adam Hirsch