瀏覽代碼

gitignore & web.config

bach 2 年之前
父節點
當前提交
8f4ce63da5
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      .gitignore
  2. 1 1
      web.config

+ 2 - 0
.gitignore

@@ -7,3 +7,5 @@ sites/*/private
 sites/*/tmp
 
 error/
+
+**.tar.gz

+ 1 - 1
web.config

@@ -6,7 +6,7 @@
     <rewrite>
       <rules>
         <rule name="Protect files and directories from prying eyes" stopProcessing="true">
-          <match url="\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock))$" />
+          <match url="\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|\.htaccess)$" />
           <action type="CustomResponse" statusCode="403" subStatusCode="0" statusReason="Forbidden" statusDescription="Access is forbidden." />
         </rule>
         <rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">