annotate runtime/syntax/apache.vim @ 9:6a13985590e6

*** empty log message ***
author axmo
date Fri, 29 Aug 2008 15:41:29 +0900
parents 76efa0be13f1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
1 " Vim syntax file
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
2 " This is a GENERATED FILE. Please always refer to source file at the URI below.
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
3 " Language: Apache configuration (httpd.conf, srm.conf, access.conf, .htaccess)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
4 " Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
5 " License: This file can be redistribued and/or modified under the same terms
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
6 " as Vim itself.
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
7 " Last Change: 2006-12-13
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
8 " URL: http://trific.ath.cx/Ftp/vim/syntax/apache.vim
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
9 " Notes: Last synced with apache-2.2.3, version 1.x is no longer supported
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
10 " TODO: see particular FIXME's scattered through the file
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
11 " make it really linewise?
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
12 " + add `display' where appropriate
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
13
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
14 " Setup
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
15 if version >= 600
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
16 if exists("b:current_syntax")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
17 finish
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
18 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
19 else
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
20 syntax clear
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
21 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
22
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
23 syn case ignore
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
24
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
25 " Base constructs
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
26 syn match apacheComment "^\s*#.*$" contains=apacheFixme
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
27 syn match apacheUserID "#-\?\d\+\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
28 syn case match
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
29 syn keyword apacheFixme FIXME TODO XXX NOT
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
30 syn case ignore
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
31 syn match apacheAnything "\s[^>]*" contained
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
32 syn match apacheError "\w\+" contained
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
33 syn region apacheString start=+"+ end=+"+ skip=+\\\\\|\\\"+
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
34
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
35 " Core and mpm
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
36 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
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
37 syn keyword apacheDeclaration AcceptPathInfo CGIMapExtension EnableMMAP FileETag ForceType LimitXMLRequestBody SetHandler SetInputFilter SetOutputFilter
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
38 syn keyword apacheDeclaration AcceptFilter AllowEncodedSlashes EnableSendfile LimitInternalRecursion TraceEnable
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
39 syn keyword apacheOption INode MTime Size
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
40 syn keyword apacheOption Any All On Off Double EMail DNS Min Minimal OS Prod ProductOnly Full
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
41 syn keyword apacheOption emerg alert crit error warn notice info debug
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
42 syn keyword apacheOption registry script inetd standalone
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
43 syn match apacheOptionOption "[+-]\?\<\(ExecCGI\|FollowSymLinks\|Includes\|IncludesNoExec\|Indexes\|MultiViews\|SymLinksIfOwnerMatch\)\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
44 syn keyword apacheOption user group
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
45 syn match apacheOption "\<valid-user\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
46 syn case match
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
47 syn keyword apacheMethodOption GET POST PUT DELETE CONNECT OPTIONS TRACE PATCH PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK contained
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
48 syn case ignore
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
49 syn match apacheSection "<\/\=\(Directory\|DirectoryMatch\|Files\|FilesMatch\|IfModule\|IfDefine\|Location\|LocationMatch\|VirtualHost\)[^>]*>" contains=apacheAnything
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
50 syn match apacheLimitSection "<\/\=\(Limit\|LimitExcept\)[^>]*>" contains=apacheLimitSectionKeyword,apacheMethodOption,apacheError
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
51 syn keyword apacheLimitSectionKeyword Limit LimitExcept contained
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
52 syn match apacheAuthType "AuthType\s.*$" contains=apacheAuthTypeValue
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
53 syn keyword apacheAuthTypeValue Basic Digest
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
54 syn match apacheAllowOverride "AllowOverride\s.*$" contains=apacheAllowOverrideValue,apacheComment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
55 syn keyword apacheAllowOverrideValue AuthConfig FileInfo Indexes Limit Options contained
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
56 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
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
57 syn keyword apacheDeclaration MaxThreads ThreadStackSize
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
58 syn keyword apacheDeclaration Win32DisableAcceptEx
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
59 syn keyword apacheDeclaration AssignUserId ChildPerUserId
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
60 syn keyword apacheDeclaration AcceptMutex MaxSpareServers MinSpareServers
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
61 syn keyword apacheOption flock fcntl sysvsem pthread
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
62
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
63 " Modules
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
64 syn keyword apacheDeclaration Action Script
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
65 syn keyword apacheDeclaration Alias AliasMatch Redirect RedirectMatch RedirectTemp RedirectPermanent ScriptAlias ScriptAliasMatch
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
66 syn keyword apacheOption permanent temp seeother gone
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
67 syn keyword apacheDeclaration AuthAuthoritative AuthGroupFile AuthUserFile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
68 syn keyword apacheDeclaration AuthBasicAuthoritative AuthBasicProvider
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
69 syn keyword apacheDeclaration AuthDigestAlgorithm AuthDigestDomain AuthDigestNcCheck AuthDigestNonceFormat AuthDigestNonceLifetime AuthDigestProvider AuthDigestQop AuthDigestShmemSize
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
70 syn keyword apacheOption none auth auth-int MD5 MD5-sess
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
71 syn match apacheSection "<\/\=\(<AuthnProviderAlias\)[^>]*>" contains=apacheAnything
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
72 syn keyword apacheDeclaration Anonymous Anonymous_Authoritative Anonymous_LogEmail Anonymous_MustGiveEmail Anonymous_NoUserID Anonymous_VerifyEmail
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
73 syn keyword apacheDeclaration AuthDBDUserPWQuery AuthDBDUserRealmQuery
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
74 syn keyword apacheDeclaration AuthDBMGroupFile AuthDBMAuthoritative
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
75 syn keyword apacheDeclaration AuthDBM TypeAuthDBMUserFile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
76 syn keyword apacheOption default SDBM GDBM NDBM DB
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
77 syn keyword apacheDeclaration AuthDefaultAuthoritative
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
78 syn keyword apacheDeclaration AuthUserFile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
79 syn keyword apacheDeclaration AuthLDAPBindON AuthLDAPEnabled AuthLDAPFrontPageHack AuthLDAPStartTLS
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
80 syn keyword apacheDeclaration AuthLDAPBindDN AuthLDAPBindPassword AuthLDAPCharsetConfig AuthLDAPCompareDNOnServer AuthLDAPDereferenceAliases AuthLDAPGroupAttribute AuthLDAPGroupAttributeIsDN AuthLDAPRemoteUserIsDN AuthLDAPUrl AuthzLDAPAuthoritative
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
81 syn keyword apacheOption always never searching finding
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
82 syn keyword apacheOption ldap-user ldap-group ldap-dn ldap-attribute ldap-filter
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
83 syn keyword apacheDeclaration AuthDBMGroupFile AuthzDBMAuthoritative AuthzDBMType
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
84 syn keyword apacheDeclaration AuthzDefaultAuthoritative
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
85 syn keyword apacheDeclaration AuthGroupFile AuthzGroupFileAuthoritative
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
86 syn match apacheAllowDeny "Allow\s\+from.*$" contains=apacheAllowDenyValue,apacheComment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
87 syn match apacheAllowDeny "Deny\s\+from.*$" contains=apacheAllowDenyValue,apacheComment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
88 syn keyword apacheAllowDenyValue All None contained
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
89 syn match apacheOrder "^\s*Order\s.*$" contains=apacheOrderValue,apacheComment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
90 syn keyword apacheOrderValue Deny Allow contained
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
91 syn keyword apacheDeclaration AuthzOwnerAuthoritative
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
92 syn keyword apacheDeclaration AuthzUserAuthoritative
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
93 syn keyword apacheDeclaration AddAlt AddAltByEncoding AddAltByType AddDescription AddIcon AddIconByEncoding AddIconByType DefaultIcon HeaderName IndexIgnore IndexOptions IndexOrderDefault ReadmeName
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
94 syn keyword apacheDeclaration IndexStyleSheet
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
95 syn keyword apacheOption DescriptionWidth FancyIndexing FoldersFirst IconHeight IconsAreLinks IconWidth NameWidth ScanHTMLTitles SuppressColumnSorting SuppressDescription SuppressHTMLPreamble SuppressLastModified SuppressSize TrackModified
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
96 syn keyword apacheOption Ascending Descending Name Date Size Description
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
97 syn keyword apacheOption HTMLTable SuppressIcon SuppressRules VersionSort XHTML
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
98 syn keyword apacheOption IgnoreClient IgnoreCase ShowForbidden SuppresRules
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
99 syn keyword apacheDeclaration CacheForceCompletion CacheMaxStreamingBuffer
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
100 syn keyword apacheDeclaration CacheDefaultExpire CacheDisable CacheEnable CacheIgnoreCacheControl CacheIgnoreHeaders CacheIgnoreNoLastMod CacheLastModifiedFactor CacheMaxExpire CacheStoreNoStore CacheStorePrivate
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
101 syn keyword apacheDeclaration MetaFiles MetaDir MetaSuffix
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
102 syn keyword apacheDeclaration ScriptLog ScriptLogLength ScriptLogBuffer
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
103 syn keyword apacheDeclaration ScriptStock
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
104 syn keyword apacheDeclaration CharsetDefault CharsetOptions CharsetSourceEnc
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
105 syn keyword apacheOption DebugLevel ImplicitAdd NoImplicitAdd
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
106 syn keyword apacheDeclaration Dav DavDepthInfinity DavMinTimeout
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
107 syn keyword apacheDeclaration DavLockDB
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
108 syn keyword apacheDeclaration DavGenericLockDB
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
109 syn keyword apacheDeclaration DBDExptime DBDKeep DBDMax DBDMin DBDParams DBDPersist DBDPrepareSQL DBDriver
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
110 syn keyword apacheDeclaration DeflateCompressionLevel DeflateBufferSize DeflateFilterNote DeflateMemLevel DeflateWindowSize
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
111 syn keyword apacheDeclaration DirectoryIndex DirectorySlash
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
112 syn keyword apacheDeclaration CacheExpiryCheck CacheGcClean CacheGcDaily CacheGcInterval CacheGcMemUsage CacheGcUnused CacheSize CacheTimeMargin
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
113 syn keyword apacheDeclaration CacheDirLength CacheDirLevels CacheMaxFileSize CacheMinFileSize CacheRoot
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
114 syn keyword apacheDeclaration DumpIOInput DumpIOOutput
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
115 syn keyword apacheDeclaration ProtocolEcho
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
116 syn keyword apacheDeclaration PassEnv SetEnv UnsetEnv
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
117 syn keyword apacheDeclaration Example
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
118 syn keyword apacheDeclaration ExpiresActive ExpiresByType ExpiresDefault
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
119 syn keyword apacheDeclaration ExtFilterDefine ExtFilterOptions
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
120 syn keyword apacheOption PreservesContentLength DebugLevel LogStderr NoLogStderr
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
121 syn match apacheOption "\<\(cmd\|mode\|intype\|outtype\|ftype\|disableenv\|enableenv\)\ze="
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
122 syn keyword apacheDeclaration CacheFile MMapFile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
123 syn keyword apacheDeclaration FilterChain FilterDeclare FilterProtocol FilterProvider FilterTrace
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
124 syn keyword apacheDeclaration Header
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
125 syn keyword apacheDeclaration RequestHeader
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
126 syn keyword apacheOption set unset append add
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
127 syn keyword apacheDeclaration IdentityCheck IdentityCheckTimeout
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
128 syn keyword apacheDeclaration ImapMenu ImapDefault ImapBase
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
129 syn keyword apacheOption none formatted semiformatted unformatted
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
130 syn keyword apacheOption nocontent referer error map
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
131 syn keyword apacheDeclaration SSIEndTag SSIErrorMsg SSIStartTag SSITimeFormat SSIUndefinedEcho XBitHack
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
132 syn keyword apacheOption on off full
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
133 syn keyword apacheDeclaration AddModuleInfo
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
134 syn keyword apacheDeclaration ISAPIReadAheadBuffer ISAPILogNotSupported ISAPIAppendLogToErrors ISAPIAppendLogToQuery
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
135 syn keyword apacheDeclaration ISAPICacheFile ISAIPFakeAsync
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
136 syn keyword apacheDeclaration LDAPCertDBPath
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
137 syn keyword apacheDeclaration LDAPCacheEntries LDAPCacheTTL LDAPConnectionTimeout LDAPOpCacheEntries LDAPOpCacheTTL LDAPSharedCacheFile LDAPSharedCacheSize LDAPTrustedClientCert LDAPTrustedGlobalCert LDAPTrustedMode LDAPVerifyServerCert
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
138 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
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
139 syn keyword apacheDeclaration BufferedLogs CookieLog CustomLog LogFormat TransferLog
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
140 syn keyword apacheDeclaration ForensicLog
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
141 syn keyword apacheDeclaration MCacheMaxObjectCount MCacheMaxObjectSize MCacheMaxStreamingBuffer MCacheMinObjectSize MCacheRemovalAlgorithm MCacheSize
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
142 syn keyword apacheDeclaration AddCharset AddEncoding AddHandler AddLanguage AddType DefaultLanguage RemoveEncoding RemoveHandler RemoveType TypesConfig
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
143 syn keyword apacheDeclaration AddInputFilter AddOutputFilter ModMimeUsePathInfo MultiviewsMatch RemoveInputFilter RemoveOutputFilter RemoveCharset
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
144 syn keyword apacheOption NegotiatedOnly Filters Handlers
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
145 syn keyword apacheDeclaration MimeMagicFile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
146 syn keyword apacheDeclaration MMapFile
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
147 syn keyword apacheDeclaration CacheNegotiatedDocs LanguagePriority ForceLanguagePriority
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
148 syn keyword apacheDeclaration NWSSLTrustedCerts NWSSLUpgradeable SecureListen
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
149 syn keyword apacheDeclaration PerlModule PerlRequire PerlTaintCheck PerlWarn
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
150 syn keyword apacheDeclaration PerlSetVar PerlSetEnv PerlPassEnv PerlSetupEnv
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
151 syn keyword apacheDeclaration PerlInitHandler PerlPostReadRequestHandler PerlHeaderParserHandler
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
152 syn keyword apacheDeclaration PerlTransHandler PerlAccessHandler PerlAuthenHandler PerlAuthzHandler
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
153 syn keyword apacheDeclaration PerlTypeHandler PerlFixupHandler PerlHandler PerlLogHandler
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
154 syn keyword apacheDeclaration PerlCleanupHandler PerlChildInitHandler PerlChildExitHandler
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
155 syn keyword apacheDeclaration PerlRestartHandler PerlDispatchHandler
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
156 syn keyword apacheDeclaration PerlFreshRestart PerlSendHeader
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
157 syn keyword apacheDeclaration php_value php_flag php_admin_value php_admin_flag
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
158 syn match apacheSection "<\/\=\(Proxy\|ProxyMatch\)[^>]*>" contains=apacheAnything
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
159 syn keyword apacheDeclaration AllowCONNECT NoProxy ProxyBadHeader ProxyBlock ProxyDomain ProxyErrorOverride ProxyIOBufferSize ProxyMaxForwards ProxyPass ProxyPassReverse ProxyPassReverseCookieDomain ProxyPassReverseCookiePath ProxyPreserveHost ProxyReceiveBufferSize ProxyRemote ProxyRemoteMatch ProxyRequests ProxyTimeout ProxyVia
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
160 syn keyword apacheDeclaration RewriteBase RewriteCond RewriteEngine RewriteLock RewriteLog RewriteLogLevel RewriteMap RewriteOptions RewriteRule
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
161 syn keyword apacheOption inherit
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
162 syn keyword apacheDeclaration BrowserMatch BrowserMatchNoCase SetEnvIf SetEnvIfNoCase
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
163 syn keyword apacheDeclaration LoadFile LoadModule
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
164 syn keyword apacheDeclaration CheckSpelling CheckCaseOnly
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
165 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
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
166 syn match apacheOption "[+-]\?\<\(StdEnvVars\|CompatEnvVars\|ExportCertData\|FakeBasicAuth\|StrictRequire\|OptRenegotiate\)\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
167 syn keyword apacheOption builtin sem
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
168 syn match apacheOption "\(file\|exec\|egd\|dbm\|shm\):"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
169 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\)\>"
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
170 syn keyword apacheOption optional optional_no_ca
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
171 syn keyword apacheDeclaration ExtendedStatus
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
172 syn keyword apacheDeclaration SuexecUserGroup
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
173 syn keyword apacheDeclaration UserDir
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
174 syn keyword apacheDeclaration CookieDomain CookieExpires CookieName CookieStyle CookieTracking
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
175 syn keyword apacheOption Netscape Cookie Cookie2 RFC2109 RFC2965
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
176 syn match apacheSection "<\/\=\(<IfVersion\)[^>]*>" contains=apacheAnything
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
177 syn keyword apacheDeclaration VirtualDocumentRoot VirtualDocumentRootIP VirtualScriptAlias VirtualScriptAliasIP
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
178
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
179 " Define the default highlighting
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
180 if version >= 508 || !exists("did_apache_syntax_inits")
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
181 if version < 508
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
182 let did_apache_syntax_inits = 1
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
183 command -nargs=+ HiLink hi link <args>
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
184 else
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
185 command -nargs=+ HiLink hi def link <args>
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
186 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
187
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
188 HiLink apacheAllowOverride apacheDeclaration
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
189 HiLink apacheAllowOverrideValue apacheOption
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
190 HiLink apacheAuthType apacheDeclaration
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
191 HiLink apacheAuthTypeValue apacheOption
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
192 HiLink apacheOptionOption apacheOption
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
193 HiLink apacheDeclaration Function
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
194 HiLink apacheAnything apacheOption
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
195 HiLink apacheOption Number
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
196 HiLink apacheComment Comment
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
197 HiLink apacheFixme Todo
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
198 HiLink apacheLimitSectionKeyword apacheLimitSection
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
199 HiLink apacheLimitSection apacheSection
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
200 HiLink apacheSection Label
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
201 HiLink apacheMethodOption Type
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
202 HiLink apacheAllowDeny Include
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
203 HiLink apacheAllowDenyValue Identifier
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
204 HiLink apacheOrder Special
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
205 HiLink apacheOrderValue String
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
206 HiLink apacheString String
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
207 HiLink apacheError Error
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
208 HiLink apacheUserID Number
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
209
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
210 delcommand HiLink
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
211 endif
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
212
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
213 let b:current_syntax = "apache"