Ignore:
Timestamp:
Jul 23, 2015, 3:21:02 PM (9 years ago)
Author:
coas-nagasima
Message:

ECHONET Lite規格に準拠していない動作を修正。
WebSocketの接続先URLを/webapi.ashxから/webapiに変更。
DHCPのリトライ処理が行われていなかったのを修正。
DHCPの有効/無効設定を追加し、固定IPアドレスを設定できるよう変更。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uKadecot/trunk/tools/EcnlControllerUI/EcnlCtrlUI/Web.config

    r102 r125  
    55  -->
    66<configuration>
    7   <system.web>
    8     <compilation debug="true" targetFramework="4.5" />
    9     <httpRuntime targetFramework="4.5" />
    10   </system.web>
    11   <system.webServer>
    12     <defaultDocument enabled="true">
    13        <files>
    14            <clear/>
    15            <add value="index.html"/>
    16        </files>
    17     </defaultDocument>
    18     <staticContent>
    19       <mimeMap fileExtension=".json" mimeType="application/json"/>
    20       <mimeMap fileExtension=".cfg" mimeType="text/plain"/>
    21     </staticContent>
    22   </system.webServer>
     7        <configSections>
     8                <section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
     9        </configSections>
     10        <system.web>
     11                <compilation debug="true" targetFramework="4.5" />
     12                <httpRuntime targetFramework="4.5" />
     13                <httpModules>
     14                        <add type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" name="UrlRewriter" />
     15                </httpModules>
     16        </system.web>
     17        <system.webServer>
     18                <defaultDocument enabled="true">
     19                        <files>
     20                                <clear />
     21                                <add value="index.html" />
     22                        </files>
     23                </defaultDocument>
     24                <staticContent>
     25                        <mimeMap fileExtension=".json" mimeType="application/json" />
     26                        <mimeMap fileExtension=".cfg" mimeType="text/plain" />
     27                </staticContent>
     28                <modules runAllManagedModulesForAllRequests="true">
     29                        <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" />
     30                </modules>
     31                <validation validateIntegratedModeConfiguration="false" />
     32        </system.webServer>
     33        <rewriter>
     34                <rewrite url="~/webapi$" to="~/webapi.ashx" />
     35        </rewriter>
    2336</configuration>
Note: See TracChangeset for help on using the changeset viewer.