Changeset 4677

Show
Ignore:
Timestamp:
05/13/08 16:56:01 (7 months ago)
Author:
xmlhacker
Message:

updated to match proper assembly names

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/nuxleus/Web/Development/CoreWebApp/Web.config

    r4586 r4677  
    11<?xml version="1.0"?> 
    22<!-- 
    3   COPYRIGHT: (c) 2006 by M. David Peterson and Sylvain Hellegouarch 
    4   LICENSE: The code contained in this file is licensed under The MIT License.  
    5   Please see http://www.opensource.org/licenses/mit-license.php for specific detail. 
     3  COPYRIGHT: (c) 2006 by M. David Peterson 
     4  LICENSE: The code contained in this file is licensed under the Creative Commons Attribution-Share Alike 3.0.  
     5  Please see http://creativecommons.org/licenses/by-sa/3.0/ for specific detail. 
    66--> 
    77<configuration> 
    8   <configSections> 
    9     <sectionGroup name="Xameleon.WebApp"> 
    10       <section name="xameleon" type="Nuxleus.Configuration.AspNetXameleonConfiguration,Nuxleus.Configuration"/> 
    11       <section name="memcached" type="Nuxleus.Configuration.AspNetMemcachedConfiguration,Nuxleus.Configuration"/> 
    12       <section name="queueserver" type="Nuxleus.Configuration.AspNetQueueServerConfiguration,Nuxleus.Configuration"/> 
    13     </sectionGroup> 
    14   </configSections> 
    15   <Xameleon.WebApp> 
    16     <xameleon debugMode="no" useMemcached="yes" defaultEngine="Saxon" objectHashKey="1234567890"> 
    17       <baseSettings baseXsltName="base"/> 
    18       <preCompiledXslt base-uri="~"> 
    19                                 <!--  
    20         <add name="base" useAsBaseXslt="yes" base-uri="~" uri="/service/transform/base.xslt"/>  
    21         --> 
    22         <add useAsBaseXslt="yes" name="precompile-atomictalk" base-uri="~" uri="/service/transform/atomictalk.base.xslt" /> 
    23       </preCompiledXslt> 
    24       <globalXsltParams> 
    25         <add name="google.maps.key" select="YOUR.GOOGLE.MAPS.KEY"/> 
    26       </globalXsltParams> 
    27       <sessionXsltParams/> 
    28       <httpContextXsltParams/> 
    29       <requestXsltParams/> 
    30     </xameleon> 
    31     <memcached useCompression="no"> 
    32       <poolConfig initConnections="5" minConnections="5" maxConnections="1024" socketConnectTimeout="1000" socketConnect="3000" maintenanceSleep="30" failover="true" nagle="true"/> 
    33       <server> 
    34         <add name="localhost" ip="127.0.0.1" port="11211"/> 
    35       </server> 
    36     </memcached> 
    37     <queueserver ip="127.0.0.1" port="9876" poolSize="5" threshold="10"/> 
    38   </Xameleon.WebApp> 
    39   <appSettings> 
    40     <add key="MonoServerDefaultIndexFiles" value="index.page,service.op,default.omx,index.xml,index.aspx,default.aspx,index.html,default.asmx"/> 
    41   </appSettings> 
    42   <system.web> 
    43     <httpHandlers> 
    44       <add verb="GET,HEAD" path="/service/session/logout/*.*" type="Nuxleus.Web.HttpHandler.NuxleusHttpSessionLogoutHandler,Nuxleus.Web"/> 
    45       <add verb="GET,HEAD" path="/service/session/get-session-request-info/*.*" type="Nuxleus.Web.HttpHandler.NuxleusHttpSessionRequestHandler,Nuxleus.Web"/> 
    46       <add verb="GET,HEAD" path="/service/geo/get-geo-info-by-city-name/*.*" type="Nuxleus.Web.HttpHandler.NuxleusHttpGeoLocationHandler,Nuxleus.Web"/> 
    47       <add verb="GET,HEAD" path="/service/entity/query-entity/*.*" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncQueryEntityHandler,Nuxleus.Web"/> 
    48       <add verb="*" path="*.op" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncXmlServiceOperationHandler,Nuxleus.Web"/> 
    49       <add verb="GET,HEAD" path="*.page" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncXmlServiceOperationHandler,Nuxleus.Web"/> 
    50                         <!--  
    51       <add verb="GET,HEAD" path="**/doc" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    52                         <add verb="GET,HEAD" path="**/search" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    53                         <add verb="GET,HEAD" path="**/query" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    54                         <add verb="GET,HEAD" path="**/clipboard" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    55                         <add verb="GET,HEAD" path="**/feed" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    56                         <add verb="GET,HEAD" path="**/service" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    57                         <add verb="GET,HEAD" path="**/bookmark" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    58                         <add verb="GET,HEAD" path="**/profile" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    59                         <add verb="GET,HEAD" path="**/workspace" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    60                         <add verb="GET,HEAD" path="**/collection" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/>  
    61       -->   
    62       <add verb="GET,HEAD" path="*.dll" type="System.Web.StaticFileHandler"/> 
    63       <add verb="GET,HEAD" path="*.js" type="System.Web.StaticFileHandler"/> 
    64       <add verb="GET,HEAD" path="*.swf" type="System.Web.StaticFileHandler"/> 
    65       <add verb="GET,HEAD" path="*.txt" type="System.Web.StaticFileHandler"/> 
    66       <add verb="GET,HEAD" path="*.xspf" type="System.Web.StaticFileHandler"/> 
    67       <add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory"/> 
    68       <add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler"/> 
    69       <add verb="*" path="*.asmx" type="System.Web.Services.Protocols.WebServiceHandlerFactory"/> 
    70       <add verb="GET,HEAD" path="*.xml" type="System.Web.StaticFileHandler"/> 
    71       <add verb="GET,HEAD" path="*.xsl" type="System.Web.StaticFileHandler"/> 
    72       <add verb="GET,HEAD" path="*.xslt" type="System.Web.StaticFileHandler"/> 
    73       <add verb="GET,HEAD" path="*.css" type="System.Web.StaticFileHandler"/> 
    74       <add verb="GET,HEAD" path="*.png" type="System.Web.StaticFileHandler"/> 
    75       <add verb="GET,HEAD" path="*.jpg" type="System.Web.StaticFileHandler"/> 
    76       <add verb="GET,HEAD" path="*.gif" type="System.Web.StaticFileHandler"/> 
    77       <add verb="GET,HEAD" path="*.ico" type="System.Web.StaticFileHandler"/> 
    78       <add verb="GET,HEAD" path="*.atom" type="System.Web.StaticFileHandler"/> 
    79       <add verb="GET,HEAD" path="*.html" type="System.Web.StaticFileHandler"/> 
    80       <add verb="GET,HEAD" path="*.omx" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncHandler,Nuxleus.Web"/> 
    81                         <!--  
    82       <add verb="POST" path="*" type="Nuxleus.Web.HttpHandler.NuxleusHttpNotFoundHandler,Nuxleus.Web"/> 
    83                         <add verb="GET,HEAD" path="*" type="Nuxleus.Web.HttpHandler.NuxleusHttpNotFoundHandler,Nuxleus.Web"/>  
    84       --> 
    85     </httpHandlers> 
    86     <httpModules> 
    87       <remove name="FormsAuthentication" /> 
    88       <remove name="OutputCache" /> 
    89       <remove name="Session" /> 
    90       <remove name="WindowsAuthentication" /> 
    91       <remove name="FormsAuthentication" /> 
    92       <remove name="PassportAuthentication" /> 
    93       <remove name="UrlAuthorization" /> 
    94       <remove name="FileAuthorization" /> 
    95       <add name="NuxleusAsyncRequestOpenIDAuthenticationHttpModule" type="Nuxleus.Web.HttpModule.NuxleusAsyncRequestOpenIDAuthenticationHttpModule,Nuxleus.Web" /> 
    96     </httpModules> 
    97     <sessionState mode="Off"/> 
    98     <authentication mode="None"/> 
    99     <customErrors mode="Off"/> 
    100     <compilation debug="true"/> 
    101     <httpRuntime executionTimeout="15"/> 
    102     <trace enabled="true" requestLimit="1" pageOutput="true" /> 
    103   </system.web> 
    104   <!-- <connectionManagement> 
    105     <add address="*" maxconnection="24"/> 
    106   </connectionManagement> --> 
     8    <configSections> 
     9        <sectionGroup name="Xameleon.WebApp"> 
     10            <section name="xameleon" type="Nuxleus.Configuration.AspNetXameleonConfiguration,Nuxleus.Configuration" /> 
     11            <section name="memcached" type="Nuxleus.Configuration.AspNetMemcachedConfiguration,Nuxleus.Configuration" /> 
     12            <section name="queueserver" type="Nuxleus.Configuration.AspNetQueueServerConfiguration,Nuxleus.Configuration" /> 
     13        </sectionGroup> 
     14        <sectionGroup name="mono.aspnet"> 
     15            <section name="acceptEncoding" 
     16                type="Mono.Http.Configuration.AcceptEncodingSectionHandler, Mono.Http, Version=1.0.5000.0, PublicKeyToken=0738eb9f132ed756" 
     17             /> 
     18        </sectionGroup> 
     19    </configSections> 
     20    <Xameleon.WebApp> 
     21        <xameleon debugMode="no" useMemcached="yes" defaultEngine="Saxon" objectHashKey="1234567890"> 
     22            <baseSettings baseXsltName="base" /> 
     23            <preCompiledXslt base-uri="~"> 
     24                <add useAsBaseXslt="yes" name="precompile-atomictalk" base-uri="~" uri="/service/transform/atomictalk.base.xslt" /> 
     25            </preCompiledXslt> 
     26            <globalXsltParams /> 
     27            <sessionXsltParams /> 
     28            <httpContextXsltParams /> 
     29            <requestXsltParams /> 
     30        </xameleon> 
     31        <memcached useCompression="no"> 
     32            <poolConfig initConnections="5" minConnections="5" maxConnections="1024" socketConnectTimeout="1000" socketConnect="3000" 
     33                maintenanceSleep="30" failover="true" nagle="true" /> 
     34            <server> 
     35                <add name="localhost" ip="127.0.0.1" port="11211" /> 
     36            </server> 
     37        </memcached> 
     38        <queueserver ip="127.0.0.1" port="9876" poolSize="5" threshold="10" /> 
     39    </Xameleon.WebApp> 
     40    <mono.aspnet> 
     41        <acceptEncoding> 
     42            <add encoding="gzip" type="Mono.Http.GZipWriteFilter, Mono.Http, Version=1.0.5000.0, PublicKeyToken=0738eb9f132ed756" 
     43                disabled="yes" /> 
     44        </acceptEncoding> 
     45    </mono.aspnet> 
     46    <appSettings> 
     47        <add key="MonoServerDefaultIndexFiles" 
     48            value="index.page,service.op,default.omx,index.xml,index.aspx,default.aspx,index.html,default.asmx" /> 
     49        <!-- <add key="Basic.Users" value="../auth/users.xml" /> 
     50    <add key="Basic.Realm" value="amp.fm development" /> --> 
     51    </appSettings> 
     52    <system.web> 
     53        <httpHandlers> 
     54            <add verb="GET,HEAD" path="*.xsl" type="Nuxleus.Web.HttpHandler.NuxleusHttpAysncStaticFileHandler" /> 
     55            <add verb="GET,HEAD" path="*.xslt" type="Nuxleus.Web.HttpHandler.NuxleusHttpAysncStaticFileHandler" /> 
     56            <add verb="GET,HEAD" path="*.xml" type="Nuxleus.Web.HttpHandler.NuxleusHttpAysncStaticFileHandler" /> 
     57            <add verb="GET,HEAD" path="*.css" type="Nuxleus.Web.HttpHandler.NuxleusHttpAysncStaticFileHandler" /> 
     58            <add verb="GET,HEAD" path="*.js" type="Nuxleus.Web.HttpHandler.NuxleusHttpAysncStaticFileHandler" /> 
     59            <add verb="GET,HEAD" path="/service/session/validate-request/*.op" 
     60                type="Nuxleus.Web.HttpHandler.NuxleusHttpSessionRequestHandler,Nuxleus.Web" /> 
     61            <!--  
     62            <add verb="GET,HEAD" path="/service/redirect/*.op" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncRedirectHandler,Nuxleus.Web" />  
     63            --> 
     64            <add verb="*" path="*.op" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncXmlServiceOperationHandler,Nuxleus.Web" /> 
     65            <add verb="GET,HEAD" path="*.page" type="Nuxleus.Web.HttpHandler.NuxleusHttpAsyncXmlServiceOperationHandler,Nuxleus.Web" /> 
     66        </httpHandlers> 
     67        <httpModules> 
     68            <remove name="FormsAuthentication" /> 
     69            <remove name="OutputCache" /> 
     70            <remove name="Session" /> 
     71            <remove name="WindowsAuthentication" /> 
     72            <remove name="FormsAuthentication" /> 
     73            <remove name="PassportAuthentication" /> 
     74            <remove name="UrlAuthorization" /> 
     75            <remove name="FileAuthorization" /> 
     76            <add name="AcceptEncodingModule" 
     77                type="Mono.Http.Modules.AcceptEncodingModule, Mono.Http, Version=1.0.5000.0, PublicKeyToken=0738eb9f132ed756" /> 
     78            <add name="BasicAuthenticationModule" 
     79                type="Mono.Http.Modules.BasicAuthenticationModule, Mono.Http, Version=1.0.5000.0, PublicKeyToken=0738eb9f132ed756" /> 
     80            <!-- <add name="AsyncRequestLogHttpModule" type="Xameleon.HttpModule.AsyncRequestLogHttpModule,Xameleon" /> --> 
     81        </httpModules> 
     82        <sessionState mode="Off" /> 
     83        <authentication mode="None" /> 
     84        <customErrors mode="Off" /> 
     85        <compilation debug="true" /> 
     86        <httpRuntime executionTimeout="30" /> 
     87    </system.web> 
    10788</configuration>