Questions on IIS / PHP server config when using shared directories

JeremyL - February 19, 2008 - 17:37

We have some pretty complicated apps running on our IIS / Windows box and tech doesn't want to install PHP on the production boxes that make our money for us. We want to install Drupal, PHP, & MySQL on a separate box and have it run as a sub directory. So the configuration would look like this.

IIS / Windows / .NET / ISAPI Rewrite - domain.com
IIS / Windows / PHP / MySQL / Drupal - domain.com/content/

Is this setup possible? The PHP being setup on the secondary box where Drupal is only? Not on the main server?

This setup is possible if

blur - February 21, 2008 - 01:10

This setup is possible if you proxy the content the second box through the primary box. You need a rule like the following:

RewriteRule ^/content/?(.*)$ http://second.box/$1 [P]

 
 

Drupal is a registered trademark of Dries Buytaert.