I would like to know if there is a way to include PHP files from Virtual Directory to a PHP file in site's root.
For example I have siteroot:
- siteroot\index.php
- siteroot\other.php
and a separate userconfig dir, containing client's individual config (and uploads):
- userconfig\client1\config.php
- userconfig\client2\config.php
- userconfig\client3\config.php
I have added IIS site for each client, and a virtual directory within that site pointing to userconfig\clientid\ as "\userconfig\" dir, so each site looks like this:
- siteroot\index.php
- siteroot\other.php
- siteroot\userconfig\config.php
It all works fine, except that I cannot include \userconfig\config.php inside index.php
Any suggestions?
It's IIS 7.5, Windows Server 2008 R2