You must be careful when you migrate HTML files and other Web elements to Windows from UNIX. Differences may occur in the file systems, the characters that these systems allow, and the system configuration between the programs. These differences can prevent sites from being displayed correctly. This article describes how to identify potential problems.
When you use UNIX, you can use any character in a file name. You can use special characters that are typically not valid by "escaping" the character (for example, by prefixing the special character with a backslash [\]); you cannot perform an escaping procedure in Windows. The following characters are supported in UNIX file names, but are not supported in Windows file or folder names:
In UNIX, file and folder names are case-sensitive. That is, UNIX treats the files MyFile.txt and myfile.txt as two independent files. Windows NTFS file systems are "case-aware." NTFS supports different cases, but it does not allow two files that have the same name, even if the case is different in each name. In this situation, you can only store either MyFile.txt or myfile.txt in a single folder at one time. If you are using the FAT file system, the case is not preserved at all.
UNIX files support file name extensions of any length. Traditionally, Windows supported file name extensions that were up to three letters only. This limitation is no longer enforced, and you can use any number of letters in file name extensions. For example, Windows uses the same basic extension as Apache for server-parsed files (.shtml files). However, Microsoft recommends that you match file name extensions between the two platforms. Windows places a greater significance on the file name extension, using it both to identify the file type and to determine whether the file is run in Internet Information Services (IIS).
UNIX path names use the slash mark (/) as a folder separator, but Windows paths use the backslash (\). Windows generates an error when it encounters UNIX-style path names. However, paths in URLs use a slash mark (/) in both the programs. You have to make changes only to scripts and programs that access the file system directly.
The UNIX file system appears to be a single-folder hierarchy. Windows 2000 supports both the original disk-based access method (for example, drive C and drive D) and the mount-point method used by UNIX. You can adjust these methods by specifying the mounting point in Disk Manager of the Computer Manager utility.
Because Windows may have problems with very deeply nested folders, Microsoft recommends that you use deeply nested folders under UNIX-hosted sites carefully.
Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Small Business Server 2000 Standard Edition, Microsoft Internet Information Services 5.0