Halo semua, soalan saya yang seterusnya ialah mengenai pemindahan ruang bagi operator asas Tapak web dipindahkan ke ruang lain dan program web disalin secara langsung menyokong url_rewrite. Kini anda boleh membuka halaman utama dan klik pada halaman sekunder Apabila ralat 404 berlaku, ternyata terdapat peraturan pseudo-statik yang ditulis dalam web.config masalah dengan pseudo-statik Adakah laluan itu salah atau sesuatu yang saya tidak tahu bagaimana untuk menyelesaikan masalah ini. Atau apakah penyelesaiannya? ? Tolong bantu. Terima kasih O(∩_∩)O. Saya mempunyai tanggapan yang baik tentang pengaturcaraan dan Linux. Ia untuk tapak web y=_=y
<!-- 1. Penulisan semula URL -->
</configSections>
<RewriterConfig><!--3 peraturan penulisan semula URL-->
<Peraturan>
<RewriterRule>
<LookFor>~/index.html</LookFor><!--Alamat ditulis semula-->
<SendTo>~/Default.aspx</SendTo><!--Alamat URL yang diakses sebenar-->
</RewriterRule>
<RewriterRule>
<LookFor>~/introduce.html</LookFor>
<SendTo>~/CompanyInfo.aspx</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/culture.html</LookFor>
<SendTo>~/CompanyInfo1.aspx</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/contact.html</LookFor>
<SendTo>~/CompanyInfo2.aspx</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/Products.html</LookFor>
<SendTo>~/ProductList.aspx</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/Products-(\d+).html</LookFor>
<SendTo>~/ProductList.aspx?TypeID=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/Products.html?PName=(\D+)</LookFor>
<SendTo>~/ProductList.aspx?PName=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/ProductIntroduct-(\d+).html</LookFor>
<SendTo>~/ProductIntro.aspx?ProID=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/SuccessfulCase.html</LookFor>
<SendTo>~/CaseList.aspx</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/SuccessfulCase-(\d+).html</LookFor>
<SendTo>~/CaseList.aspx?ID=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/SuccessfulCase-P(\d+).html</LookFor>
<SendTo>~/CaseList.aspx?page=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/SuccessfulCase-(\d+)-P(\d+).html</LookFor>
<SendTo>~/CaseList.aspx?ID=$1&page=$2</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/SuccessfulContent-Num(\d+).html</LookFor>
<SendTo>~/CaseIntro.aspx?ArticID=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/DownLoad.html</LookFor>
<SendTo>~/softDownloading.aspx</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/DownLoad-(\d+).html</LookFor>
<SendTo>~/softDownloading.aspx?down=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/Solution.html</LookFor>
<SendTo>~/SolutionPage.aspx</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/Solution-(\d+).html</LookFor>
<SendTo>~/SolutionPage.aspx?solu=$1</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/AuthCode.html</LookFor>
<SendTo>~/SecurityCode.ashx</SendTo>
</RewriterRule>
<RewriterRule>
<LookFor>~/DownLoadCount.html</LookFor>
<SendTo>~/DownNumber.ashx </SendTo>
</RewriterRule>
</Peraturan>
</RewriterConfig>
<appSettings/>
<connectionStrings>
<add name="HXKJNetDataConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Sumber Data=|DataDirectory|\HXKJNetData.mdb;User id=admin;Jet OLEDB:Database Password=hx888888;Persist Security Info " providerName="System.Data.OleDb"/>
<tambah nama="MovieConnectionString" connectionString="Sumber Data=.;Katalog Awal=Filem;Keselamatan Bersepadu=Benar" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
Nampak tak ada yang jawab