Re: going to folder above or parallel to wwwroot ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tom Kaminski [MVP] ((A_at_T))
Date: 10/26/04


Date: Tue, 26 Oct 2004 15:16:47 -0400


"E-Double" <EDouble@discussions.microsoft.com> wrote in message
news:ACBFA397-8519-4EC9-8790-F9B4C94B2258@microsoft.com...
> what is the html syntax that should be used if an html page is in the
> inetpub\wwwroot folder but it wants to pull an image or page from the
> inetpub\scripts folder ? trying ../scripts/file.gif or ..scripts/file.htm
> did not seem to work ( i thought that the '..' went 'up' one level as in
> DOS
> ). TIA ...

I answered your original post ... the short answer is you can't. You need
to have that folder mapped as a virtual directory.

-- 
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com 


Relevant Pages

  • Re: virtual directory referenced in a script
    ... I'm not sure if MapPath is able to handle the virtual directory. ... context to the current folder? ... > in which the script above resides. ... Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis)
  • Re: Cannot create folder "_vti_pvt"
    ... > I'm trying to create a new website. ... > 1) create the folder ... I specify that I will defer configuring mail server ... Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis)
  • Re: Chached credentials + ISAPI application print to PDF file
    ... >>user context the print driver is trying to access the ... you audit the folder that it's trying to write to ... ... Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS 6.0 file security
    ... "Ocean" wrote in message ... Beacuse the parent folder is FP server extensions ... > folder created with Explorer have .xls files witch must not be seen by ... Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis.security)
  • Re: First ASP.Net Application
    ... Do I create a Virtual Directory and ... > directory and configure that folder to perfom Windows Authentification? ... from the menu you can use Project -> Copy Web Project. ... Tom Kaminski IIS MVP ...
    (microsoft.public.inetserver.iis)