/usr/share/highlight/langDefs/httpd.lang is in highlight-common 3.41-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | Description="Apache Config"
Identifiers=[[ [a-zA-Z_][\w\-]* ]]
Keywords={
{ Id=1,
List={"AccessConfig", "AccessFileName", "Action", "AddAlt",
"AddAltByEncoding", "AddAltByType", "AddCharset", "AddDefaultCharset",
"AddDescription", "AddEncoding", "AddHandler", "AddIcon", "AddIconByEncoding",
"AddIconByType", "AddLanguage", "AddModule", "AddModuleInfo", "AddType",
"AgentLog", "Alias", "AliasMatch", "Allow", "AllowCONNECT", "AllowOverride",
"Anonymous", "Anonymous_Authoritative", "Anonymous_LogEmail",
"Anonymous_MustGiveEmail", "Anonymous_NoUserID", "Anonymous_VerifyEmail",
"AuthAuthoritative", "AuthDBAuthoritative", "AuthDBGroupFile",
"AuthDBMAuthoritative", "AuthDBMGroupFile", "AuthDBMGroupFile",
"AuthDBMUserFile", "AuthDBUserFile", "AuthDigestFile", "AuthGroupFile",
"AuthName", "AuthType", "AuthUserFile", "BindAddress", "BrowserMatch",
"BrowserMatchNoCase", "BS2000Account", "CacheDefaultExpire", "CacheDirLength",
"CacheDirLevels", "CacheForceCompletion", "CacheGcInterval",
"CacheLastModifiedFactor", "CacheMaxExpire", "CacheNegotiatedDocs", "CacheRoot",
"CacheSize", "CheckSpelling", "ClearModuleList", "ContentDigest",
"CookieExpires", "CookieLogCookieLog", "CookieTracking", "CoreDumpDirectory",
"CustomLog", "DefaultIcon", "DefaultLanguage", "DefaultType", "Deny",
"DirectoryIndex", "DocumentRoot", "ErrorDocument", "ErrorLog", "Example",
"ExpiresActive", "ExpiresByType", "ExpiresDefault", "ExtendedStatus",
"FancyIndexing", "ForceType", "Group", "Header", "HeaderName",
"HostNameLookups", "IdentityCheck", "ImapBase", "ImapDefault", "ImapMenu",
"Include", "IndexIgnore", "IndexOptions", "IndexOrderDefault",
"ISAPIAppendLogToErrors", "ISAPIAppendLogToQuery", "ISAPILogNotSupported",
"ISAPIReadAheadBuffer", "KeepAlive", "KeepAliveTimeout", "LanguagePriority",
"LimitRequestBody", "LimitRequestFields", "LimitRequestFieldsize",
"LimitRequestLine", "Listen", "ListenBacklog", "LoadFile", "LoadModule",
"LockFile", "LogFormat", "LogLevel", "MaxClients", "MaxKeepAliveRequests",
"MaxRequestsPerChild", "MaxSpareServers", "MetaDir", "MetaFiles", "MetaSuffix",
"MimeMagicFile", "MinSpareServers", "MMapFile", "NameVirtualHost", "NoCache",
"Options", "Order", "PassEnv", "PidFile", "Port", "ProxyBlock", "ProxyDomain",
"ProxyPass", "ProxyPassReverse", "ProxyReceiveBufferSize", "ProxyRemote",
"ProxyRequests", "ProxyVia", "ReadmeName", "Redirect", "RedirectMatch",
"RedirectPermanent", "RedirectTemp", "RefererIgnore", "RefererLog",
"RemoveEncoding", "RemoveHandler", "RemoveType", "Require", "ResourceConfig",
"RewriteBase", "RewriteCond", "RewriteEngine", "RewriteLock", "RewriteLog",
"RewriteLogLevel", "RewriteMap", "RewriteOptions", "RewriteRule", "RLimitCPU",
"RLimitMEM", "RLimitNPROC", "Satisfy", "ScoreBoardFile", "Script",
"ScriptAlias", "ScriptAliasMatch", "ScriptInterpreterSource", "ScriptLog",
"ScriptLogBuffer", "ScriptLogLength", "SendBufferSize", "ServerAdmin",
"ServerAlias", "ServerName", "ServerPath", "ServerRoot", "ServerSignature",
"ServerTokens", "ServerType", "SetEnv", "SetEnvIf", "SetEnvIfNoCase",
"SetHandler", "StartServers", "ThreadsPerChild", "TimeOut", "TransferLog",
"TypesConfig", "UnsetEnv", "UseCanonicalName", "User", "UserDir",
"VirtualDocumentRoot", "VirtualDocumentRootIP", "VirtualScriptAlias",
"VirtualScriptAliasIP", "XBitHack"},
},
{ Id=2,
List={"alert", "All", "any", "Ascending", "AuthConfig", "Basic", "block",
"cgi-script", "CONNECT", "COPY", "crit", "Date", "debug", "DELETE",
"Descending", "Description", "Digest", "dns", "double", "EMail", "emerg",
"error", "ExecCGI", "FileInfo", "FollowSymLinks", "formatted", "from", "Full",
"GET", "Host", "imap-file", "Includes", "IncludesNOEXEC", "Indexes", "inetd",
"info", "isapi-isa", "Limit", "LOCK", "map", "max", "Minimal", "MKCOL", "MOVE",
"MultiViews", "Name", "nocontent", "None", "notice", "Off", "On", "OS", "PATCH",
"POST", "ProductOnly", "PROPFIND", "PROPPATCH", "PUT", "referer", "Remote_Addr",
"Remote_Host", "Remote_User", "Request_Method", "Request_Protocol",
"Request_URI", "semiformatted", "send-as-is", "server-parsed", "server-status",
"Size", "standalone", "SymLinksIfOwnerMatch", "TRACE", "type-map",
"unformatted", "UNLOCK", "valid-user", "warn"},
},
{ Id=1,
Regex=[[<!?\/?\w+>?|/?>]],
},
{ Id=2,
Regex=[[([-\w]+)="]],
},
{ Id=3,
Regex=[[\&\#?\w+;]],
},
}
Strings={
Delimiter=[["|']],
}
IgnoreCase=false
Comments={
{ Block=false,
Delimiter= { [[#]] },
},
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\!|\=|\/|\*|\%|\+|\-]]
|