Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I set up a virtual directory?

Status
Not open for further replies.

FancyPrairie

Programmer
Oct 16, 2001
2,917
US
I've created a web page (.html using vbscript) that includes a couple of files using relative addressing. However, it fails to find the files whose extensions are .cls or .udl. It appears that Windows Server 2003 does not support parent paths ('..'). I have checked an option that allows this, but to no avail. So I thought I would setup a virtual directory. I believe I set it up correctly, but my code still won't work.

Background...
If I open the page using a share name (i.e. \\server\test\path\path2\MyFile.html) the relative addressing works. However, if I open the page like this the relative addressing does not work.

The path to my virtual directory is E:\test\path\path2 with an alias of MyPath2.

My vbscript looks like this:
Code:
<SCRIPT language=vbscript src="MyPath\MyClass.cls"> </Script

Is my syntax correct? I'm at a lost as to how to make this work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top