Error DataBase-One Place all Solutions Forums Blog Glossary    Contact Us
Search  
   
Browse by Category
Error DataBase-One Place all Solutions .: Operating Systems .: Windows Operating Systems .: Windows 2003 .: Miscellaneous Errors in IIS 6.0 : File requests to UNIX or Linux server return wrong file or error

Miscellaneous Errors in IIS 6.0 : File requests to UNIX or Linux server return wrong file or error

If IIS must access files on a UNIX or Linux system, file name case sensitivity can be an issue unless Network File System (NFS) support is enabled in IIS.

UNIX and Linux both support mixed-case file names, and IIS fully supports requesting static files in a case-sensitive manner. An issue arises, however, when IIS makes a subsequent request for a file from its static file cache. Because all file names are converted to uppercase letters in the IIS cache, any request after the first request from the IIS static file cache might fail or return the wrong file.

To remedy this problem, disable the IIS static file cache so that all file requests are issued fresh, thereby retaining correct file name case. The static file cache can be disabled for individual virtual directories on Web sites, or globally for all sites.

Note:

Changing this setting has no effect on how ASP files and templates are cached.

Procedures

To disable the static file cache for a particular Web site virtual directory

Edit the metabase and set the MD_VR_NO_CACHE property to 1.

To disable the static file cache for all sites

Edit the registry and add the binary value DisableStaticFileCache=1 to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InetInfo\Parameters key.


How helpful was this article to you?

Related Articles

User Comments

Add Comment
No comments have been posted.