<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
<rewrite>
  <rules>
            
                <rule name="301Redirect" stopProcessing="true">
                    <match url="(.*)" />
                    <conditions logicalGrouping="MatchAny">
                        <add input="{HTTP_HOST}" pattern="^wangyesheji.vip$" />
                    </conditions>
                    <action type="Redirect" url="http://www.wangyesheji.vip/{R:0}" redirectType="Permanent" />
                </rule>	
				 <rule name="301" stopProcessing="true">
                    <match url="^(.*)$" ignoreCase="false" ></match>
                    <conditions logicalGrouping="MatchAll">                       
                         <add input="{HTTP_FROM_HTTPS}" pattern="^on$" negate="true" ></add>  
                  </conditions>
                    <action type="Redirect" url="https://www.wangyesheji.vip/{R:1}" redirectType="Permanent" ></action>
               </rule>
    <rule name="content" stopProcessing="true">
      <match url="^content-([0-9]+)-([0-9]+)-([0-9]+)\.html$" ignoreCase="true" />
      <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=show&amp;catid={R:1}&amp;id={R:2}&amp;page={R:3}" />
    </rule>
	
    <rule name="show" stopProcessing="true">
      <match url="^show-([0-9]+)-([0-9]+)-([0-9]+)\.html$" ignoreCase="true" />
      <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=show&amp;catid={R:1}&amp;id={R:2}&amp;page={R:3}" />
    </rule>
   
   <rule name="list" stopProcessing="true">
      <match url="^list-([0-9]+)-([0-9]+)\.html$" ignoreCase="true" />
      <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catid={R:1}&amp;page={R:2}" />
   </rule>
   
 
   
   <rule name="lists_1" stopProcessing="true">
      <match url="^lists/([0-9A-Za-z_]+)\.html$" ignoreCase="true" />
      <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}" />
   </rule>
   <rule name="lists_2" stopProcessing="true">
      <match url="^lists/([0-9A-Za-z_]+)/([0-9]+)\.html$" ignoreCase="true" />
      <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}&amp;page={R:2}" />
   </rule>
   
    <rule name="content_1" stopProcessing="true">
      <match url="^content/([0-9A-Za-z_]+)/([0-9]+)\.html$" ignoreCase="true" />
      <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=show&amp;catdir={R:1}&amp;id={R:2}" />
   </rule>	
	<rule name="content_2" stopProcessing="true">
      <match url="^content/([0-9A-Za-z_]+)/([0-9]+)/([0-9]+)\.html$" ignoreCase="true" />
      <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=show&amp;catdir={R:1}&amp;id={R:2}&amp;page={R:3}" />
   </rule>

  <rule name="content_muyangren_site" stopProcessing="true">
               <match url="^(wangzhan)/$" ignoreCase="true" />
               <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}" />
 </rule>

   <rule name="content_muyangren_solution" stopProcessing="true">
                <match url="^(solution)/$" ignoreCase="true" />
                <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}" />
  </rule>
  
  
  <rule name="content_muyangren_about" stopProcessing="true">
                <match url="^(about)/$" ignoreCase="true" />
                <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}" />
  </rule>
  
    <rule name="content_muyangren_Case" stopProcessing="true">
                <match url="^(Case)/$" ignoreCase="true" />
                <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}" />
  </rule>
  
 <rule name="content_muyangren_longgang" stopProcessing="true">
                <match url="^(longgang)/$" ignoreCase="true" />
                <action type="Rewrite" url="longgang/index.php"  />
  </rule>
 
 
    <rule name="content_html" stopProcessing="true">
          <match url="^([A-Za-z]+)\.html$" ignoreCase="true" />
          <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}" />
    </rule>

    <rule name="content_html_page" stopProcessing="true">
          <match url="^([A-Za-z]+)_([0-9]+)\.html$" ignoreCase="true" />
          <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}&amp;page={R:2}" />
    </rule>


       <rule name="content_list_page" stopProcessing="true">
          <match url="^([A-Za-z]+)/list-([0-9]+)-([0-9]+)\.html$" ignoreCase="true" />
          <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catid={R:2}&amp;page={R:3}" /> 
    </rule>


 <rule name="show_html" stopProcessing="true">
              <match url="^(?!longgang)([0-9A-Za-z]+)/([0-9]+)\.html$" ignoreCase="true" />
              <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=show&amp;catdir={R:1}&amp;id={R:2}" />
 </rule>

  <rule name="show_html_page" stopProcessing="true">
               <match url="^(?!longgang)([0-9A-Za-z]+)/([0-9]+)_([0-9]+)\.html$" ignoreCase="true" />
               <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=show&amp;catdir={R:1}&amp;id={R:2}&amp;page={R:3}" />
  </rule>

 
 

   <rule name="tag_2" stopProcessing="true">
        <match url="^tag/(.+?)_([0-9]+)$" ignoreCase="true" />
        <action type="Rewrite" url="index.php?m=content&amp;c=tag&amp;a=lists&amp;tag={R:1}&amp;page={R:2}" />
    </rule>

    <rule name="tag" stopProcessing="true">
        <match url="^tag/(.+?)$" ignoreCase="true" />
        <action type="Rewrite" url="index.php?m=content&amp;c=tag&amp;a=lists&amp;tag={R:1}" />
    </rule>
	



  <rule name="content_html_page_siteindex" stopProcessing="true">
          <match url="^([A-Za-z]+)/$" ignoreCase="true" />
          <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}" />
   </rule>	
	
  <rule name="content_html_page_site" stopProcessing="true">
          <match url="^([A-Za-z]+)/news_([0-9]+)\.html$" ignoreCase="true" />
          <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=lists&amp;catdir={R:1}&amp;page={R:2}" />
   </rule>
	
	
  <rule name="show_html_site_newsdetail" stopProcessing="true">
              <match url="^([A-Za-z]+)/news-([0-9]+)\.html$" ignoreCase="true" />
              <action type="Rewrite" url="index.php?m=content&amp;c=index&amp;a=show&amp;catdir={R:1}&amp;id={R:2}" />
   </rule>
 
  </rules>
   </rewrite>
 </system.webServer>
</configuration>
