|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
IIS #INCLUDE Virtual
I setup a webapp through visual studio. To access my site I use the http://localhost/testSite url. The physical folder resides under inetpub.
For example: c:\inetpub\wwwroot\testSite. On my home page, I have this line of code: [code] <-- #INCLUDE Virtual="/common/test.asp" --> Because the forward slash is at the beginning, it wants to go to wwwroot to find the common folder. I know if I create a virtual folder under the root it will work and I know if I put /testSite/common/test.asp it will work...but I can't change it. That's the way it is in production because it's set up as its own web app (not under the default web site). So what I'm asking is, is there a way to point the testSite web app to a specific start-up directory?? |
|
#2
|
|||
|
|||
|
I don't exactly know what your talking about, but your problem can be solved when you create a new virtual directory using the IIS manager. You can also use <!--#include file="..."--> to start from the folder that you are in. Do you need help doing this?
|
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > IIS #INCLUDE Virtual |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|