Home >Web Front-end >JS Tutorial >Detailed explanation of IIS parsing json configuration usage
This time I will bring you a detailed explanation of the use of IIS parsing json configuration. What are the precautions for IIS parsing json configuration? The following is a practical case, let's take a look.
IIS6.0
1. Open IIS and add Mime items Associated extension:*.jsonContent type ( MIME): application/x-JavaScript
2. Add mapping: Right click on the location corresponding to the IIS siteProperties : "Home Directory"-"Application Settings"-"Configuration"-"Mapping"-"Add" will open "Add/Edit Application Extension Mapping"Extension:
.json Run file:
C:\WINDOWS\system32\inetsrv\asp.dllAction: GET,POST
IIS7.x IIS8
1. "Add" a file extension with ".json" in "MIME Type", and the MIME type is text/json (it can also be application/x-javascript) 2. Then "Add Script Mapping" in "Handler Mapping", the request path is: *.json, and the executable file is C:/Windows/System32/inetsrv/asp.dll. If asp.dll is not found, go to Control Panel-->Programs-->Turn Windows features on and off--->InterNet Information Services--->World Wide Web Services-->Applications Program development function, open "ASP Support". Open it immediately and you can find the asp.dll file.Content type (MIME): text/json
jquery implements the mouse prompt function of the navigation menu
jquery css3 implements mouse and form interaction
The above is the detailed content of Detailed explanation of IIS parsing json configuration usage. For more information, please follow other related articles on the PHP Chinese website!