How I got this to work…

I like to do the bulk of my site stuff in rails.  I’ve also always wanted to setup a wordpress blog.  Oh, and I’m a total convert to mod_rails.

So it only took a minimal amount of fretting on how to merge php and rails together in my apache server when I discovered that the mod_rails dev version has exactly what I needed…PassengerEnabled!

See this little config setting completely bypasses the serving of your site by mod_rails so your PHP code is free to get served by, um, mod_php5.  Its brilliant and all you have to do is this:

git://github.com/FooBarWidget/passenger.git
./bin/passenger-install-apache2-module

then in your http.conf file add:

<Location /blog>
PassengerEnabled off
</Location>

and that’s it! it completely bypasses the wordpress folder (assuming you put it in public/blog) and leaves you free to figure out your next hurdle.

It was so brilliantly drop-in simple…the way I love things to be.

  1. FRANCISCO says:


    Pillspot.org. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. High quality pills. Order drugs online

    Buy:Nexium.Lumigan.Valtrex.Arimidex.Human Growth Hormone.100% Pure Okinawan Coral Calcium.Actos.Zyban.Prednisolone.Prevacid.Synthroid.Petcam (Metacam) Oral Suspension.Accutane.Zovirax.Mega Hoodia.Retin-A….

Leave a Reply