Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
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  
Old April 15th, 2005, 12:56 PM
alexk alexk is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 1 alexk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 32 sec
Reputation Power: 0
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??

Reply With Quote
  #2  
Old April 23rd, 2005, 09:54 PM
amdma2003 amdma2003 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Earth
Posts: 5 amdma2003 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 3 sec
Reputation Power: 0
Send a message via AIM to amdma2003
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?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > IIS #INCLUDE Virtual


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway