benr75 wrote:
> Hello ~
> I migrated a site today from Apache + mod_proxy_balancer + thin to
> Phusion Passenger. Worked like a charm and freed up memory, we threw
> a little party, then remembered that we had a sub directory that we
> had been running wordpress in. In the original setup we had some
> rewriterules that handled passing things off correctly, these will not
> work as I believe passenger is doing some of its own magic
> rewriting.
> Is it possible to run a wordpress site in a subdirectory of a
> passenger virtual host?
Yes it is. The easiest way to do this is to use the development version
of Passenger. You can then turn off Passenger for sub URIs, like this:
<VirtualHost ...>
ServerName ...
DocumentRoot ...
<Location /blog>
PassengerEnabled off # <---- !!!
</Location>
</VirtualHost>
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)