source: documentation/trunk/packages/dokuwiki-2011-05-25a/inc/geshi/apache.php@ 25027

Last change on this file since 25027 was 25027, checked in by jmt12, 12 years ago

Adding the packages directory, and within it a configured version of dokuwiki all ready to run

File size: 16.5 KB
RevLine 
[25027]1<?php
2/*************************************************************************************
3 * apache.php
4 * ----------
5 * Author: Tux ([email protected])
6 * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7 * Release Version: 1.0.8.8
8 * Date Started: 2004/29/07
9 *
10 * Apache language file for GeSHi.
11 * Words are from SciTe configuration file
12 *
13 * CHANGES
14 * -------
15 * 2008/17/06 (1.0.8)
16 * - Added support for apache configuration sections (milian)
17 * - Added missing php keywords (milian)
18 * - Added some more keywords
19 * - Disabled highlighting of brackets by default
20 * 2004/11/27 (1.0.2)
21 * - Added support for multiple object splitters
22 * 2004/10/27 (1.0.1)
23 * - Added support for URLs
24 * 2004/08/05 (1.0.0)
25 * - First Release
26 *
27 * TODO (updated 2004/07/29)
28 * -------------------------
29 *
30 *************************************************************************************
31 *
32 * This file is part of GeSHi.
33 *
34 * GeSHi is free software; you can redistribute it and/or modify
35 * it under the terms of the GNU General Public License as published by
36 * the Free Software Foundation; either version 2 of the License, or
37 * (at your option) any later version.
38 *
39 * GeSHi is distributed in the hope that it will be useful,
40 * but WITHOUT ANY WARRANTY; without even the implied warranty of
41 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42 * GNU General Public License for more details.
43 *
44 * You should have received a copy of the GNU General Public License
45 * along with GeSHi; if not, write to the Free Software
46 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
47 *
48 ************************************************************************************/
49
50$language_data = array (
51 'LANG_NAME' => 'Apache configuration',
52 'COMMENT_SINGLE' => array(1 => '#'),
53 'COMMENT_MULTI' => array(),
54 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
55 'QUOTEMARKS' => array("'", '"'),
56 'ESCAPE_CHAR' => '\\',
57 'KEYWORDS' => array(
58 /*keywords*/
59 1 => array(
60 //core.c
61 'AcceptFilter','AcceptPathInfo','AccessConfig','AccessFileName',
62 'AddDefaultCharset','AddOutputFilterByType','AllowEncodedSlashes',
63 'AllowOverride','AuthName','AuthType','ContentDigest',
64 'CoreDumpDirectory','DefaultType','DocumentRoot','EnableMMAP',
65 'EnableSendfile','ErrorDocument','ErrorLog','FileETag','ForceType',
66 'HostnameLookups','Include','LimitInternalRecursion',
67 'LimitRequestBody','LimitRequestFields','LimitRequestFieldsize',
68 'LimitRequestLine','LimitXMLRequestBody','LogLevel','MaxMemFree',
69 'MaxRequestsPerChild','NameVirtualHost','Options','PidFile','Port',
70 'Protocol','Require','RLimitCPU','RLimitMEM','RLimitNPROC',
71 'Satisfy','ScoreBoardFile','ServerAdmin','ServerAlias','ServerName',
72 'ServerPath','ServerRoot','ServerSignature','ServerTokens',
73 'SetHandler','SetInputFilter','SetOutputFilter','ThreadStackSize',
74 'Timeout','TraceEnable','UseCanonicalName',
75 'UseCanonicalPhysicalPort',
76
77 //http_core.c
78 'KeepAlive','KeepAliveTimeout','MaxKeepAliveRequests',
79
80 //mod_actions.c
81 'Action','Script',
82
83 //mod_alias.c
84 'Alias','AliasMatch','Redirect','RedirectMatch','RedirectPermanent',
85 'RedirectTemp','ScriptAlias','ScriptAliasMatch',
86
87 //mod_asis.c
88
89 //mod_auth_basic.c
90 'AuthBasicAuthoritative','AuthBasicProvider',
91
92 //mod_auth_digest.c
93 'AuthDigestAlgorithm','AuthDigestDomain','AuthDigestNcCheck',
94 'AuthDigestNonceFormat','AuthDigestNonceLifetime',
95 'AuthDigestProvider','AuthDigestQop','AuthDigestShmemSize',
96
97 //mod_authn_alias.c
98
99 //mod_authn_anon.c
100 'Anonymous','Anonymous_LogEmail','Anonymous_MustGiveEmail',
101 'Anonymous_NoUserId','Anonymous_VerifyEmail',
102
103 //mod_authn_dbd.c
104 'AuthDBDUserPWQuery','AuthDBDUserRealmQuery',
105
106 //mod_authn_dbm.c
107 'AuthDBMType','AuthDBMUserFile',
108
109 //mod_authn_default.c
110 'AuthDefaultAuthoritative',
111
112 //mod_authn_file.c
113 'AuthUserFile',
114
115 //mod_authnz_ldap.c
116 'AuthLDAPBindDN','AuthLDAPBindPassword','AuthLDAPCharsetConfig',
117 'AuthLDAPCompareDNOnServer','AuthLDAPDereferenceAliases',
118 'AuthLDAPGroupAttribute','AuthLDAPGroupAttributeIsDN',
119 'AuthLDAPRemoteUserAttribute','AuthLDAPRemoteUserIsDN',
120 'AuthLDAPURL','AuthzLDAPAuthoritative',
121
122 //mod_authz_dbm.c
123 'AuthDBMGroupFile','AuthzDBMAuthoritative','AuthzDBMType',
124
125 //mod_authz_default.c
126 'AuthzDefaultAuthoritative',
127
128 //mod_authz_groupfile.c
129 'AuthGroupFile','AuthzGroupFileAuthoritative',
130
131 //mod_authz_host.c
132 'Allow','Deny','Order',
133
134 //mod_authz_owner.c
135 'AuthzOwnerAuthoritative',
136
137 //mod_authz_svn.c
138 'AuthzForceUsernameCase','AuthzSVNAccessFile','AuthzSVNAnonymous',
139 'AuthzSVNAuthoritative','AuthzSVNNoAuthWhenAnonymousAllowed',
140
141 //mod_authz_user.c
142 'AuthzUserAuthoritative',
143
144 //mod_autoindex.c
145 'AddAlt','AddAltByEncoding','AddAltByType','AddDescription',
146 'AddIcon','AddIconByEncoding','AddIconByType','DefaultIcon',
147 'FancyIndexing','HeaderName','IndexHeadInsert','IndexIgnore',
148 'IndexOptions','IndexOrderDefault','IndexStyleSheet','ReadmeName',
149
150 //mod_bt.c
151 'Tracker','TrackerDetailURL','TrackerFlags','TrackerHashMaxAge',
152 'TrackerHashMinAge','TrackerHashWatermark','TrackerHome',
153 'TrackerReturnInterval','TrackerReturnMax',
154 'TrackerReturnPeerFactor','TrackerReturnPeers','TrackerRootInclude',
155 'TrackerStyleSheet',
156
157 //mod_bw.c
158 'BandWidth','BandWidthError','BandWidthModule','BandWidthPacket',
159 'ForceBandWidthModule','LargeFileLimit','MaxConnection',
160 'MinBandWidth',
161
162 //mod_cache.c
163 'CacheDefaultExpire','CacheDisable','CacheEnable',
164 'CacheIgnoreCacheControl','CacheIgnoreHeaders',
165 'CacheIgnoreNoLastMod','CacheIgnoreQueryString',
166 'CacheLastModifiedFactor','CacheMaxExpire','CacheStoreNoStore',
167 'CacheStorePrivate',
168
169 //mod_cern_meta.c
170 'MetaDir','MetaFiles','MetaSuffix',
171
172 //mod_cgi.c
173 'ScriptLog','ScriptLogBuffer','ScriptLogLength',
174
175 //mod_charset_lite.c
176 'CharsetDefault','CharsetOptions','CharsetSourceEnc',
177
178 //mod_dav.c
179 'DAV','DAVDepthInfinity','DAVMinTimeout',
180
181 //mod_dav_fs.c
182 'DAVLockDB',
183
184 //mod_dav_lock.c
185 'DAVGenericLockDB',
186
187 //mod_dav_svn.c
188 'SVNActivitiesDB','SVNAllowBulkUpdates','SVNAutoversioning',
189 'SVNIndexXSLT','SVNListParentPath','SVNMasterURI','SVNParentPath',
190 'SVNPath','SVNPathAuthz','SVNReposName','SVNSpecialURI',
191
192 //mod_dbd.c
193 'DBDExptime','DBDKeep','DBDMax','DBDMin','DBDParams','DBDPersist',
194 'DBDPrepareSQL','DBDriver',
195
196 //mod_deflate.c
197 'DeflateBufferSize','DeflateCompressionLevel','DeflateFilterNote',
198 'DeflateMemLevel','DeflateWindowSize',
199
200 //mod_dir.c
201 'DirectoryIndex','DirectorySlash',
202
203 //mod_disk_cache.c
204 'CacheDirLength','CacheDirLevels','CacheMaxFileSize',
205 'CacheMinFileSize','CacheRoot',
206
207 //mod_dumpio.c
208 'DumpIOInput','DumpIOLogLevel','DumpIOOutput',
209
210 //mod_env.c
211 'PassEnv','SetEnv','UnsetEnv',
212
213 //mod_expires.c
214 'ExpiresActive','ExpiresByType','ExpiresDefault',
215
216 //mod_ext_filter.c
217 'ExtFilterDefine','ExtFilterOptions',
218
219 //mod_file_cache.c
220 'cachefile','mmapfile',
221
222 //mod_filter.c
223 'FilterChain','FilterDeclare','FilterProtocol','FilterProvider',
224 'FilterTrace',
225
226 //mod_gnutls.c
227 'GnuTLSCache','GnuTLSCacheTimeout','GnuTLSCertificateFile',
228 'GnuTLSKeyFile','GnuTLSPGPCertificateFile','GnuTLSPGPKeyFile',
229 'GnuTLSClientVerify','GnuTLSClientCAFile','GnuTLSPGPKeyringFile',
230 'GnuTLSEnable','GnuTLSDHFile','GnuTLSRSAFile','GnuTLSSRPPasswdFile',
231 'GnuTLSSRPPasswdConfFile','GnuTLSPriorities',
232 'GnuTLSExportCertificates',
233
234 //mod_headers.c
235 'Header','RequestHeader',
236
237 //mod_imagemap.c
238 'ImapBase','ImapDefault','ImapMenu',
239
240 //mod_include.c
241 'SSIAccessEnable','SSIEndTag','SSIErrorMsg','SSIStartTag',
242 'SSITimeFormat','SSIUndefinedEcho','XBitHack',
243
244 //mod_ident.c
245 'IdentityCheck','IdentityCheckTimeout',
246
247 //mod_info.c
248 'AddModuleInfo',
249
250 //mod_isapi.c
251 'ISAPIAppendLogToErrors','ISAPIAppendLogToQuery','ISAPICacheFile',
252 'ISAPIFakeAsync','ISAPILogNotSupported','ISAPIReadAheadBuffer',
253
254 //mod_log_config.c
255 'BufferedLogs','CookieLog','CustomLog','LogFormat','TransferLog',
256
257 //mod_log_forensic.c
258 'ForensicLog',
259
260 //mod_log_rotate.c
261 'RotateInterval','RotateLogs','RotateLogsLocalTime',
262
263 //mod_logio.c
264
265 //mod_mem_cache.c
266 'MCacheMaxObjectCount','MCacheMaxObjectSize',
267 'MCacheMaxStreamingBuffer','MCacheMinObjectSize',
268 'MCacheRemovalAlgorithm','MCacheSize',
269
270 //mod_mime.c
271 'AddCharset','AddEncoding','AddHandler','AddInputFilter',
272 'AddLanguage','AddOutputFilter','AddType','DefaultLanguage',
273 'ModMimeUsePathInfo','MultiviewsMatch','RemoveCharset',
274 'RemoveEncoding','RemoveHandler','RemoveInputFilter',
275 'RemoveLanguage','RemoveOutputFilter','RemoveType','TypesConfig',
276
277 //mod_mime_magic.c
278 'MimeMagicFile',
279
280 //mod_negotiation.c
281 'CacheNegotiatedDocs','ForceLanguagePriority','LanguagePriority',
282
283 //mod_php5.c
284 'php_admin_flag','php_admin_value','php_flag','php_value',
285 'PHPINIDir',
286
287 //mod_proxy.c
288 'AllowCONNECT','BalancerMember','NoProxy','ProxyBadHeader',
289 'ProxyBlock','ProxyDomain','ProxyErrorOverride',
290 'ProxyFtpDirCharset','ProxyIOBufferSize','ProxyMaxForwards',
291 'ProxyPass','ProxyPassInterpolateEnv','ProxyPassMatch',
292 'ProxyPassReverse','ProxyPassReverseCookieDomain',
293 'ProxyPassReverseCookiePath','ProxyPreserveHost',
294 'ProxyReceiveBufferSize','ProxyRemote','ProxyRemoteMatch',
295 'ProxyRequests','ProxySet','ProxyStatus','ProxyTimeout','ProxyVia',
296
297 //mod_proxy_ajp.c
298
299 //mod_proxy_balancer.c
300
301 //mod_proxy_connect.c
302
303 //mod_proxy_ftp.c
304
305 //mod_proxy_http.c
306
307 //mod_rewrite.c
308 'RewriteBase','RewriteCond','RewriteEngine','RewriteLock',
309 'RewriteLog','RewriteLogLevel','RewriteMap','RewriteOptions',
310 'RewriteRule',
311
312 //mod_setenvif.c
313 'BrowserMatch','BrowserMatchNoCase','SetEnvIf','SetEnvIfNoCase',
314
315 //mod_so.c
316 'LoadFile','LoadModule',
317
318 //mod_speling.c
319 'CheckCaseOnly','CheckSpelling',
320
321 //mod_ssl.c
322 'SSLCACertificateFile','SSLCACertificatePath','SSLCADNRequestFile',
323 'SSLCADNRequestPath','SSLCARevocationFile','SSLCARevocationPath',
324 'SSLCertificateChainFile','SSLCertificateFile',
325 'SSLCertificateKeyFile','SSLCipherSuite','SSLCryptoDevice',
326 'SSLEngine','SSLHonorCipherOrder','SSLMutex','SSLOptions',
327 'SSLPassPhraseDialog','SSLProtocol','SSLProxyCACertificateFile',
328 'SSLProxyCACertificatePath','SSLProxyCARevocationFile',
329 'SSLProxyCARevocationPath','SSLProxyCipherSuite','SSLProxyEngine',
330 'SSLProxyMachineCertificateFile','SSLProxyMachineCertificatePath',
331 'SSLProxyProtocol','SSLProxyVerify','SSLProxyVerifyDepth',
332 'SSLRandomSeed','SSLRenegBufferSize','SSLRequire','SSLRequireSSL',
333 'SSLSessionCache','SSLSessionCacheTimeout','SSLUserName',
334 'SSLVerifyClient','SSLVerifyDepth',
335
336 //mod_status.c
337 'ExtendedStatus','SeeRequestTail',
338
339 //mod_substitute.c
340 'Substitute',
341
342 //mod_suexec.c
343 'SuexecUserGroup',
344
345 //mod_unique_id.c
346
347 //mod_userdir.c
348 'UserDir',
349
350 //mod_usertrack.c
351 'CookieDomain','CookieExpires','CookieName','CookieStyle',
352 'CookieTracking',
353
354 //mod_version.c
355
356 //mod_vhost_alias.c
357 'VirtualDocumentRoot','VirtualDocumentRootIP',
358 'VirtualScriptAlias','VirtualScriptAliasIP',
359
360 //mod_view.c
361 'ViewEnable',
362
363 //mod_win32.c
364 'ScriptInterpreterSource',
365
366 //mpm_winnt.c
367 'Listen','ListenBacklog','ReceiveBufferSize','SendBufferSize',
368 'ThreadLimit','ThreadsPerChild','Win32DisableAcceptEx',
369
370 //mpm_common.c
371 'AcceptMutex','AddModule','ClearModuleList','EnableExceptionHook',
372 'Group','LockFile','MaxClients','MaxSpareServers','MaxSpareThreads',
373 'MinSpareServers','MinSpareThreads','ServerLimit','StartServers',
374 'StartThreads','User',
375
376 //util_ldap.c
377 'LDAPCacheEntries','LDAPCacheTTL','LDAPConnectionTimeout',
378 'LDAPOpCacheEntries','LDAPOpCacheTTL','LDAPSharedCacheFile',
379 'LDAPSharedCacheSize','LDAPTrustedClientCert',
380 'LDAPTrustedGlobalCert','LDAPTrustedMode','LDAPVerifyServerCert',
381
382 //Unknown Mods ...
383 'AgentLog','BindAddress','bs2000account','CacheForceCompletion',
384 'CacheGCInterval','CacheSize','NoCache','qsc','RefererIgnore',
385 'RefererLog','Resourceconfig','ServerType','SingleListen'
386 ),
387 /*keywords 2*/
388 2 => array(
389 'all','on','off','standalone','inetd','indexes',
390 'force-response-1.0','downgrade-1.0','nokeepalive',
391 'includes','followsymlinks','none',
392 'x-compress','x-gzip'
393 ),
394 /*keywords 3*/
395 3 => array(
396 //core.c
397 'Directory','DirectoryMatch','Files','FilesMatch','IfDefine',
398 'IfModule','Limit','LimitExcept','Location','LocationMatch',
399 'VirtualHost',
400
401 //mod_authn_alias.c
402 'AuthnProviderAlias',
403
404 //mod_proxy.c
405 'Proxy','ProxyMatch',
406
407 //mod_version.c
408 'IfVersion'
409 )
410 ),
411 'SYMBOLS' => array(
412 '+', '-'
413 ),
414 'CASE_SENSITIVE' => array(
415 GESHI_COMMENTS => false,
416 1 => false,
417 2 => false,
418 3 => false,
419 ),
420 'STYLES' => array(
421 'KEYWORDS' => array(
422 1 => 'color: #00007f;',
423 2 => 'color: #0000ff;',
424 3 => 'color: #000000; font-weight:bold;',
425 ),
426 'COMMENTS' => array(
427 1 => 'color: #adadad; font-style: italic;',
428 ),
429 'ESCAPE_CHAR' => array(
430 0 => 'color: #000099; font-weight: bold;'
431 ),
432 'BRACKETS' => array(
433 0 => 'color: #339933;'
434 ),
435 'STRINGS' => array(
436 0 => 'color: #7f007f;'
437 ),
438 'NUMBERS' => array(
439 0 => 'color: #ff0000;'
440 ),
441 'METHODS' => array(
442 ),
443 'SYMBOLS' => array(
444 0 => 'color: #008000;'
445 ),
446 'REGEXPS' => array(
447 ),
448 'SCRIPT' => array(
449 )
450 ),
451 'URLS' => array(
452 1 => '',
453 2 => '',
454 3 => ''
455 ),
456 'OOLANG' => false,
457 'OBJECT_SPLITTERS' => array(
458 ),
459 'REGEXPS' => array(
460 ),
461 'STRICT_MODE_APPLIES' => GESHI_NEVER,
462 'SCRIPT_DELIMITERS' => array(
463 ),
464 'HIGHLIGHT_STRICT_BLOCK' => array(
465 ),
466 'PARSER_CONTROL' => array(
467 'ENABLE_FLAGS' => array(
468 'BRACKETS' => GESHI_NEVER,
469 'SYMBOLS' => GESHI_NEVER
470 ),
471 'KEYWORDS' => array(
472 3 => array(
473 'DISALLOWED_BEFORE' => '(?<=&lt;|&lt;\/)',
474 'DISALLOWED_AFTER' => '(?=\s|\/|&gt;)',
475 )
476 )
477 )
478);
479
480?>
Note: See TracBrowser for help on using the repository browser.