
October 15th, 2004, 11:20 AM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
IIS / include virtual path problems
When using include virtual statments on the remote server there is no problem, but when viewing on the local server the path to the include file is incorrect and in return, sends me a 500 error.
<!--#include virtual="/includes/settings.asp"-->
It is impossible for me to have to change the virtual paths on the files residing on the testing server to the paths that will work on the remote server everytime I upload a file. I need to develop a uniform include statement that will work on the testing server and remote server.
I have tried variations of all paths but nothing will work because the root directory is interpreted different by the servers.
Basically, I need to know how to make mulitple webroots in IIS, or how to define a folder as being the root of the site rather than the localhost as the root.
PLEASE HELP ASAP
Thanks,
--Rory
|