I need some help with URL rewriting. The case is similar with this one.
I have a working Zend Framework site. Now I must add a blog in Wordpress (also working). I\'v
www.site.com (points to /var/www/zf)
www.site.com/blog (points to /var/www/wp)
The easiset way to achive this, where you want a sub-url to point outside the VirtualHost's DocumentRoot directory, is to create an Alias...
Inside the VirtualHost block add:
Alias /blog /var/www/wp
Options All
AllowOverride All
order allow,deny
allow from all
*This assumes you have PHP enabled in some way for that directory.