How can I set Plesk settings for a virtual directory?
Posted on 2014-10-24
I have a an iis 7 website at godaddy under the old hosting manager system which allows me to include a file in a page using the following: <!--#include file="../includes/linked-filename.asp"-->
I'm moving the site to a new plesk site and encounter a server error when a page references the linked-filename.
The server error only occurs when I need to go up the chain to the linked directory (i.e., ../includes/...).
If the included/linked file is in the current directory or a subdirectory (i.e., <!--#include file="includes/linked-filename.asp"--> or members/includes/linked-filename), there is no error.
It would be inconvenient to need a separate file for each subdirectory. If i changed a DB password that would mean changing every file.
I'm not sure how to set the plesk virtual directory settings and the plesk help didn't help me as much as i had hoped.
Thanks for any help you can provide.