Author |
Topic |
|
bjlt
Senior Member
1144 Posts |
Posted - 29 April 2001 : 02:39:01
|
quote: If your server is an Apache Web server, choose Virtual. (This is the default choice in Dreamweaver.) In Apache, Virtual works in all cases, while File works only in some cases.
quote:
If your server is a Microsoft IIS server, choose File. (Virtual works with IIS only in certain specific circumstances.) Unfortunately, IIS won't allow you to include a file in a folder above the current folder in the folder hierarchy, unless special software has been installed on the server. If you need to include a file from a folder higher in the folder hierarchy on an IIS server, ask your system administrator if the necessary software is installed.
I got this message in Dreamweaver, and I tested it with readyhosting and find it's fine for them to do such a inclusion with both virtual and file (they use IIS5 I think), unless you can't start with root / i.e. file="/,,,,,".
Well I have 2 questions:
1 does IIS5 or maybe newer ones handle both virtual and file without problem? or you have to add some programs
2 PWS dosen't support virtual in most of the cases. nor can you include a file in another or higher directory. Is there a program which can enable PWS this abilities?
btw, I just found that Netscape do not handle css and errors as well as IE most of the times. It display errors if you have a bad link for css or included script, while IE just display what it can.
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 29 April 2001 : 03:08:22
|
quote: quote: --------------------------------------------------------------------------------
If your server is a Microsoft IIS server, choose File. (Virtual works with IIS only in certain specific circumstances.) Unfortunately, IIS won't allow you to include a file in a folder above the current folder in the folder hierarchy, unless special software has been installed on the server. If you need to include a file from a folder higher in the folder hierarchy on an IIS server, ask your system administrator if the necessary software is installed.
Well, in IIS4 and 5, the 'special software' is clicking 'enable parent paths' in MMC for your default web site. This article tells more.
http://support.microsoft.com/support/kb/articles/q226/4/74.asp
This page gives a pretty good explanation of including files in asp.
http://msdn.microsoft.com/library/psdk/iisref/iiwainc.htm
As far as PWS 4.0 on W9x, I don't know.
====== Doug G ====== |
|
|
bjlt
Senior Member
1144 Posts |
Posted - 29 April 2001 : 16:36:02
|
thank you very much.
I just noticed pws handles virtual= correctly.
I got a mitake by pointing to the server root while my site root directory is a virtual under the root ( as i have several sites to test, each is under a directory under the server root)
|
|
|
|
Topic |
|
|
|