migrate to new git
This commit is contained in:
59
web/sites_test.aspx
Normal file
59
web/sites_test.aspx
Normal file
@@ -0,0 +1,59 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="sites_test.aspx.cs" Inherits="sites_test" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
<style>
|
||||
img.img{max-width:60px; color:#0094ff;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<h3>連結</h3>
|
||||
<ul>
|
||||
<li>site1:<a href="http://site1.local/sites_test.aspx">home</a></li>
|
||||
<li>site2:<a href="http://site2.local/sites_test.aspx">home</a></li>
|
||||
<li>site3:<a href="http://site3.local/sites_test.aspx">home</a></li>
|
||||
<li>local:<a href="http://localhost/sites_test.aspx">home</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<a runat="server" href="~/upload/images/logo.zip">
|
||||
<img class="img" runat="server" src="~/upload/images/logo.svg" alt="Alternate Text" />
|
||||
</a>
|
||||
</div>
|
||||
<hr />
|
||||
<h3>參數</h3>
|
||||
<div>
|
||||
<div>網址:<asp:Label ID="Label1" runat="server"></asp:Label></div>
|
||||
<div>標題:<asp:Label ID="Label2" runat="server"></asp:Label></div>
|
||||
<div>upload:
|
||||
<asp:Label ID="Label3" runat="server"></asp:Label>
|
||||
<asp:Image ID="Image1" runat="server" />
|
||||
</div>
|
||||
<div>SQL:<asp:Label ID="Label4" runat="server"></asp:Label></div>
|
||||
<div> .NET Version: <%=System.Environment.Version %></div>
|
||||
<div> RuntimeInfo: <%=System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription %></div>
|
||||
</div>
|
||||
<hr />
|
||||
<h3>限制存取</h3>
|
||||
<ul>
|
||||
<li><img class="img" runat="server" src="~/sites/default/upload/images/logo.svg" alt="default" /></li>
|
||||
<li><img class="img" runat="server" src="~/sites/site1.local/upload/images/logo.svg" alt="site1.local" /></li>
|
||||
<li><img class="img" runat="server" src="~/sites/site2.local/upload/images/logo.svg" alt="site2.local" /></li>
|
||||
<li><img class="img" runat="server" src="~/sites/site3.local/upload/images/logo.svg" alt="site3.local" /></li>
|
||||
<li><a runat="server" href="~/sites/sites-config.json">setting</a></li>
|
||||
</ul>
|
||||
<hr />
|
||||
<h3>問題</h3>
|
||||
<p>
|
||||
共用程式資源的處理, 如: Application, Session ....
|
||||
</p>
|
||||
<p>
|
||||
https://stackoverflow.com/questions/37078383/deny-all-files-in-a-directory-via-web-config-setting
|
||||
</p>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user