Apache 目錄參數 - AllowOverride

AllowOverride 的參數可詳見官網說明。這個參數用來控制客戶端可利用.htaccess的程度。參數如下:

  1. AuthConfig 允許使用與認證授權相關的指令
    • AuthDBMGroupFile, AuthDBMUserFile, AuthGroupFile, AuthName, AuthType, AuthUserFile, Require...
  2. FileInfo 文件相關指令
    • 控制文件類型(mod_mime):
      DefaultType, ErrorDocument, ForceType, LanguagePriority, SetHandler, SetInputFilter, SetOutputFilter,
    • mod_mime
      Add* 和 Remove* ...
    • 控制meta data
      Header, RequestHeader, SetEnvIf, SetEnvIfNoCase, BrowserMatch, CookieExpires, CookieDomain, CookieStyle, CookieTracking, CookieName
    • mod_rewrite
      RewriteEngine, RewriteOptions, RewriteBase, RewriteCond, RewriteRule
    • mode_alias
      Redirect, RedirectTemp, RedirectPermanent, RedirectMatch
    • mod_actions
      Action
       
  3. Indexes允許使用控制目錄索引的指令
    AddDescription, AddIcon, AddIconByEncoding, AddIconByType, DefaultIcon, DirectoryIndex, FancyIndexing, HeaderName, IndexIgnore, IndexOptions, ReadmeName,...
  4. Limit 允許設定網站存取規則
    Allow,Deny,Order
  5. Options[=Option, ...]允許設定Option參數
    Options相關參數詳見本篇