Enable displaying files that have no extensions in IIS 6.0
2006-08-08 16:58
459 查看
Although the ability to display file that have no extensions was available by default in IIS 5.0,
Microsoft has removed that default option from IIS 6.0. To re-enable the ability to display file types
that have no extensions, follow these steps:
Click Start and select Programs, Administrative Tools, Internet Information Services (IIS) Manager.
Expand the Web Sites branch, right-click the Web site for which you want to enable no-extension files, and
select Properties.
Select the HTTP Headers tab and click MIME Types.
Click New. You'll see the MIME Type dialog box, which the figure at Figure shows.
In the Extension text box, enter a period followed by an asterisk (.*). In the MIME type text box, type
application/octet-stream
and click OK.
Click OK, then click OK again to display the Web site's main properties page.
When you restart the Web site, you should be able to see and open files that have no extension. (To
restart the server, right-click the Web site in IIS and select Stop, then select Start.)
Microsoft has removed that default option from IIS 6.0. To re-enable the ability to display file types
that have no extensions, follow these steps:
Click Start and select Programs, Administrative Tools, Internet Information Services (IIS) Manager.
Expand the Web Sites branch, right-click the Web site for which you want to enable no-extension files, and
select Properties.
Select the HTTP Headers tab and click MIME Types.
Click New. You'll see the MIME Type dialog box, which the figure at Figure shows.
In the Extension text box, enter a period followed by an asterisk (.*). In the MIME type text box, type
application/octet-stream
and click OK.
Click OK, then click OK again to display the Web site's main properties page.
When you restart the Web site, you should be able to see and open files that have no extension. (To
restart the server, right-click the Web site in IIS and select Stop, then select Start.)
相关文章推荐
- INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded
- At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs d
- iOS开发者提交应用接收到邮件Too many symbol files - These symbols have no corresponding slice in any binary
- Xcode No account for team "". Add a new account in the Accounts preference pane or verify that your accounts have valid credentials.
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL s
- EntityFramework 启用迁移 Enable-Migrations 报异常 "No context type was found in the assembly"
- Too many files open; check that FILES = 20 in your CONFIG.SYS file 解决方案
- Maven报错 解决方案。ERROR: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server
- We have detected that MySQL products under the Commercial license are installed. In order to proceed with this GPL installation these Commercial
- The most popular (i.e., the most visited) websites have in common that they are dynamic websites. Th
- SQL Error: 1064, SQLState: 42000 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve
- Error in Microsoft Visual Studio 2012 :No exports were found that match the constraint
- 利用Mysql进行update时,出现You have an error in your SQL syntax check the manual that corresponds to your My
- EntityFramework 启用迁移 Enable-Migrations 报异常 "No context type was found in the assembly"
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
- The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible