2 lines
13 KiB
JavaScript
Raw Normal View History

2025-09-05 14:59:21 +08:00
const e=Object.freeze(JSON.parse('{"displayName":"Apache Conf","fileTypes":["conf","CONF","envvars","htaccess","HTACCESS","htgroups","HTGROUPS","htpasswd","HTPASSWD",".htaccess",".HTACCESS",".htgroups",".HTGROUPS",".htpasswd",".HTPASSWD"],"name":"apache","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.apacheconf"}},"match":"^(\\\\s)*(#).*$\\\\n?","name":"comment.line.hash.ini"},{"captures":{"1":{"name":"punctuation.definition.tag.apacheconf"},"2":{"name":"entity.tag.apacheconf"},"4":{"name":"string.value.apacheconf"},"5":{"name":"punctuation.definition.tag.apacheconf"}},"match":"(<)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(\\\\s(.+?))?(>)"},{"captures":{"1":{"name":"punctuation.definition.tag.apacheconf"},"2":{"name":"entity.tag.apacheconf"},"3":{"name":"punctuation.definition.tag.apacheconf"}},"match":"(</)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(>)"},{"captures":{"3":{"name":"string.regexp.apacheconf"},"4":{"name":"string.replacement.apacheconf"}},"match":"(?<=(Rewrite(Rule|Cond)))\\\\s+(.+?)\\\\s+(.+?)($|\\\\s)"},{"captures":{"2":{"name":"entity.status.apacheconf"},"3":{"name":"string.regexp.apacheconf"},"5":{"name":"string.path.apacheconf"}},"match":"(?<=RedirectMatch)(\\\\s+(\\\\d\\\\d\\\\d|permanent|temp|seeother|gone))?\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?"},{"captures":{"2":{"name":"entity.status.apacheconf"},"3":{"name":"string.path.apacheconf"},"5":{"name":"string.path.apacheconf"}},"match":"(?<=Redirect)(\\\\s+(\\\\d\\\\d\\\\d|permanent|temp|seeother|gone))?\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?"},{"captures":{"1":{"name":"string.regexp.apacheconf"},"3":{"name":"string.path.apacheconf"}},"match":"(?<=ScriptAliasMatch|AliasMatch)\\\\s+(.+?)\\\\s+((.+?)\\\\s)?"},{"captures":{"1":{"name":"string.path.apacheconf"},"3":{"name":"string.path.apacheconf"}},"match":"(?<=RedirectPermanent|RedirectTemp|ScriptAlias|Alias)\\\\s+(.+?)\\\\s+((.+?)($|\\\\s))?"},{"captures":{"1":{"name":"keyword.core.apacheconf"}},"match":"\\\\b(AcceptPathInfo|AccessFileName|AddDefaultCharset|AddOutputFilterByType|AllowEncodedSlashes|AllowOverride|AuthName|AuthType|CGIMapExtension|ContentDigest|DefaultType|Define|DocumentRoot|EnableMMAP|EnableSendfile|ErrorDocument|ErrorLog|FileETag|ForceType|HostnameLookups|IdentityCheck|Include(Optional)?|KeepAlive|KeepAliveTimeout|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|LogLevel|MaxKeepAliveRequests|Mutex|NameVirtualHost|Options|Require|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScriptInterpreterSource|ServerAdmin|ServerAlias|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|SetHandler|SetInputFilter|SetOutputFilter|Time(O|o)ut|TraceEnable|UseCanonicalName|Use|ErrorLogFormat|GlobalLog|PHPIniDir|SSLHonorCipherOrder|SSLCompression|SSLUseStapling|SSLStapling\\\\w+|SSLCARevocationCheck|SSLSRPVerifierFile|SSLSessionTickets|RequestReadTimeout|ProxyHTML\\\\w+|MaxRanges)\\\\b"},{"captures":{"1":{"name":"keyword.mpm.apacheconf"}},"match":"\\\\b(AcceptMutex|AssignUserID|BS2000Account|ChildPerUserID|CoreDumpDirectory|EnableExceptionHook|Group|Listen|ListenBacklog|LockFile|MaxClients|MaxConnectionsPerChild|MaxMemFree|MaxRequestsPerChild|MaxRequestsPerThread|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MaxThreadsPerChild|MinSpareServers|MinSpareThreads|NumServers|PidFile|ReceiveBufferSize|ScoreBoardFile|SendBufferSize|ServerLimit|StartServers|StartThreads|ThreadLimit|ThreadsPerChild|ThreadStackSize|User|Win32DisableAcceptEx)\\\\b"},{"captures":{"1":{"name":"keyword.access.apacheconf"}},"match":"\\\\b(Allow|Deny|Order)\\\\b"},{"captures":{"1":{"name":"keyword.actions.apacheconf"}},"match":"\\\\b(Action|Script)\\\\b"},{"captures":{"1":{"name":"keyword.alias.apacheconf"}},"match":"\\\\b(Alias|AliasMatch|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ScriptAlias|