|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Virtual Path in ASP for IIS 6
Hi all,
This is very urgent... Recently my hoster upgraded the server to Windows Server 2003 and IIS 6. Now I know that IIS 6 will not support the relative path like <!--#include virtual="../<MyDir>/<filename.ext>"--> I tried to use the virtual path but get error as Page cannot be displayed. Can anyone please explain more about using <!--#include virtual="/<virtual path>/<includes>/<filename.ext>"--> with example ? Should I replace the virtual path with the actual path like "C:\Sites\Mysite.com\includes\filename.asp" while using it instead of ../includes/filename.ext or is it just "/includes/filename.ext" ? I'm confused... Please help me... |
|
#2
|
||||
|
||||
|
In order to use this you have to make sure that you enable parent paths for the IIS Directory in which you are using this.
__________________
................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared Support the Shemzilla Project Powered by C# |
|
#3
|
|||
|
|||
|
Thank you lewy for your quick response. Parent path is considered to be a security risk in IIS 6 and that was what made me bit confused in virtual path.
Anyways, I got a reply at http://forums.aspfree.com/t52344/s.html Thanks once again for your time !!! |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Virtual Path in ASP for IIS 6 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|