I just got mod_perl running and my Movable Type is now executing under mod_perl.
It's a *lot* faster.. 3 times at least.
Here's the apache config I put in..
<IfModule mod_perl.c>
<Location /mtype>
SetHandler perl-script
PerlHandler Apache::PerlRun
Options +ExecCGI
</Location>
</IfModule>
Now this isn't the best way to do this.. since it involes moving all static pages (images, docs, stylesheets) out of the mtype location.. I'm looking into doing it in a more elegant way.
Huge difference in speed!
TrackBack URL for this entry: http://www.unix-girl.com/mt/mt-tb.cgi/84
Since all the MT files have a .cgi extension, just tell mod_perl to only handle *.cgi files. That would seem to get around the problem of having to shuffle files around.
Of course, I'd have to hack around a bit to figure out the right incantation to make that work. And I've got this silly little book to be writing...
#Jeremy wrote:
> Of course, I have this book I should be writing.
Is it called "Spamming your book via weblogs"? :-)
#Almost nobody reads this blog anyway :)
#School starts tomorrow, I'll post it on the school bulletin board ;)
#Hey, I'm not just almost nobody. I am nobody!
#If you install MT as a mod_perl handler, its even faster. In fact, it runs ludicrously quickly, considering how sluggish it can be as a CGI app.
(found your blog while googling for mod_throttle. lots of great info here, thanks!)
#Well, my webmistress got mod_perl working on our server, so now Movable Type is much faster - wow! The old
(read more)
September 2, 2002 10:42 PM
Kasia configured her Movable Type installation to run under mod_perl. I've done that too since I installed the 2.0 beta I got Ben to give me ("I get beta; you get patches?"). :-) Yes, it rocks. If Kasia had followed the detailed documentation for prope...
(read more)
September 4, 2002 07:01 PM