How to configure IIS support. JSON-formatted files
- |
- Browse:1357
- |
- Updated: 2015-04-05 11:00
- |
- Tags: software
Step through Reading
Now everyone in the production of HTM5 some small scenes, small games need to use. JSON to record data, but we use JSON after IIS does not support parsing, is also a very depressing thing, the following for you to introduce. How to enable IIS to support JSON file parsing.
Tools/Materials
Method/Step
- 1
The first step, click on the Start menu;
- 2
The second step, select the management tool--iis management, and some computers do not directly display the management tools, please click on the Control Panel--management tools--iis management;
- 3
In the third step, after opening IIS Manager, we select "Web Site" and then right click to select Properties;
- 4
Fourth step, after opening the properties panel, we select "HTTP Header" and then click "Meme Type" on the "HTTP header" panel.
- 5
Fifth, click New on the "meme type" panel that opens to create a new "meme type".
- 6
Sixth step, on the new panel that pops up, enter,
Extension:. JSON
Meme type: application/x-javascript;
Then click OK, some IIS after this step has been able to execute the JSON file, but some can not, if not, continue to look down, you can skip;
END
Add Application Extension Mappings
Some computers may not have "application extension mapping", we will also add "application extension mapping" preferred to select the site Properties panel "home Directory" and then click on the "Configuration" below;
Select the first mapping option in the Panel that pops up. Then click Add
Then, in the Add/Edit Application extension mapping panel that pops up, enter
Executable file: C:\WINDOWS\system32\inetsrv\asp.dll
Extension:. JSO action: Get,post
This has all been done to ensure that you can do so, restart IIS
END
Precautions
- Note Set the entire site directory, not individual settings.
- If it cannot be resolved, restart IIS
Issue: IIS configuration JSON; Result: How to configure IIS support. JSON-formatted files