annotate runtime/syntax/apache.vim @ 11018:654fc5636b37 v8.0.0398

patch 8.0.0398: illegal memory access with "t" commit https://github.com/vim/vim/commit/66727e16079fbac6db3897b5c3736ec9fba995bb Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 1 22:17:05 2017 +0100 patch 8.0.0398: illegal memory access with "t" Problem: Illegal memory access with "t". Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes https://github.com/vim/vim/issues/1528)
author Christian Brabandt <cb@256bit.org>
date Wed, 01 Mar 2017 22:30:04 +0100
parents 46763b01cd9a
children bc1a8d21c811
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Apache configuration (httpd.conf, srm.conf, access.conf, .htaccess)
5362
ab1508486b12 Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents: 1123
diff changeset
3 " Maintainer: David Necas (Yeti) <yeti@physics.muni.cz>
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
4 " License: This file can be redistribued and/or modified under the same terms
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
5 " as Vim itself.
5697
c2098c3095e7 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5362
diff changeset
6 " Last Change: 2014-03-04
1123
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 828
diff changeset
7 " Notes: Last synced with apache-2.2.3, version 1.x is no longer supported
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
8 " TODO: see particular FIXME's scattered through the file
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
9 " make it really linewise?
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
10 " + add `display' where appropriate
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 5697
diff changeset
12 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 5697
diff changeset
13 if exists("b:current_syntax")
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 5697
diff changeset
14 finish
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " Base constructs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match apacheComment "^\s*#.*$" contains=apacheFixme
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
21 syn match apacheUserID "#-\?\d\+\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword apacheFixme FIXME TODO XXX NOT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match apacheAnything "\s[^>]*" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match apacheError "\w\+" contained
5362
ab1508486b12 Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents: 1123
diff changeset
27 syn region apacheString start=+"+ end=+"+ skip=+\\\\\|\\\"+ oneline
ab1508486b12 Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents: 1123
diff changeset
28
ab1508486b12 Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents: 1123
diff changeset
29 " Following is to prevent escaped quotes from being parsed as strings.
ab1508486b12 Update runtime files. Add support for J.
Bram Moolenaar <bram@vim.org>
parents: 1123
diff changeset
30 syn match apacheSkipQuote +\\"+
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " Core and mpm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn keyword apacheDeclaration AccessFileName AddDefaultCharset AllowOverride AuthName AuthType ContentDigest DefaultType DocumentRoot ErrorDocument ErrorLog HostNameLookups IdentityCheck Include KeepAlive KeepAliveTimeout LimitRequestBody LimitRequestFields LimitRequestFieldsize LimitRequestLine LogLevel MaxKeepAliveRequests NameVirtualHost Options Require RLimitCPU RLimitMEM RLimitNPROC Satisfy ScriptInterpreterSource ServerAdmin ServerAlias ServerName ServerPath ServerRoot ServerSignature ServerTokens TimeOut UseCanonicalName
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
34 syn keyword apacheDeclaration AcceptPathInfo CGIMapExtension EnableMMAP FileETag ForceType LimitXMLRequestBody SetHandler SetInputFilter SetOutputFilter
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
35 syn keyword apacheDeclaration AcceptFilter AllowEncodedSlashes EnableSendfile LimitInternalRecursion TraceEnable
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
36 syn keyword apacheOption INode MTime Size
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword apacheOption Any All On Off Double EMail DNS Min Minimal OS Prod ProductOnly Full
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword apacheOption emerg alert crit error warn notice info debug
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword apacheOption registry script inetd standalone
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match apacheOptionOption "[+-]\?\<\(ExecCGI\|FollowSymLinks\|Includes\|IncludesNoExec\|Indexes\|MultiViews\|SymLinksIfOwnerMatch\)\>"
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
41 syn keyword apacheOption user group
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
42 syn match apacheOption "\<valid-user\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword apacheMethodOption GET POST PUT DELETE CONNECT OPTIONS TRACE PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn case ignore
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
46 syn match apacheSection "<\/\=\(Directory\|DirectoryMatch\|Files\|FilesMatch\|IfModule\|IfDefine\|Location\|LocationMatch\|VirtualHost\)[^>]*>" contains=apacheAnything
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
47 syn match apacheLimitSection "<\/\=\(Limit\|LimitExcept\)[^>]*>" contains=apacheLimitSectionKeyword,apacheMethodOption,apacheError
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn keyword apacheLimitSectionKeyword Limit LimitExcept contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn match apacheAuthType "AuthType\s.*$" contains=apacheAuthTypeValue
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn keyword apacheAuthTypeValue Basic Digest
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match apacheAllowOverride "AllowOverride\s.*$" contains=apacheAllowOverrideValue,apacheComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn keyword apacheAllowOverrideValue AuthConfig FileInfo Indexes Limit Options contained
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
53 syn keyword apacheDeclaration CoreDumpDirectory EnableExceptionHook GracefulShutdownTimeout Group Listen ListenBacklog LockFile MaxClients MaxMemFree MaxRequestsPerChild MaxSpareThreads MaxSpareThreadsPerChild MinSpareThreads NumServers PidFile ScoreBoardFile SendBufferSize ServerLimit StartServers StartThreads ThreadLimit ThreadsPerChild User
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
54 syn keyword apacheDeclaration MaxThreads ThreadStackSize
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
55 syn keyword apacheDeclaration Win32DisableAcceptEx
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
56 syn keyword apacheDeclaration AssignUserId ChildPerUserId
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
57 syn keyword apacheDeclaration AcceptMutex MaxSpareServers MinSpareServers
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
58 syn keyword apacheOption flock fcntl sysvsem pthread
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 " Modules
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
61 syn keyword apacheDeclaration Action Script
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
62 syn keyword apacheDeclaration Alias AliasMatch Redirect RedirectMatch RedirectTemp RedirectPermanent ScriptAlias ScriptAliasMatch
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
63 syn keyword apacheOption permanent temp seeother gone
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
64 syn keyword apacheDeclaration AuthAuthoritative AuthGroupFile AuthUserFile
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
65 syn keyword apacheDeclaration AuthBasicAuthoritative AuthBasicProvider
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
66 syn keyword apacheDeclaration AuthDigestAlgorithm AuthDigestDomain AuthDigestNcCheck AuthDigestNonceFormat AuthDigestNonceLifetime AuthDigestProvider AuthDigestQop AuthDigestShmemSize
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
67 syn keyword apacheOption none auth auth-int MD5 MD5-sess
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
68 syn match apacheSection "<\/\=\(<AuthnProviderAlias\)[^>]*>" contains=apacheAnything
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
69 syn keyword apacheDeclaration Anonymous Anonymous_Authoritative Anonymous_LogEmail Anonymous_MustGiveEmail Anonymous_NoUserID Anonymous_VerifyEmail
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
70 syn keyword apacheDeclaration AuthDBDUserPWQuery AuthDBDUserRealmQuery
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
71 syn keyword apacheDeclaration AuthDBMGroupFile AuthDBMAuthoritative
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
72 syn keyword apacheDeclaration AuthDBM TypeAuthDBMUserFile
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
73 syn keyword apacheOption default SDBM GDBM NDBM DB
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
74 syn keyword apacheDeclaration AuthDefaultAuthoritative
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
75 syn keyword apacheDeclaration AuthUserFile
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
76 syn keyword apacheDeclaration AuthLDAPBindON AuthLDAPEnabled AuthLDAPFrontPageHack AuthLDAPStartTLS
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
77 syn keyword apacheDeclaration AuthLDAPBindDN AuthLDAPBindPassword AuthLDAPCharsetConfig AuthLDAPCompareDNOnServer AuthLDAPDereferenceAliases AuthLDAPGroupAttribute AuthLDAPGroupAttributeIsDN AuthLDAPRemoteUserIsDN AuthLDAPUrl AuthzLDAPAuthoritative
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
78 syn keyword apacheOption always never searching finding
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
79 syn keyword apacheOption ldap-user ldap-group ldap-dn ldap-attribute ldap-filter
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
80 syn keyword apacheDeclaration AuthDBMGroupFile AuthzDBMAuthoritative AuthzDBMType
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
81 syn keyword apacheDeclaration AuthzDefaultAuthoritative
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
82 syn keyword apacheDeclaration AuthGroupFile AuthzGroupFileAuthoritative
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match apacheAllowDeny "Allow\s\+from.*$" contains=apacheAllowDenyValue,apacheComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn match apacheAllowDeny "Deny\s\+from.*$" contains=apacheAllowDenyValue,apacheComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword apacheAllowDenyValue All None contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match apacheOrder "^\s*Order\s.*$" contains=apacheOrderValue,apacheComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword apacheOrderValue Deny Allow contained
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
88 syn keyword apacheDeclaration AuthzOwnerAuthoritative
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
89 syn keyword apacheDeclaration AuthzUserAuthoritative
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword apacheDeclaration AddAlt AddAltByEncoding AddAltByType AddDescription AddIcon AddIconByEncoding AddIconByType DefaultIcon HeaderName IndexIgnore IndexOptions IndexOrderDefault ReadmeName
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
91 syn keyword apacheDeclaration IndexStyleSheet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn keyword apacheOption DescriptionWidth FancyIndexing FoldersFirst IconHeight IconsAreLinks IconWidth NameWidth ScanHTMLTitles SuppressColumnSorting SuppressDescription SuppressHTMLPreamble SuppressLastModified SuppressSize TrackModified
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword apacheOption Ascending Descending Name Date Size Description
1123
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 828
diff changeset
94 syn keyword apacheOption HTMLTable SuppressIcon SuppressRules VersionSort XHTML
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
95 syn keyword apacheOption IgnoreClient IgnoreCase ShowForbidden SuppresRules
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
96 syn keyword apacheDeclaration CacheForceCompletion CacheMaxStreamingBuffer
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
97 syn keyword apacheDeclaration CacheDefaultExpire CacheDisable CacheEnable CacheIgnoreCacheControl CacheIgnoreHeaders CacheIgnoreNoLastMod CacheLastModifiedFactor CacheMaxExpire CacheStoreNoStore CacheStorePrivate
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword apacheDeclaration MetaFiles MetaDir MetaSuffix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword apacheDeclaration ScriptLog ScriptLogLength ScriptLogBuffer
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
100 syn keyword apacheDeclaration ScriptStock
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
101 syn keyword apacheDeclaration CharsetDefault CharsetOptions CharsetSourceEnc
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
102 syn keyword apacheOption DebugLevel ImplicitAdd NoImplicitAdd
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
103 syn keyword apacheDeclaration Dav DavDepthInfinity DavMinTimeout
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
104 syn keyword apacheDeclaration DavLockDB
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
105 syn keyword apacheDeclaration DavGenericLockDB
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
106 syn keyword apacheDeclaration DBDExptime DBDKeep DBDMax DBDMin DBDParams DBDPersist DBDPrepareSQL DBDriver
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
107 syn keyword apacheDeclaration DeflateCompressionLevel DeflateBufferSize DeflateFilterNote DeflateMemLevel DeflateWindowSize
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
108 syn keyword apacheDeclaration DirectoryIndex DirectorySlash
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
109 syn keyword apacheDeclaration CacheExpiryCheck CacheGcClean CacheGcDaily CacheGcInterval CacheGcMemUsage CacheGcUnused CacheSize CacheTimeMargin
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
110 syn keyword apacheDeclaration CacheDirLength CacheDirLevels CacheMaxFileSize CacheMinFileSize CacheRoot
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
111 syn keyword apacheDeclaration DumpIOInput DumpIOOutput
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
112 syn keyword apacheDeclaration ProtocolEcho
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn keyword apacheDeclaration PassEnv SetEnv UnsetEnv
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword apacheDeclaration Example
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn keyword apacheDeclaration ExpiresActive ExpiresByType ExpiresDefault
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
116 syn keyword apacheDeclaration ExtFilterDefine ExtFilterOptions
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
117 syn keyword apacheOption PreservesContentLength DebugLevel LogStderr NoLogStderr
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
118 syn match apacheOption "\<\(cmd\|mode\|intype\|outtype\|ftype\|disableenv\|enableenv\)\ze="
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
119 syn keyword apacheDeclaration CacheFile MMapFile
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
120 syn keyword apacheDeclaration FilterChain FilterDeclare FilterProtocol FilterProvider FilterTrace
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword apacheDeclaration Header
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
122 syn keyword apacheDeclaration RequestHeader
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn keyword apacheOption set unset append add
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
124 syn keyword apacheDeclaration IdentityCheck IdentityCheckTimeout
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn keyword apacheDeclaration ImapMenu ImapDefault ImapBase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword apacheOption none formatted semiformatted unformatted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword apacheOption nocontent referer error map
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
128 syn keyword apacheDeclaration SSIEndTag SSIErrorMsg SSIStartTag SSITimeFormat SSIUndefinedEcho XBitHack
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn keyword apacheOption on off full
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn keyword apacheDeclaration AddModuleInfo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword apacheDeclaration ISAPIReadAheadBuffer ISAPILogNotSupported ISAPIAppendLogToErrors ISAPIAppendLogToQuery
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
132 syn keyword apacheDeclaration ISAPICacheFile ISAIPFakeAsync
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
133 syn keyword apacheDeclaration LDAPCertDBPath
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
134 syn keyword apacheDeclaration LDAPCacheEntries LDAPCacheTTL LDAPConnectionTimeout LDAPOpCacheEntries LDAPOpCacheTTL LDAPSharedCacheFile LDAPSharedCacheSize LDAPTrustedClientCert LDAPTrustedGlobalCert LDAPTrustedMode LDAPVerifyServerCert
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
135 syn keyword apacheOption CA_DER CA_BASE64 CA_CERT7_DB CA_SECMOD CERT_DER CERT_BASE64 CERT_KEY3_DB CERT_NICKNAME CERT_PFX KEY_DER KEY_BASE64 KEY_PFX
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
136 syn keyword apacheDeclaration BufferedLogs CookieLog CustomLog LogFormat TransferLog
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
137 syn keyword apacheDeclaration ForensicLog
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
138 syn keyword apacheDeclaration MCacheMaxObjectCount MCacheMaxObjectSize MCacheMaxStreamingBuffer MCacheMinObjectSize MCacheRemovalAlgorithm MCacheSize
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn keyword apacheDeclaration AddCharset AddEncoding AddHandler AddLanguage AddType DefaultLanguage RemoveEncoding RemoveHandler RemoveType TypesConfig
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
140 syn keyword apacheDeclaration AddInputFilter AddOutputFilter ModMimeUsePathInfo MultiviewsMatch RemoveInputFilter RemoveOutputFilter RemoveCharset
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
141 syn keyword apacheOption NegotiatedOnly Filters Handlers
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn keyword apacheDeclaration MimeMagicFile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn keyword apacheDeclaration MMapFile
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
144 syn keyword apacheDeclaration CacheNegotiatedDocs LanguagePriority ForceLanguagePriority
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
145 syn keyword apacheDeclaration NWSSLTrustedCerts NWSSLUpgradeable SecureListen
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn keyword apacheDeclaration PerlModule PerlRequire PerlTaintCheck PerlWarn
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn keyword apacheDeclaration PerlSetVar PerlSetEnv PerlPassEnv PerlSetupEnv
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn keyword apacheDeclaration PerlInitHandler PerlPostReadRequestHandler PerlHeaderParserHandler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn keyword apacheDeclaration PerlTransHandler PerlAccessHandler PerlAuthenHandler PerlAuthzHandler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn keyword apacheDeclaration PerlTypeHandler PerlFixupHandler PerlHandler PerlLogHandler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn keyword apacheDeclaration PerlCleanupHandler PerlChildInitHandler PerlChildExitHandler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn keyword apacheDeclaration PerlRestartHandler PerlDispatchHandler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn keyword apacheDeclaration PerlFreshRestart PerlSendHeader
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn keyword apacheDeclaration php_value php_flag php_admin_value php_admin_flag
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
155 syn match apacheSection "<\/\=\(Proxy\|ProxyMatch\)[^>]*>" contains=apacheAnything
5697
c2098c3095e7 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5362
diff changeset
156 syn keyword apacheDeclaration AllowCONNECT NoProxy ProxyBadHeader ProxyBlock ProxyDomain ProxyErrorOverride ProxyIOBufferSize ProxyMaxForwards ProxyPass ProxyPassMatch ProxyPassReverse ProxyPassReverseCookieDomain ProxyPassReverseCookiePath ProxyPreserveHost ProxyReceiveBufferSize ProxyRemote ProxyRemoteMatch ProxyRequests ProxyTimeout ProxyVia
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
157 syn keyword apacheDeclaration RewriteBase RewriteCond RewriteEngine RewriteLock RewriteLog RewriteLogLevel RewriteMap RewriteOptions RewriteRule
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn keyword apacheOption inherit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn keyword apacheDeclaration BrowserMatch BrowserMatchNoCase SetEnvIf SetEnvIfNoCase
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn keyword apacheDeclaration LoadFile LoadModule
1123
c4cd8ad60bee updated for version 7.1a
vimboss
parents: 828
diff changeset
161 syn keyword apacheDeclaration CheckSpelling CheckCaseOnly
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
162 syn keyword apacheDeclaration SSLCACertificateFile SSLCACertificatePath SSLCADNRequestFile SSLCADNRequestPath SSLCARevocationFile SSLCARevocationPath SSLCertificateChainFile SSLCertificateFile SSLCertificateKeyFile SSLCipherSuite SSLCryptoDevice SSLEngine SSLHonorCipherOrder SSLMutex SSLOptions SSLPassPhraseDialog SSLProtocol SSLProxyCACertificateFile SSLProxyCACertificatePath SSLProxyCARevocationFile SSLProxyCARevocationPath SSLProxyCipherSuite SSLProxyEngine SSLProxyMachineCertificateFile SSLProxyMachineCertificatePath SSLProxyProtocol SSLProxyVerify SSLProxyVerifyDepth SSLRandomSeed SSLRequire SSLRequireSSL SSLSessionCache SSLSessionCacheTimeout SSLUserName SSLVerifyClient SSLVerifyDepth
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn match apacheOption "[+-]\?\<\(StdEnvVars\|CompatEnvVars\|ExportCertData\|FakeBasicAuth\|StrictRequire\|OptRenegotiate\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn keyword apacheOption builtin sem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn match apacheOption "\(file\|exec\|egd\|dbm\|shm\):"
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
166 syn match apacheOption "[+-]\?\<\(SSLv2\|SSLv3\|TLSv1\|kRSA\|kHDr\|kDHd\|kEDH\|aNULL\|aRSA\|aDSS\|aRH\|eNULL\|DES\|3DES\|RC2\|RC4\|IDEA\|MD5\|SHA1\|SHA\|EXP\|EXPORT40\|EXPORT56\|LOW\|MEDIUM\|HIGH\|RSA\|DH\|EDH\|ADH\|DSS\|NULL\)\>"
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
167 syn keyword apacheOption optional optional_no_ca
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn keyword apacheDeclaration ExtendedStatus
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
169 syn keyword apacheDeclaration SuexecUserGroup
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 syn keyword apacheDeclaration UserDir
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
171 syn keyword apacheDeclaration CookieDomain CookieExpires CookieName CookieStyle CookieTracking
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
172 syn keyword apacheOption Netscape Cookie Cookie2 RFC2109 RFC2965
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 7
diff changeset
173 syn match apacheSection "<\/\=\(<IfVersion\)[^>]*>" contains=apacheAnything
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn keyword apacheDeclaration VirtualDocumentRoot VirtualDocumentRootIP VirtualScriptAlias VirtualScriptAliasIP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 " Define the default highlighting
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
178 hi def link apacheAllowOverride apacheDeclaration
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
179 hi def link apacheAllowOverrideValue apacheOption
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
180 hi def link apacheAuthType apacheDeclaration
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
181 hi def link apacheAuthTypeValue apacheOption
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
182 hi def link apacheOptionOption apacheOption
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
183 hi def link apacheDeclaration Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
184 hi def link apacheAnything apacheOption
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
185 hi def link apacheOption Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
186 hi def link apacheComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
187 hi def link apacheFixme Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
188 hi def link apacheLimitSectionKeyword apacheLimitSection
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
189 hi def link apacheLimitSection apacheSection
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
190 hi def link apacheSection Label
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
191 hi def link apacheMethodOption Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
192 hi def link apacheAllowDeny Include
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
193 hi def link apacheAllowDenyValue Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
194 hi def link apacheOrder Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
195 hi def link apacheOrderValue String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
196 hi def link apacheString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
197 hi def link apacheError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
198 hi def link apacheUserID Number
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 let b:current_syntax = "apache"