Last change
on this file since 101 was 101, checked in by coas-nagasima, 9 years ago |
TOPPERS/uKadecotのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain
|
File size:
1.3 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 |
|
---|
3 | <!-- web.config 夿ã®è©³ç´°ã«ã¤ãã¦ã¯ãhttp://go.microsoft.com/fwlink/?LinkId=125889 ãåç
|
---|
4 | §ãã¦ãã ããã -->
|
---|
5 |
|
---|
6 | <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
---|
7 | <!--
|
---|
8 | 次ã®ä¾ã§ã¯ã"MyDB" ã¨ããå¤ãæã¤ "name" 屿§ã "Match" ãã±ã¼ã¿ã¼ã§
|
---|
9 | è¦ã¤ãã£ãå ´åã«ã®ã¿ã"SetAttributes" 夿ã«ãã£ã¦ "connectionString" ã®
|
---|
10 | å¤ã "ReleaseSQLServer" ã使ç¨ããããã«å¤æ´ããã¾ãã
|
---|
11 |
|
---|
12 | <connectionStrings>
|
---|
13 | <add name="MyDB"
|
---|
14 | connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
---|
15 | xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
---|
16 | </connectionStrings>
|
---|
17 | -->
|
---|
18 | <system.web>
|
---|
19 | <!--
|
---|
20 |
|
---|
21 | 次ã®ä¾ã§ã¯ãweb.config ãã¡ã¤ã«ã® <customErrors> ã»ã¯ã·ã§ã³å
|
---|
22 | ¨ä½ã
|
---|
23 | "Replace" 夿ã«ãã£ã¦ç½®ãæãããã¾ãã
|
---|
24 | <system.web> ãã¼ãã«ã¯ customErrors ã»ã¯ã·ã§ã³ã 1 ã¤ãããªãããã
|
---|
25 | "xdt:Locator" 屿§ã使ç¨ããå¿
|
---|
26 | è¦ã¯ããã¾ããã
|
---|
27 |
|
---|
28 | <customErrors defaultRedirect="GenericError.htm"
|
---|
29 | mode="RemoteOnly" xdt:Transform="Replace">
|
---|
30 | <error statusCode="500" redirect="InternalError.htm"/>
|
---|
31 | </customErrors>
|
---|
32 | >
|
---|
33 | -->
|
---|
34 | </system.web>
|
---|
35 | </configuration>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.