let me just start that I am an asp newb...

searched all over the internet for this answer and can't seem to find anything

I have a config.asp file (located on my server (ip_address/root/config.asp) that i am declaring a variable in:

Code:
<&#37; 
dim root_path 
root_path = "/rootfolder/"
 %>
I want to include this file in a subfolder "http://ip_address/root/subfolder/"

a) is this the only way to include the config file in it? <!--#include virtual="/root/config.asp"-->
-b/c if that is the case, I would have to delete the /root out when i move from dev to prod (seems pointless)

b) can I include a declared variable in an include statement?
Code:
<!--#include virtual="<%=root_path%>inc/header.asp"-->
i get an asp error in this case...

Active Server Pages error 'ASP 0126'

Include file not found

/root/subfolder/default.asp, line 34

The include file '<%=root_path%>inc/header.asp' was not found.


If anyone can provide help, I would be very appreciative! I have scoured the internet for the past 2 business days looking for help...