
Description="Apache Config"

Categories = {"protocol"}

Identifiers=[[ [a-zA-Z_][\w\-]* ]]

Keywords={
  { Id=1,
    List={"AccessConfig", "AccessFileName", "Action", "AddAlt",
            "AddAltByEncoding", "AddAltByType", "AddCharset", "AddDefaultCharset",
            "AddDescription", "AddEncoding", "AddHandler", "AddIcon", "AddIconByEncoding",
            "AddIconByType", "AddLanguage", "AddModule", "AddModuleInfo", "AddType",
            "AgentLog", "Alias", "AliasMatch", "Allow", "AllowCONNECT", "AllowOverride",
            "Anonymous", "Anonymous_Authoritative", "Anonymous_LogEmail",
            "Anonymous_MustGiveEmail", "Anonymous_NoUserID", "Anonymous_VerifyEmail",
            "AuthAuthoritative", "AuthDBAuthoritative", "AuthDBGroupFile",
            "AuthDBMAuthoritative", "AuthDBMGroupFile", "AuthDBMGroupFile",
            "AuthDBMUserFile", "AuthDBUserFile", "AuthDigestFile", "AuthGroupFile",
            "AuthName", "AuthType", "AuthUserFile", "BindAddress", "BrowserMatch",
            "BrowserMatchNoCase", "BS2000Account", "CacheDefaultExpire", "CacheDirLength",
            "CacheDirLevels", "CacheForceCompletion", "CacheGcInterval",
            "CacheLastModifiedFactor", "CacheMaxExpire", "CacheNegotiatedDocs", "CacheRoot",
            "CacheSize", "CheckSpelling", "ClearModuleList", "ContentDigest",
            "CookieExpires", "CookieLogCookieLog", "CookieTracking", "CoreDumpDirectory",
            "CustomLog", "DefaultIcon", "DefaultLanguage", "DefaultType", "Deny",
            "DirectoryIndex", "DocumentRoot", "ErrorDocument", "ErrorLog", "Example",
            "ExpiresActive", "ExpiresByType", "ExpiresDefault", "ExtendedStatus",
            "FancyIndexing", "ForceType", "Group", "Header", "HeaderName",
            "HostNameLookups", "IdentityCheck", "ImapBase", "ImapDefault", "ImapMenu",
            "Include", "IndexIgnore", "IndexOptions", "IndexOrderDefault",
            "ISAPIAppendLogToErrors", "ISAPIAppendLogToQuery", "ISAPILogNotSupported",
            "ISAPIReadAheadBuffer", "KeepAlive", "KeepAliveTimeout", "LanguagePriority",
            "LimitRequestBody", "LimitRequestFields", "LimitRequestFieldsize",
            "LimitRequestLine", "Listen", "ListenBacklog", "LoadFile", "LoadModule",
            "LockFile", "LogFormat", "LogLevel", "MaxClients", "MaxKeepAliveRequests",
            "MaxRequestsPerChild", "MaxSpareServers", "MetaDir", "MetaFiles", "MetaSuffix",
            "MimeMagicFile", "MinSpareServers", "MMapFile", "NameVirtualHost", "NoCache",
            "Options", "Order", "PassEnv", "PidFile", "Port", "ProxyBlock", "ProxyDomain",
            "ProxyPass", "ProxyPassReverse", "ProxyReceiveBufferSize", "ProxyRemote",
            "ProxyRequests", "ProxyVia", "ReadmeName", "Redirect", "RedirectMatch",
            "RedirectPermanent", "RedirectTemp", "RefererIgnore", "RefererLog",
            "RemoveEncoding", "RemoveHandler", "RemoveType", "Require", "ResourceConfig",
            "RewriteBase", "RewriteCond", "RewriteEngine", "RewriteLock", "RewriteLog",
            "RewriteLogLevel", "RewriteMap", "RewriteOptions", "RewriteRule", "RLimitCPU",
            "RLimitMEM", "RLimitNPROC", "Satisfy", "ScoreBoardFile", "Script",
            "ScriptAlias", "ScriptAliasMatch", "ScriptInterpreterSource", "ScriptLog",
            "ScriptLogBuffer", "ScriptLogLength", "SendBufferSize", "ServerAdmin",
            "ServerAlias", "ServerName", "ServerPath", "ServerRoot", "ServerSignature",
            "ServerTokens", "ServerType", "SetEnv", "SetEnvIf", "SetEnvIfNoCase",
            "SetHandler", "StartServers", "ThreadsPerChild", "TimeOut", "TransferLog",
            "TypesConfig", "UnsetEnv", "UseCanonicalName", "User", "UserDir",
            "VirtualDocumentRoot", "VirtualDocumentRootIP", "VirtualScriptAlias",
            "VirtualScriptAliasIP", "XBitHack"},
  },
  { Id=2,
    List={"alert", "All", "any", "Ascending", "AuthConfig", "Basic", "block",
        "cgi-script", "CONNECT", "COPY", "crit", "Date", "debug", "DELETE",
        "Descending", "Description", "Digest", "dns", "double", "EMail", "emerg",
        "error", "ExecCGI", "FileInfo", "FollowSymLinks", "formatted", "from", "Full",
        "GET", "Host", "imap-file", "Includes", "IncludesNOEXEC", "Indexes", "inetd",
        "info", "isapi-isa", "Limit", "LOCK", "map", "max", "Minimal", "MKCOL", "MOVE",
        "MultiViews", "Name", "nocontent", "None", "notice", "Off", "On", "OS", "PATCH",
        "POST", "ProductOnly", "PROPFIND", "PROPPATCH", "PUT", "referer", "Remote_Addr",
        "Remote_Host", "Remote_User", "Request_Method", "Request_Protocol",
        "Request_URI", "semiformatted", "send-as-is", "server-parsed", "server-status",
        "Size", "standalone", "SymLinksIfOwnerMatch", "TRACE", "type-map",
        "unformatted", "UNLOCK", "valid-user", "warn"},
  },

  { Id=1,
    Regex=[[<!?\/?\w+>?|/?>]],
  },
  { Id=2,
    Regex=[[([-\w]+)="]],
  },
  { Id=3,
    Regex=[[\&\#?\w+;]],
  },
}

Strings={
  Delimiter=[["|']],
}

IgnoreCase=false

Comments={
  { Block=false,
    Delimiter= { [[#]] },
  },
}

Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\!|\=|\/|\*|\%|\+|\-]]

