| | |
| | | <?xml version="1.0" encoding="UTF-8"?>
|
| | | <configuration>
|
| | | <system.webServer>
|
| | | <defaultDocument>
|
| | | <files>
|
| | | <remove value="Default.htm" />
|
| | | <remove value="Default.asp" />
|
| | | <remove value="index.htm" />
|
| | | <remove value="index.html" />
|
| | | <remove value="iisstart.htm" />
|
| | | <remove value="default.aspx" />
|
| | | <add value="index.php" />
|
| | | <add value="index.asp" />
|
| | | <add value="index.gds" />
|
| | | </files>
|
| | | </defaultDocument>
|
| | | <httpErrors errorMode="Detailed" />
|
| | | <handlers>
|
| | | <add name="gds" path="*.gds" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" preCondition="bitness64" />
|
| | | </handlers>
|
| | | <directoryBrowse enabled="false" />
|
| | | <httpProtocol>
|
| | | <customHeaders>
|
| | | <add name="Access-Control-Allow-Headers" value="Content-Type, api_key, Authorization" />
|
| | | <add name="Access-Control-Allow-Origin" value="*" />
|
| | | </customHeaders>
|
| | | </httpProtocol>
|
| | | </system.webServer>
|
| | | </configuration>
|
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <configuration> |
| | | <system.web> |
| | | <compilation debug="true" targetFramework="4.7.2" /> |
| | | <httpRuntime targetFramework="4.7.2" /> |
| | | <authentication mode="Windows" /> |
| | | <identity impersonate="true" /> |
| | | </system.web> |
| | | <system.webServer> |
| | | <fastCgi> |
| | | <application fullPath="D:\project\急救转运\code\php\php-cgi.exe" monitorChangesTo="php.ini" activityTimeout="600" requestTimeout="600" instanceMaxRequests="10000"> |
| | | <environmentVariables> |
| | | <environmentVariable name="PHP_FCGI_MAX_REQUESTS" value="10000" /> |
| | | <environmentVariable name="PHPRC" value="D:\project\急救转运\code\php" /> |
| | | </environmentVariables> |
| | | </application> |
| | | </fastCgi> |
| | | <defaultDocument> |
| | | <files> |
| | | <remove value="Default.htm" /> |
| | | <remove value="Default.asp" /> |
| | | <remove value="index.htm" /> |
| | | <remove value="index.html" /> |
| | | <remove value="iisstart.htm" /> |
| | | <remove value="default.aspx" /> |
| | | <add value="index.php" /> |
| | | <add value="index.asp" /> |
| | | <add value="index.gds" /> |
| | | </files> |
| | | </defaultDocument> |
| | | <httpErrors errorMode="Detailed" /> |
| | | <handlers> |
| | | <remove name="php" /> |
| | | <add name="php" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="D:\project\急救转运\code\php\php-cgi.exe" resourceType="File" requireAccess="Script" /> |
| | | <add name="gds" path="*.gds" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Script" preCondition="bitness64" /> |
| | | </handlers> |
| | | <directoryBrowse enabled="false" /> |
| | | <httpProtocol> |
| | | <customHeaders> |
| | | <add name="Access-Control-Allow-Headers" value="Content-Type, api_key, Authorization" /> |
| | | <add name="Access-Control-Allow-Origin" value="*" /> |
| | | </customHeaders> |
| | | </httpProtocol> |
| | | </system.webServer> |
| | | </configuration> |