ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
apache.php
Go to the documentation of this file.
1 <?php
2 /*************************************************************************************
3  * apache.php
4  * ----------
5  * Author: Tux (tux@inmail.cz)
6  * Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
7  * Release Version: 1.0.9.0
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_upload_progress
348  'ReportUploads', 'TrackUploads', 'UploadProgressSharedMemorySize',
349 
350  //mod_userdir.c
351  'UserDir',
352 
353  //mod_usertrack.c
354  'CookieDomain','CookieExpires','CookieName','CookieStyle',
355  'CookieTracking',
356 
357  //mod_version.c
358 
359  //mod_vhost_alias.c
360  'VirtualDocumentRoot','VirtualDocumentRootIP',
361  'VirtualScriptAlias','VirtualScriptAliasIP',
362 
363  //mod_view.c
364  'ViewEnable',
365 
366  //mod_win32.c
367  'ScriptInterpreterSource',
368 
369  //mpm_winnt.c
370  'Listen','ListenBacklog','ReceiveBufferSize','SendBufferSize',
371  'ThreadLimit','ThreadsPerChild','Win32DisableAcceptEx',
372 
373  //mpm_common.c
374  'AcceptMutex','AddModule','ClearModuleList','EnableExceptionHook',
375  'Group','LockFile','MaxClients','MaxSpareServers','MaxSpareThreads',
376  'MinSpareServers','MinSpareThreads','ServerLimit','StartServers',
377  'StartThreads','User',
378 
379  //util_ldap.c
380  'LDAPCacheEntries','LDAPCacheTTL','LDAPConnectionTimeout',
381  'LDAPOpCacheEntries','LDAPOpCacheTTL','LDAPSharedCacheFile',
382  'LDAPSharedCacheSize','LDAPTrustedClientCert',
383  'LDAPTrustedGlobalCert','LDAPTrustedMode','LDAPVerifyServerCert',
384 
385  //Unknown Mods ...
386  'AgentLog','BindAddress','bs2000account','CacheForceCompletion',
387  'CacheGCInterval','CacheSize','NoCache','qsc','RefererIgnore',
388  'RefererLog','Resourceconfig','ServerType','SingleListen'
389  ),
390  /*keywords 2*/
391  2 => array(
392  'all','on','off','standalone','inetd','indexes',
393  'force-response-1.0','downgrade-1.0','nokeepalive',
394  'includes','followsymlinks','none',
395  'x-compress','x-gzip'
396  ),
397  /*keywords 3*/
398  3 => array(
399  //core.c
400  'Directory','DirectoryMatch','Files','FilesMatch','IfDefine',
401  'IfModule','Limit','LimitExcept','Location','LocationMatch',
402  'VirtualHost',
403 
404  //mod_authn_alias.c
405  'AuthnProviderAlias',
406 
407  //mod_proxy.c
408  'Proxy','ProxyMatch',
409 
410  //mod_version.c
411  'IfVersion'
412  )
413  ),
414  'SYMBOLS' => array(
415  '+', '-'
416  ),
417  'CASE_SENSITIVE' => array(
418  GESHI_COMMENTS => false,
419  1 => false,
420  2 => false,
421  3 => false,
422  ),
423  'STYLES' => array(
424  'KEYWORDS' => array(
425  1 => 'color: #00007f;',
426  2 => 'color: #0000ff;',
427  3 => 'color: #000000; font-weight:bold;',
428  ),
429  'COMMENTS' => array(
430  1 => 'color: #adadad; font-style: italic;',
431  ),
432  'ESCAPE_CHAR' => array(
433  0 => 'color: #000099; font-weight: bold;'
434  ),
435  'BRACKETS' => array(
436  0 => 'color: #339933;'
437  ),
438  'STRINGS' => array(
439  0 => 'color: #7f007f;'
440  ),
441  'NUMBERS' => array(
442  0 => 'color: #ff0000;'
443  ),
444  'METHODS' => array(
445  ),
446  'SYMBOLS' => array(
447  0 => 'color: #008000;'
448  ),
449  'REGEXPS' => array(
450  ),
451  'SCRIPT' => array(
452  )
453  ),
454  'URLS' => array(
455  1 => '',
456  2 => '',
457  3 => ''
458  ),
459  'OOLANG' => false,
460  'OBJECT_SPLITTERS' => array(
461  ),
462  'REGEXPS' => array(
463  ),
464  'STRICT_MODE_APPLIES' => GESHI_NEVER,
465  'SCRIPT_DELIMITERS' => array(
466  ),
467  'HIGHLIGHT_STRICT_BLOCK' => array(
468  ),
469  'PARSER_CONTROL' => array(
470  'ENABLE_FLAGS' => array(
471  'BRACKETS' => GESHI_NEVER,
472  'SYMBOLS' => GESHI_NEVER
473  ),
474  'KEYWORDS' => array(
475  3 => array(
476  'DISALLOWED_BEFORE' => '(?<=&lt;|&lt;\/)',
477  'DISALLOWED_AFTER' => '(?=\s|\/|&gt;)',
478  )
479  )
480  )
481 );
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:149
$language_data
Definition: apache.php:50
const GESHI_NEVER
#+ private
Definition: geshi.php:123
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
Definition: geshi.php:94