Serve wordpress blog from subdirectory with django and wsgi
You can disable Phusion Passenger for specific locations in the Passenger app using the following code:
<VirtualHost *:80> ServerName www.foo.com DocumentRoot /apps/foo/public <Directory /apps/foo/public/wordpress> PassengerEnabled off AllowOverride all # <-- Makes Wordpress's .htaccess file work. </Directory></VirtualHost>
For more tricks, check out the Phusion Passenger documentation