« Good read.. | Main | Traffic stats »

MT under mod_perl

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

Listed below are links to weblogs that reference MT under mod_perl:

» mod_perl rocks from Steve's weblog
Well, my webmistress got mod_perl working on our server, so now Movable Type is much faster - wow! The old [Read More]

» Movable Type under mod_perl from Ask Bjørn Hansen
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]

Comments

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"? :-)

No.

But this is spamming.

My book's web site is: http://advanced-mysql.com/

:-)

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!)