PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / 1.27.3
Code Block Pro – Beautiful Syntax Highlighting v1.27.3
1.27.1 1.27.2 1.27.3 1.27.4 1.27.5 1.27.6 1.27.7 1.28.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3 trunk 1.1.0 1.10.0 1.11.0 1.11.1 All 63 releases
code-block-pro / build / shiki / languages / apache.tmLanguage.json

apache.tmLanguage.json in Code Block Pro – Beautiful Syntax Highlighting 1.27.3, at build/shiki/languages/apache.tmLanguage.json

563 lines 17.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "fileTypes": [
3 "conf",
4 "CONF",
5 "envvars",
6 "htaccess",
7 "HTACCESS",
8 "htgroups",
9 "HTGROUPS",
10 "htpasswd",
11 "HTPASSWD",
12 ".htaccess",
13 ".HTACCESS",
14 ".htgroups",
15 ".HTGROUPS",
16 ".htpasswd",
17 ".HTPASSWD"
18 ],
19 "name": "apache",
20 "patterns": [
21 {
22 "captures": {
23 "1": {
24 "name": "punctuation.definition.comment.apacheconf"
25 }
26 },
27 "match": "^(\\s)*(#).*$\\n?",
28 "name": "comment.line.hash.ini"
29 },
30 {
31 "captures": {
32 "1": {
33 "name": "punctuation.definition.tag.apacheconf"
34 },
35 "2": {
36 "name": "entity.tag.apacheconf"
37 },
38 "4": {
39 "name": "string.value.apacheconf"
40 },
41 "5": {
42 "name": "punctuation.definition.tag.apacheconf"
43 }
44 },
45 "match": "(<)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(\\s(.+?))?(>)"
46 },
47 {
48 "captures": {
49 "1": {
50 "name": "punctuation.definition.tag.apacheconf"
51 },
52 "2": {
53 "name": "entity.tag.apacheconf"
54 },
55 "3": {
56 "name": "punctuation.definition.tag.apacheconf"
57 }
58 },
59 "match": "(</)(Proxy|ProxyMatch|IfVersion|Directory|DirectoryMatch|Files|FilesMatch|IfDefine|IfModule|Limit|LimitExcept|Location|LocationMatch|VirtualHost|Macro|If|Else|ElseIf)(>)"
60 },
61 {
62 "captures": {
63 "3": {
64 "name": "string.regexp.apacheconf"
65 },
66 "4": {
67 "name": "string.replacement.apacheconf"
68 }
69 },
70 "match": "(?<=(Rewrite(Rule|Cond)))\\s+(.+?)\\s+(.+?)($|\\s)"
71 },
72 {
73 "captures": {
74 "2": {
75 "name": "entity.status.apacheconf"
76 },
77 "3": {
78 "name": "string.regexp.apacheconf"
79 },
80 "5": {
81 "name": "string.path.apacheconf"
82 }
83 },
84 "match": "(?<=RedirectMatch)(\\s+(\\d\\d\\d|permanent|temp|seeother|gone))?\\s+(.+?)\\s+((.+?)($|\\s))?"
85 },
86 {
87 "captures": {
88 "2": {
89 "name": "entity.status.apacheconf"
90 },
91 "3": {
92 "name": "string.path.apacheconf"
93 },
94 "5": {
95 "name": "string.path.apacheconf"
96 }
97 },
98 "match": "(?<=Redirect)(\\s+(\\d\\d\\d|permanent|temp|seeother|gone))?\\s+(.+?)\\s+((.+?)($|\\s))?"
99 },
100 {
101 "captures": {
102 "1": {
103 "name": "string.regexp.apacheconf"
104 },
105 "3": {
106 "name": "string.path.apacheconf"
107 }
108 },
109 "match": "(?<=ScriptAliasMatch|AliasMatch)\\s+(.+?)\\s+((.+?)\\s)?"
110 },
111 {
112 "captures": {
113 "1": {
114 "name": "string.path.apacheconf"
115 },
116 "3": {
117 "name": "string.path.apacheconf"
118 }
119 },
120 "match": "(?<=RedirectPermanent|RedirectTemp|ScriptAlias|Alias)\\s+(.+?)\\s+((.+?)($|\\s))?"
121 },
122 {
123 "captures": {
124 "1": {
125 "name": "keyword.core.apacheconf"
126 }
127 },
128 "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"
129 },
130 {
131 "captures": {
132 "1": {
133 "name": "keyword.mpm.apacheconf"
134 }
135 },
136 "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"
137 },
138 {
139 "captures": {
140 "1": {
141 "name": "keyword.access.apacheconf"
142 }
143 },
144 "match": "\\b(Allow|Deny|Order)\\b"
145 },
146 {
147 "captures": {
148 "1": {
149 "name": "keyword.actions.apacheconf"
150 }
151 },
152 "match": "\\b(Action|Script)\\b"
153 },
154 {
155 "captures": {
156 "1": {
157 "name": "keyword.alias.apacheconf"
158 }
159 },
160 "match": "\\b(Alias|AliasMatch|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ScriptAlias|ScriptAliasMatch)\\b"
161 },
162 {
163 "captures": {
164 "1": {
165 "name": "keyword.auth.apacheconf"
166 }
167 },
168 "match": "\\b(AuthAuthoritative|AuthGroupFile|AuthUserFile|AuthBasicProvider|AuthBasicFake|AuthBasicAuthoritative|AuthBasicUseDigestAlgorithm)\\b"
169 },
170 {
171 "captures": {
172 "1": {
173 "name": "keyword.auth_anon.apacheconf"
174 }
175 },
176 "match": "\\b(Anonymous|Anonymous_Authoritative|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail)\\b"
177 },
178 {
179 "captures": {
180 "1": {
181 "name": "keyword.auth_dbm.apacheconf"
182 }
183 },
184 "match": "\\b(AuthDBMAuthoritative|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile)\\b"
185 },
186 {
187 "captures": {
188 "1": {
189 "name": "keyword.auth_digest.apacheconf"
190 }
191 },
192 "match": "\\b(AuthDigestAlgorithm|AuthDigestDomain|AuthDigestFile|AuthDigestGroupFile|AuthDigestNcCheck|AuthDigestNonceFormat|AuthDigestNonceLifetime|AuthDigestQop|AuthDigestShmemSize|AuthDigestProvider)\\b"
193 },
194 {
195 "captures": {
196 "1": {
197 "name": "keyword.auth_ldap.apacheconf"
198 }
199 },
200 "match": "\\b(AuthLDAPAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPEnabled|AuthLDAPFrontPageHack|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPRemoteUserIsDN|AuthLDAPUrl)\\b"
201 },
202 {
203 "captures": {
204 "1": {
205 "name": "keyword.autoindex.apacheconf"
206 }
207 },
208 "match": "\\b(AddAlt|AddAltByEncoding|AddAltByType|AddDescription|AddIcon|AddIconByEncoding|AddIconByType|DefaultIcon|HeaderName|IndexIgnore|IndexOptions|IndexOrderDefault|IndexStyleSheet|IndexHeadInsert|ReadmeName)\\b"
209 },
210 {
211 "captures": {
212 "1": {
213 "name": "keyword.filter.apacheconf"
214 }
215 },
216 "match": "\\b(BalancerMember|BalancerGrowth|BalancerPersist|BalancerInherit)\\b"
217 },
218 {
219 "captures": {
220 "1": {
221 "name": "keyword.cache.apacheconf"
222 }
223 },
224 "match": "\\b(CacheDefaultExpire|CacheDisable|CacheEnable|CacheForceCompletion|CacheIgnoreCacheControl|CacheIgnoreHeaders|CacheIgnoreNoLastMod|CacheLastModifiedFactor|CacheMaxExpire)\\b"
225 },
226 {
227 "captures": {
228 "1": {
229 "name": "keyword.cern_meta.apacheconf"
230 }
231 },
232 "match": "\\b(MetaDir|MetaFiles|MetaSuffix)\\b"
233 },
234 {
235 "captures": {
236 "1": {
237 "name": "keyword.cgi.apacheconf"
238 }
239 },
240 "match": "\\b(ScriptLog|ScriptLogBuffer|ScriptLogLength)\\b"
241 },
242 {
243 "captures": {
244 "1": {
245 "name": "keyword.cgid.apacheconf"
246 }
247 },
248 "match": "\\b(ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock)\\b"
249 },
250 {
251 "captures": {
252 "1": {
253 "name": "keyword.charset_lite.apacheconf"
254 }
255 },
256 "match": "\\b(CharsetDefault|CharsetOptions|CharsetSourceEnc)\\b"
257 },
258 {
259 "captures": {
260 "1": {
261 "name": "keyword.dav.apacheconf"
262 }
263 },
264 "match": "\\b(Dav|DavDepthInfinity|DavMinTimeout|DavLockDB)\\b"
265 },
266 {
267 "captures": {
268 "1": {
269 "name": "keyword.deflate.apacheconf"
270 }
271 },
272 "match": "\\b(DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateMemLevel|DeflateWindowSize)\\b"
273 },
274 {
275 "captures": {
276 "1": {
277 "name": "keyword.dir.apacheconf"
278 }
279 },
280 "match": "\\b(DirectoryIndex|DirectorySlash|FallbackResource)\\b"
281 },
282 {
283 "captures": {
284 "1": {
285 "name": "keyword.disk_cache.apacheconf"
286 }
287 },
288 "match": "\\b(CacheDirLength|CacheDirLevels|CacheExpiryCheck|CacheGcClean|CacheGcDaily|CacheGcInterval|CacheGcMemUsage|CacheGcUnused|CacheMaxFileSize|CacheMinFileSize|CacheRoot|CacheSize|CacheTimeMargin)\\b"
289 },
290 {
291 "captures": {
292 "1": {
293 "name": "keyword.dumpio.apacheconf"
294 }
295 },
296 "match": "\\b(DumpIOInput|DumpIOOutput)\\b"
297 },
298 {
299 "captures": {
300 "1": {
301 "name": "keyword.env.apacheconf"
302 }
303 },
304 "match": "\\b(PassEnv|SetEnv|UnsetEnv)\\b"
305 },
306 {
307 "captures": {
308 "1": {
309 "name": "keyword.expires.apacheconf"
310 }
311 },
312 "match": "\\b(ExpiresActive|ExpiresByType|ExpiresDefault)\\b"
313 },
314 {
315 "captures": {
316 "1": {
317 "name": "keyword.ext_filter.apacheconf"
318 }
319 },
320 "match": "\\b(ExtFilterDefine|ExtFilterOptions)\\b"
321 },
322 {
323 "captures": {
324 "1": {
325 "name": "keyword.file_cache.apacheconf"
326 }
327 },
328 "match": "\\b(CacheFile|MMapFile)\\b"
329 },
330 {
331 "captures": {
332 "1": {
333 "name": "keyword.filter.apacheconf"
334 }
335 },
336 "match": "\\b(AddOutputFilterByType|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace)\\b"
337 },
338 {
339 "captures": {
340 "1": {
341 "name": "keyword.headers.apacheconf"
342 }
343 },
344 "match": "\\b(Header|RequestHeader)\\b"
345 },
346 {
347 "captures": {
348 "1": {
349 "name": "keyword.imap.apacheconf"
350 }
351 },
352 "match": "\\b(ImapBase|ImapDefault|ImapMenu)\\b"
353 },
354 {
355 "captures": {
356 "1": {
357 "name": "keyword.include.apacheconf"
358 }
359 },
360 "match": "\\b(SSIEndTag|SSIErrorMsg|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|XBitHack)\\b"
361 },
362 {
363 "captures": {
364 "1": {
365 "name": "keyword.isapi.apacheconf"
366 }
367 },
368 "match": "\\b(ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer)\\b"
369 },
370 {
371 "captures": {
372 "1": {
373 "name": "keyword.ldap.apacheconf"
374 }
375 },
376 "match": "\\b(LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionTimeout|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTrustedCA|LDAPTrustedCAType)\\b"
377 },
378 {
379 "captures": {
380 "1": {
381 "name": "keyword.log.apacheconf"
382 }
383 },
384 "match": "\\b(BufferedLogs|CookieLog|CustomLog|LogFormat|TransferLog|ForensicLog)\\b"
385 },
386 {
387 "captures": {
388 "1": {
389 "name": "keyword.mem_cache.apacheconf"
390 }
391 },
392 "match": "\\b(MCacheMaxObjectCount|MCacheMaxObjectSize|MCacheMaxStreamingBuffer|MCacheMinObjectSize|MCacheRemovalAlgorithm|MCacheSize)\\b"
393 },
394 {
395 "captures": {
396 "1": {
397 "name": "keyword.mime.apacheconf"
398 }
399 },
400 "match": "\\b(AddCharset|AddEncoding|AddHandler|AddInputFilter|AddLanguage|AddOutputFilter|AddType|DefaultLanguage|ModMimeUsePathInfo|MultiviewsMatch|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|TypesConfig)\\b"
401 },
402 {
403 "captures": {
404 "1": {
405 "name": "keyword.misc.apacheconf"
406 }
407 },
408 "match": "\\b(ProtocolEcho|Example|AddModuleInfo|MimeMagicFile|CheckSpelling|ExtendedStatus|SuexecUserGroup|UserDir)\\b"
409 },
410 {
411 "captures": {
412 "1": {
413 "name": "keyword.negotiation.apacheconf"
414 }
415 },
416 "match": "\\b(CacheNegotiatedDocs|ForceLanguagePriority|LanguagePriority)\\b"
417 },
418 {
419 "captures": {
420 "1": {
421 "name": "keyword.nw_ssl.apacheconf"
422 }
423 },
424 "match": "\\b(NWSSLTrustedCerts|NWSSLUpgradeable|SecureListen)\\b"
425 },
426 {
427 "captures": {
428 "1": {
429 "name": "keyword.proxy.apacheconf"
430 }
431 },
432 "match": "\\b(AllowCONNECT|NoProxy|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyFtpDirCharset|ProxyIOBufferSize|ProxyMaxForwards|ProxyPass|ProxyPassMatch|ProxyPassReverse|ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxyTimeout|ProxyVia)\\b"
433 },
434 {
435 "captures": {
436 "1": {
437 "name": "keyword.rewrite.apacheconf"
438 }
439 },
440 "match": "\\b(RewriteBase|RewriteCond|RewriteEngine|RewriteLock|RewriteLog|RewriteLogLevel|RewriteMap|RewriteOptions|RewriteRule)\\b"
441 },
442 {
443 "captures": {
444 "1": {
445 "name": "keyword.setenvif.apacheconf"
446 }
447 },
448 "match": "\\b(BrowserMatch|BrowserMatchNoCase|SetEnvIf|SetEnvIfNoCase)\\b"
449 },
450 {
451 "captures": {
452 "1": {
453 "name": "keyword.so.apacheconf"
454 }
455 },
456 "match": "\\b(LoadFile|LoadModule)\\b"
457 },
458 {
459 "captures": {
460 "1": {
461 "name": "keyword.ssl.apacheconf"
462 }
463 },
464 "match": "\\b(SSLCACertificateFile|SSLCACertificatePath|SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLEngine|SSLMutex|SSLOptions|SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCipherSuite|SSLProxyEngine|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRequire|SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLUserName|SSLVerifyClient|SSLVerifyDepth|SSLInsecureRenegotiation|SSLOpenSSLConfCmd)\\b"
465 },
466 {
467 "captures": {
468 "1": {
469 "name": "keyword.substitute.apacheconf"
470 }
471 },
472 "match": "\\b(Substitute|SubstituteInheritBefore|SubstituteMaxLineLength)\\b"
473 },
474 {
475 "captures": {
476 "1": {
477 "name": "keyword.usertrack.apacheconf"
478 }
479 },
480 "match": "\\b(CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking)\\b"
481 },
482 {
483 "captures": {
484 "1": {
485 "name": "keyword.vhost_alias.apacheconf"
486 }
487 },
488 "match": "\\b(VirtualDocumentRoot|VirtualDocumentRootIP|VirtualScriptAlias|VirtualScriptAliasIP)\\b"
489 },
490 {
491 "captures": {
492 "1": {
493 "name": "keyword.php.apacheconf"
494 },
495 "3": {
496 "name": "entity.property.apacheconf"
497 },
498 "5": {
499 "name": "string.value.apacheconf"
500 }
501 },
502 "match": "\\b(php_value|php_flag|php_admin_value|php_admin_flag)\\b(\\s+(.+?)(\\s+(\".+?\"|.+?))?)?\\s"
503 },
504 {
505 "captures": {
506 "1": {
507 "name": "punctuation.variable.apacheconf"
508 },
509 "3": {
510 "name": "variable.env.apacheconf"
511 },
512 "4": {
513 "name": "variable.misc.apacheconf"
514 },
515 "5": {
516 "name": "punctuation.variable.apacheconf"
517 }
518 },
519 "match": "(%\\{)((HTTP_USER_AGENT|HTTP_REFERER|HTTP_COOKIE|HTTP_FORWARDED|HTTP_HOST|HTTP_PROXY_CONNECTION|HTTP_ACCEPT|REMOTE_ADDR|REMOTE_HOST|REMOTE_PORT|REMOTE_USER|REMOTE_IDENT|REQUEST_METHOD|SCRIPT_FILENAME|PATH_INFO|QUERY_STRING|AUTH_TYPE|DOCUMENT_ROOT|SERVER_ADMIN|SERVER_NAME|SERVER_ADDR|SERVER_PORT|SERVER_PROTOCOL|SERVER_SOFTWARE|TIME_YEAR|TIME_MON|TIME_DAY|TIME_HOUR|TIME_MIN|TIME_SEC|TIME_WDAY|TIME|API_VERSION|THE_REQUEST|REQUEST_URI|REQUEST_FILENAME|IS_SUBREQ|HTTPS)|(.*?))(\\})"
520 },
521 {
522 "captures": {
523 "1": {
524 "name": "entity.mime-type.apacheconf"
525 }
526 },
527 "match": "\\b((text|image|application|video|audio)/.+?)\\s"
528 },
529 {
530 "captures": {
531 "1": {
532 "name": "entity.helper.apacheconf"
533 }
534 },
535 "match": "\\b(?i)(export|from|unset|set|on|off)\\b"
536 },
537 {
538 "captures": {
539 "1": {
540 "name": "constant.numeric.integer.decimal.apacheconf"
541 }
542 },
543 "match": "\\b(\\d+)\\b"
544 },
545 {
546 "captures": {
547 "1": {
548 "name": "punctuation.definition.flag.apacheconf"
549 },
550 "2": {
551 "name": "string.flag.apacheconf"
552 },
553 "3": {
554 "name": "punctuation.definition.flag.apacheconf"
555 }
556 },
557 "match": "\\s(\\[)(.*?)(\\])\\s"
558 }
559 ],
560 "scopeName": "source.apacheconf",
561 "uuid": "8747d9e4-b308-4fc2-9aa1-66b6919bc7b9"
562 }
563