Slettet bruger
25. maj 2004 - 20:56
Der er
2 løsninger
tilføje MIME type
Hej Eksperter
Jeg roder lidt med noget wml og asp og skal i den forbindelse tilføje MIME typer til IIS. Så vidt jeg har fundet ud af skal det gøres i START --> ADMINISTRATION --> INTERNET PROGRAMSTYRING. Der er bare lige det problem, at når jeg klikker på INTERENET PROGRAMSTYRING sker der absolut intet. Jeg kan med andre ord ikke komme ind.
Er der nogen der ved hvad der er galt, eller kender en anden måde at komme derind på.
IIS virker i øvrigt fint med asp, så det er nok ikke se´rveren der er problemet.
palau
Q: How do you configure Microsoft's Internet Information Server (IIS), Peer Web Services, or Personal Web Server to publish HDML or WML content?
A: The procedure for configuring the required MIME types depends on which version of IIS, Peer Web Services, or Personal Web Server you are using. Older versions of these products share the same MIME table in the Windows registry, and can be configured using the regedit utility. Later versions provide "user friendly" tools for adding new MIME types... If you are using IIS v4.0, use the Internet Service Manager tool (aka Management Console):
1)Launch Internet Service Manager
2)Open "Internet Information Server" under "Console Root"
3)Right-click on the local computer name and select "Properties"
4)Click on the button labeled "File Types"
5)Click on "New Type..."
6)Enter the following field values:
Associated Extension: .wml
Content Type (MIME): text/vnd.wap.wml
7)Click on the "OK" button
8)Click on "New Type..."
9)Enter the following field values:
Associated Extension: .hdml
Content Type (MIME): text/x-hdml
10)Click on the "OK" button
11)Reboot your system
If you are using Personal Web Server v4.0, use the MetaEdit tool included with Microsoft's IIS Resource Kit:
1)Launch MetaEdit
2)Open "/MIMEMAP" under "/LM"
3)Select "MimeMap" and then double-click
4)Using the pop-up dialog, add the following new values to the MimeMap list:
wml,text/vnd.wap.wml
hdml,text/x-hdml
5)Click on the "OK" button
6)Reboot your system
If you are using IIS v3.0 or below, Peer Web Services, or Personal Web Server v1.0, follow this procedure to configure the MIME type for HDML files in the Windows registry:
1)Run the regedit utility (REGEDIT.EXE)
2)Open the Registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\InetInfo\Parameters\MimeMap
3)Add two new String Values with the following names:
text/vnd.wap.wml,wml,,5
text/x-hdml,hdml,,5
NOTE: In both cases, the string value should be left blank
4)Reboot your system