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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSI with a virtual directory

Status
Not open for further replies.

jgillin

Programmer
Oct 22, 2003
82
US
Hi,
Currently, I'm developing a site, and have it setup on an alternate port within my company's intranet (IIS 6). They want the customer to access it externally, but don't want to open any other firewall ports. We only have 1 IP address, so I can't set the site up on another IP (and don't have a domain name, so I can't use the host header), so I created a virtually directory on the "default web site" (which is available externally since port 80 is open). The problem I'm having with this is that my include files (which are set as virtual), are trying to look in the default websites root folder (as the starting point).
My include files are setup like this:
<!--#include virtual="/includes/asp/nocache.asp"-->
<!--#include virtual="/includes/asp/config.asp"-->

Is there any work around for making this work with a virtual directory?
Thanks for any suggestions
 
use a dynamic dns service as a workaround to use hostheaders. Personally I use Dynamic DNS for my development sites.

But
Code:
<!--#include virtual="/virtualdirectory/includes/asp/nocache.asp"-->
should work



Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top