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

Virtual Include Problems

Status
Not open for further replies.

Jimuniguy

Technical User
Mar 6, 2002
363
GB
Hi,

I am trying to get this virtual include to work:

Code:
<!-- #include virtual=&quot;Html/Header.htm&quot; -->

This works on my testing server machine (PWS) but when I upload it to my server, the virtual include fails.

The place I upload to is a folder on a Windows 2000 server so on my NT i login into it just like a normal NT drive.

The folders name is E-Learning

Now the virtual include now needs the following to work:

<!-- #include virtual=&quot;E-Learning/Html/Header.htm&quot; -->

Why???? It should'nt need that E-Learning bit.

Why is it needing it for?

Cheers

James
 
Hope this isn't a silly question but are the directory trees on the test and live systems identical?
 
Hi,

Yes

It now works if I do

Code:
<!-- #include file=&quot;../Html/Header.htm&quot; -->

Wierd.

Any suggestions?

James
 
It looks like you may have the E-learning and/or the HTML directories as web applications in PWS but may not have done this in IIS. Check to ensure the properties are setup the same in both web servers.

Thanks,

Gabe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top