Browse Source

update & fix 04.02.25:21.39

root 1 month ago
parent
commit
3c81f8e493
100 changed files with 2007 additions and 0 deletions
  1. 48 0
      docs/apache2_examples/apache2-subdomen1/apache2.conf
  2. 225 0
      docs/apache2_examples/apache2-subdomen1/apache2.conf.dst
  3. 6 0
      docs/apache2_examples/apache2-subdomen1/conf-available/charset.conf
  4. 79 0
      docs/apache2_examples/apache2-subdomen1/conf-available/localized-error-pages.conf
  5. 2 0
      docs/apache2_examples/apache2-subdomen1/conf-available/other-vhosts-access-log.conf
  6. 34 0
      docs/apache2_examples/apache2-subdomen1/conf-available/php8.2-fpm.conf
  7. 58 0
      docs/apache2_examples/apache2-subdomen1/conf-available/security.conf
  8. 18 0
      docs/apache2_examples/apache2-subdomen1/conf-available/serve-cgi-bin.conf
  9. 1 0
      docs/apache2_examples/apache2-subdomen1/conf-enabled/charset.conf
  10. 1 0
      docs/apache2_examples/apache2-subdomen1/conf-enabled/localized-error-pages.conf
  11. 1 0
      docs/apache2_examples/apache2-subdomen1/conf-enabled/other-vhosts-access-log.conf
  12. 1 0
      docs/apache2_examples/apache2-subdomen1/conf-enabled/security.conf
  13. 1 0
      docs/apache2_examples/apache2-subdomen1/conf-enabled/serve-cgi-bin.conf
  14. 50 0
      docs/apache2_examples/apache2-subdomen1/envvars
  15. 935 0
      docs/apache2_examples/apache2-subdomen1/magic
  16. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/access_compat.load
  17. 9 0
      docs/apache2_examples/apache2-subdomen1/mods-available/actions.conf
  18. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/actions.load
  19. 19 0
      docs/apache2_examples/apache2-subdomen1/mods-available/alias.conf
  20. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/alias.load
  21. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/allowmethods.load
  22. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/asis.load
  23. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/auth_basic.load
  24. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/auth_digest.load
  25. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/auth_form.load
  26. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authn_anon.load
  27. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authn_core.load
  28. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authn_dbd.load
  29. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authn_dbm.load
  30. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authn_file.load
  31. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authn_socache.load
  32. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authnz_fcgi.load
  33. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authnz_ldap.load
  34. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authz_core.load
  35. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authz_dbd.load
  36. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authz_dbm.load
  37. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authz_groupfile.load
  38. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authz_host.load
  39. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authz_owner.load
  40. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/authz_user.load
  41. 91 0
      docs/apache2_examples/apache2-subdomen1/mods-available/autoindex.conf
  42. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/autoindex.load
  43. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/brotli.load
  44. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/buffer.load
  45. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/bw.load
  46. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/cache.load
  47. 21 0
      docs/apache2_examples/apache2-subdomen1/mods-available/cache_disk.conf
  48. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/cache_disk.load
  49. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/cache_socache.load
  50. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/cern_meta.load
  51. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/cgi.load
  52. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/cgid.conf
  53. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/cgid.load
  54. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/charset_lite.load
  55. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/data.load
  56. 3 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dav.load
  57. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dav_fs.conf
  58. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dav_fs.load
  59. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dav_lock.load
  60. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dbd.load
  61. 7 0
      docs/apache2_examples/apache2-subdomen1/mods-available/deflate.conf
  62. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/deflate.load
  63. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dialup.load
  64. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dir.conf
  65. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dir.load
  66. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/dump_io.load
  67. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/echo.load
  68. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/encoding.load
  69. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/env.load
  70. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/expires.load
  71. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/ext_filter.load
  72. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/file_cache.load
  73. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/filter.load
  74. 8 0
      docs/apache2_examples/apache2-subdomen1/mods-available/geoip.conf
  75. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/geoip.load
  76. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/headers.load
  77. 3 0
      docs/apache2_examples/apache2-subdomen1/mods-available/heartbeat.load
  78. 3 0
      docs/apache2_examples/apache2-subdomen1/mods-available/heartmonitor.load
  79. 30 0
      docs/apache2_examples/apache2-subdomen1/mods-available/http2.conf
  80. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/http2.load
  81. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/ident.load
  82. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/imagemap.load
  83. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/include.load
  84. 9 0
      docs/apache2_examples/apache2-subdomen1/mods-available/info.conf
  85. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/info.load
  86. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/lbmethod_bybusyness.load
  87. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/lbmethod_byrequests.load
  88. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/lbmethod_bytraffic.load
  89. 2 0
      docs/apache2_examples/apache2-subdomen1/mods-available/lbmethod_heartbeat.load
  90. 4 0
      docs/apache2_examples/apache2-subdomen1/mods-available/ldap.conf
  91. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/ldap.load
  92. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/log_debug.load
  93. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/log_forensic.load
  94. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/lua.load
  95. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/macro.load
  96. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/md.load
  97. 246 0
      docs/apache2_examples/apache2-subdomen1/mods-available/mime.conf
  98. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/mime.load
  99. 1 0
      docs/apache2_examples/apache2-subdomen1/mods-available/mime_magic.conf
  100. 0 0
      docs/apache2_examples/apache2-subdomen1/mods-available/mime_magic.load

+ 48 - 0
docs/apache2_examples/apache2-subdomen1/apache2.conf

@@ -0,0 +1,48 @@
1
+DefaultRuntimeDir /var/run/apache2-subdomen1
2
+PidFile /var/run/apache2-subdomen1/apache2.pid
3
+
4
+Timeout 300
5
+KeepAlive On
6
+MaxKeepAliveRequests 100
7
+KeepAliveTimeout 5
8
+
9
+User www-data
10
+Group www-data
11
+HostnameLookups Off
12
+
13
+ErrorLog /var/log/apache2-subdomen1/apache2.error.log
14
+LogLevel warn
15
+
16
+IncludeOptional mods-enabled/*.load
17
+IncludeOptional mods-enabled/*.conf
18
+
19
+Include ports.conf
20
+DocumentRoot /var/www/subdomen1
21
+
22
+<Directory /usr/share>
23
+  AllowOverride None
24
+  Require all granted
25
+</Directory>
26
+
27
+<Directory /var/www>
28
+  Options Indexes FollowSymLinks
29
+  AllowOverride None
30
+  Require all granted
31
+</Directory>
32
+
33
+AccessFileName .htaccess
34
+
35
+<FilesMatch "^\.ht">
36
+  Require all denied
37
+</FilesMatch>
38
+
39
+LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
40
+LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
41
+LogFormat "%h %l %u %t \"%r\" %>s %O" common
42
+LogFormat "%{Referer}i -> %U" referer
43
+LogFormat "%{User-agent}i" agent
44
+
45
+IncludeOptional conf-enabled/*.conf
46
+IncludeOptional sites-enabled/*.conf
47
+
48
+

+ 225 - 0
docs/apache2_examples/apache2-subdomen1/apache2.conf.dst

@@ -0,0 +1,225 @@
1
+# This is the main Apache server configuration file.  It contains the
2
+# configuration directives that give the server its instructions.
3
+# See http://httpd.apache.org/docs/2.4/ for detailed information about
4
+# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
5
+# hints.
6
+#
7
+#
8
+# Summary of how the Apache 2 configuration works in Debian:
9
+# The Apache 2 web server configuration in Debian is quite different to
10
+# upstream's suggested way to configure the web server. This is because Debian's
11
+# default Apache2 installation attempts to make adding and removing modules,
12
+# virtual hosts, and extra configuration directives as flexible as possible, in
13
+# order to make automating the changes and administering the server as easy as
14
+# possible.
15
+
16
+# It is split into several files forming the configuration hierarchy outlined
17
+# below, all located in the /etc/apache2/ directory:
18
+#
19
+#	/etc/apache2/
20
+#	|-- apache2.conf
21
+#	|	`--  ports.conf
22
+#	|-- mods-enabled
23
+#	|	|-- *.load
24
+#	|	`-- *.conf
25
+#	|-- conf-enabled
26
+#	|	`-- *.conf
27
+# 	`-- sites-enabled
28
+#	 	`-- *.conf
29
+#
30
+#
31
+# * apache2.conf is the main configuration file (this file). It puts the pieces
32
+#   together by including all remaining configuration files when starting up the
33
+#   web server.
34
+#
35
+# * ports.conf is always included from the main configuration file. It is
36
+#   supposed to determine listening ports for incoming connections which can be
37
+#   customized anytime.
38
+#
39
+# * Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/
40
+#   directories contain particular configuration snippets which manage modules,
41
+#   global configuration fragments, or virtual host configurations,
42
+#   respectively.
43
+#
44
+#   They are activated by symlinking available configuration files from their
45
+#   respective *-available/ counterparts. These should be managed by using our
46
+#   helpers a2enmod/a2dismod, a2ensite/a2dissite and a2enconf/a2disconf. See
47
+#   their respective man pages for detailed information.
48
+#
49
+# * The binary is called apache2. Due to the use of environment variables, in
50
+#   the default configuration, apache2 needs to be started/stopped with
51
+#   /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not
52
+#   work with the default configuration.
53
+
54
+
55
+# Global configuration
56
+#
57
+
58
+#
59
+# ServerRoot: The top of the directory tree under which the server's
60
+# configuration, error, and log files are kept.
61
+#
62
+# NOTE!  If you intend to place this on an NFS (or otherwise network)
63
+# mounted filesystem then please read the Mutex documentation (available
64
+# at <URL:http://httpd.apache.org/docs/2.4/mod/core.html#mutex>);
65
+# you will save yourself a lot of trouble.
66
+#
67
+# Do NOT add a slash at the end of the directory path.
68
+#
69
+#ServerRoot "/etc/apache2"
70
+
71
+#
72
+# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
73
+#
74
+#Mutex file:${APACHE_LOCK_DIR} default
75
+
76
+#
77
+# The directory where shm and other runtime files will be stored.
78
+#
79
+
80
+DefaultRuntimeDir ${APACHE_RUN_DIR}
81
+
82
+#
83
+# PidFile: The file in which the server should record its process
84
+# identification number when it starts.
85
+# This needs to be set in /etc/apache2/envvars
86
+#
87
+PidFile ${APACHE_PID_FILE}
88
+
89
+#
90
+# Timeout: The number of seconds before receives and sends time out.
91
+#
92
+Timeout 300
93
+
94
+#
95
+# KeepAlive: Whether or not to allow persistent connections (more than
96
+# one request per connection). Set to "Off" to deactivate.
97
+#
98
+KeepAlive On
99
+
100
+#
101
+# MaxKeepAliveRequests: The maximum number of requests to allow
102
+# during a persistent connection. Set to 0 to allow an unlimited amount.
103
+# We recommend you leave this number high, for maximum performance.
104
+#
105
+MaxKeepAliveRequests 100
106
+
107
+#
108
+# KeepAliveTimeout: Number of seconds to wait for the next request from the
109
+# same client on the same connection.
110
+#
111
+KeepAliveTimeout 5
112
+
113
+
114
+# These need to be set in /etc/apache2/envvars
115
+User ${APACHE_RUN_USER}
116
+Group ${APACHE_RUN_GROUP}
117
+
118
+#
119
+# HostnameLookups: Log the names of clients or just their IP addresses
120
+# e.g., www.apache.org (on) or 204.62.129.132 (off).
121
+# The default is off because it'd be overall better for the net if people
122
+# had to knowingly turn this feature on, since enabling it means that
123
+# each client request will result in AT LEAST one lookup request to the
124
+# nameserver.
125
+#
126
+HostnameLookups Off
127
+
128
+# ErrorLog: The location of the error log file.
129
+# If you do not specify an ErrorLog directive within a <VirtualHost>
130
+# container, error messages relating to that virtual host will be
131
+# logged here.  If you *do* define an error logfile for a <VirtualHost>
132
+# container, that host's errors will be logged there and not here.
133
+#
134
+ErrorLog ${APACHE_LOG_DIR}/error.log
135
+
136
+#
137
+# LogLevel: Control the severity of messages logged to the error_log.
138
+# Available values: trace8, ..., trace1, debug, info, notice, warn,
139
+# error, crit, alert, emerg.
140
+# It is also possible to configure the log level for particular modules, e.g.
141
+# "LogLevel info ssl:warn"
142
+#
143
+LogLevel warn
144
+
145
+# Include module configuration:
146
+IncludeOptional mods-enabled/*.load
147
+IncludeOptional mods-enabled/*.conf
148
+
149
+# Include list of ports to listen on
150
+Include ports.conf
151
+
152
+
153
+# Sets the default security model of the Apache2 HTTPD server. It does
154
+# not allow access to the root filesystem outside of /usr/share and /var/www.
155
+# The former is used by web applications packaged in Debian,
156
+# the latter may be used for local directories served by the web server. If
157
+# your system is serving content from a sub-directory in /srv you must allow
158
+# access here, or in any related virtual host.
159
+<Directory />
160
+	Options FollowSymLinks
161
+	AllowOverride None
162
+	Require all denied
163
+</Directory>
164
+
165
+<Directory /usr/share>
166
+	AllowOverride None
167
+	Require all granted
168
+</Directory>
169
+
170
+<Directory /var/www/>
171
+	Options Indexes FollowSymLinks
172
+	AllowOverride None
173
+	Require all granted
174
+</Directory>
175
+
176
+#<Directory /srv/>
177
+#	Options Indexes FollowSymLinks
178
+#	AllowOverride None
179
+#	Require all granted
180
+#</Directory>
181
+
182
+
183
+
184
+
185
+# AccessFileName: The name of the file to look for in each directory
186
+# for additional configuration directives.  See also the AllowOverride
187
+# directive.
188
+#
189
+AccessFileName .htaccess
190
+
191
+#
192
+# The following lines prevent .htaccess and .htpasswd files from being
193
+# viewed by Web clients.
194
+#
195
+<FilesMatch "^\.ht">
196
+	Require all denied
197
+</FilesMatch>
198
+
199
+
200
+#
201
+# The following directives define some format nicknames for use with
202
+# a CustomLog directive.
203
+#
204
+# These deviate from the Common Log Format definitions in that they use %O
205
+# (the actual bytes sent including headers) instead of %b (the size of the
206
+# requested file), because the latter makes it impossible to detect partial
207
+# requests.
208
+#
209
+# Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
210
+# Use mod_remoteip instead.
211
+#
212
+LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
213
+LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
214
+LogFormat "%h %l %u %t \"%r\" %>s %O" common
215
+LogFormat "%{Referer}i -> %U" referer
216
+LogFormat "%{User-agent}i" agent
217
+
218
+# Include of directories ignores editors' and dpkg's backup files,
219
+# see README.Debian for details.
220
+
221
+# Include generic snippets of statements
222
+IncludeOptional conf-enabled/*.conf
223
+
224
+# Include the virtual host configurations:
225
+IncludeOptional sites-enabled/*.conf

+ 6 - 0
docs/apache2_examples/apache2-subdomen1/conf-available/charset.conf

@@ -0,0 +1,6 @@
1
+# Read the documentation before enabling AddDefaultCharset.
2
+# In general, it is only a good idea if you know that all your files
3
+# have this encoding. It will override any encoding given in the files
4
+# in meta http-equiv or xml encoding tags.
5
+
6
+#AddDefaultCharset UTF-8

+ 79 - 0
docs/apache2_examples/apache2-subdomen1/conf-available/localized-error-pages.conf

@@ -0,0 +1,79 @@
1
+# Customizable error responses come in three flavors:
2
+# 1) plain text
3
+# 2) local redirects
4
+# 3) external redirects
5
+#
6
+# Some examples:
7
+#ErrorDocument 500 "The server made a boo boo."
8
+#ErrorDocument 404 /missing.html
9
+#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
10
+#ErrorDocument 402 http://www.example.com/subscription_info.html
11
+#
12
+
13
+#
14
+# Putting this all together, we can internationalize error responses.
15
+#
16
+# We use Alias to redirect any /error/HTTP_<error>.html.var response to
17
+# our collection of by-error message multi-language collections.  We use
18
+# includes to substitute the appropriate text.
19
+#
20
+# You can modify the messages' appearance without changing any of the
21
+# default HTTP_<error>.html.var files by adding the line:
22
+#
23
+#Alias /error/include/ "/your/include/path/"
24
+#
25
+# which allows you to create your own set of files by starting with the
26
+# /usr/share/apache2/error/include/ files and copying them to /your/include/path/,
27
+# even on a per-VirtualHost basis.  If you include the Alias in the global server
28
+# context, is has to come _before_ the 'Alias /error/ ...' line.
29
+#
30
+# The default include files will display your Apache version number and your
31
+# ServerAdmin email address regardless of the setting of ServerSignature.
32
+#
33
+# WARNING: The configuration below will NOT work out of the box if you have a
34
+#		  SetHandler directive in a <Location /> context somewhere. Adding
35
+#		  the following three lines AFTER the <Location /> context should
36
+#		  make it work in most cases:
37
+#		  <Location /error/>
38
+#			 SetHandler none
39
+#		  </Location>
40
+#
41
+# The internationalized error documents require mod_alias, mod_include
42
+# and mod_negotiation.  To activate them, uncomment the following 37 lines.
43
+
44
+#<IfModule mod_negotiation.c>
45
+#	<IfModule mod_include.c>
46
+#		<IfModule mod_alias.c>
47
+#
48
+#			Alias /error/ "/usr/share/apache2/error/"
49
+#
50
+#			<Directory "/usr/share/apache2/error">
51
+#				Options IncludesNoExec
52
+#				AddOutputFilter Includes html
53
+#				AddHandler type-map var
54
+#				Order allow,deny
55
+#				Allow from all
56
+#				LanguagePriority en cs de es fr it nl sv pt-br ro
57
+#				ForceLanguagePriority Prefer Fallback
58
+#			</Directory>
59
+#
60
+#			ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
61
+#			ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
62
+#			ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
63
+#			ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
64
+#			ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
65
+#			ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
66
+#			ErrorDocument 410 /error/HTTP_GONE.html.var
67
+#			ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
68
+#			ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
69
+#			ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
70
+#			ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
71
+#			ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
72
+#			ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
73
+#			ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
74
+#			ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
75
+#			ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
76
+#			ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
77
+#		</IfModule>
78
+#	</IfModule>
79
+#</IfModule>

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/conf-available/other-vhosts-access-log.conf

@@ -0,0 +1,2 @@
1
+# Define an access log for VirtualHosts that don't define their own logfile
2
+#CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined

+ 34 - 0
docs/apache2_examples/apache2-subdomen1/conf-available/php8.2-fpm.conf

@@ -0,0 +1,34 @@
1
+# Redirect to local php-fpm if mod_php is not available
2
+<IfModule !mod_php8.c>
3
+<IfModule proxy_fcgi_module>
4
+    # Enable http authorization headers
5
+    <IfModule setenvif_module>
6
+    SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
7
+    </IfModule>
8
+
9
+    # Using (?:pattern) instead of (pattern) is a small optimization that
10
+    # avoid capturing the matching pattern (as $1) which isn't used here
11
+    <FilesMatch ".+\.ph(?:ar|p|tml)$">
12
+        SetHandler "proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost"
13
+    </FilesMatch>
14
+# The default configuration works for most of the installation, however it could
15
+# be improved in various ways. One simple improvement is to not pass files that
16
+# doesn't exist to the handler as shown below, for more configuration examples
17
+# see https://wiki.apache.org/httpd/PHP-FPM
18
+#    <FilesMatch ".+\.ph(?:ar|p|tml)$">
19
+#        <If "-f %{REQUEST_FILENAME}">
20
+#            SetHandler "proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost"
21
+#        </If>
22
+#    </FilesMatch>
23
+    <FilesMatch ".+\.phps$">
24
+        # Deny access to raw php sources by default
25
+        # To re-enable it's recommended to enable access to the files
26
+        # only in specific virtual host or directory
27
+        Require all denied
28
+    </FilesMatch>
29
+    # Deny access to files without filename (e.g. '.php')
30
+    <FilesMatch "^\.ph(?:ar|p|ps|tml)$">
31
+        Require all denied
32
+    </FilesMatch>
33
+</IfModule>
34
+</IfModule>

+ 58 - 0
docs/apache2_examples/apache2-subdomen1/conf-available/security.conf

@@ -0,0 +1,58 @@
1
+# Changing the following options will not really affect the security of the
2
+# server, but might make attacks slightly more difficult in some cases.
3
+
4
+#
5
+# ServerTokens
6
+# This directive configures what you return as the Server HTTP response
7
+# Header. The default is 'Full' which sends information about the OS-Type
8
+# and compiled in modules.
9
+# Set to one of:  Full | OS | Minimal | Minor | Major | Prod
10
+# where Full conveys the most information, and Prod the least.
11
+#ServerTokens Minimal
12
+ServerTokens OS
13
+#ServerTokens Full
14
+
15
+#
16
+# Optionally add a line containing the server version and virtual host
17
+# name to server-generated pages (internal error documents, FTP directory
18
+# listings, mod_status and mod_info output etc., but not CGI generated
19
+# documents or custom error documents).
20
+# Set to "EMail" to also include a mailto: link to the ServerAdmin.
21
+# Set to one of:  On | Off | EMail
22
+#ServerSignature Off
23
+ServerSignature On
24
+
25
+#
26
+# Allow TRACE method
27
+#
28
+# Set to "extended" to also reflect the request body (only for testing and
29
+# diagnostic purposes).
30
+#
31
+# Set to one of:  On | Off | extended
32
+TraceEnable Off
33
+#TraceEnable On
34
+
35
+#
36
+# Forbid access to version control directories
37
+#
38
+# If you use version control systems in your document root, you should
39
+# probably deny access to their directories.
40
+#
41
+# Examples:
42
+#
43
+#RedirectMatch 404 /\.git
44
+#RedirectMatch 404 /\.svn
45
+
46
+#
47
+# Setting this header will prevent MSIE from interpreting files as something
48
+# else than declared by the content type in the HTTP headers.
49
+# Requires mod_headers to be enabled.
50
+#
51
+#Header set X-Content-Type-Options: "nosniff"
52
+
53
+#
54
+# Setting this header will prevent other sites from embedding pages from this
55
+# site as frames. This defends against clickjacking attacks.
56
+# Requires mod_headers to be enabled.
57
+#
58
+#Header set Content-Security-Policy "frame-ancestors 'self';"

+ 18 - 0
docs/apache2_examples/apache2-subdomen1/conf-available/serve-cgi-bin.conf

@@ -0,0 +1,18 @@
1
+<IfModule mod_alias.c>
2
+	<IfModule mod_cgi.c>
3
+		Define ENABLE_USR_LIB_CGI_BIN
4
+	</IfModule>
5
+
6
+	<IfModule mod_cgid.c>
7
+		Define ENABLE_USR_LIB_CGI_BIN
8
+	</IfModule>
9
+
10
+	<IfDefine ENABLE_USR_LIB_CGI_BIN>
11
+		ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
12
+		<Directory "/usr/lib/cgi-bin">
13
+			AllowOverride None
14
+			Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
15
+			Require all granted
16
+		</Directory>
17
+	</IfDefine>
18
+</IfModule>

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/conf-enabled/charset.conf

@@ -0,0 +1 @@
1
+../conf-available/charset.conf

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/conf-enabled/localized-error-pages.conf

@@ -0,0 +1 @@
1
+../conf-available/localized-error-pages.conf

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/conf-enabled/other-vhosts-access-log.conf

@@ -0,0 +1 @@
1
+../conf-available/other-vhosts-access-log.conf

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/conf-enabled/security.conf

@@ -0,0 +1 @@
1
+../conf-available/security.conf

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/conf-enabled/serve-cgi-bin.conf

@@ -0,0 +1 @@
1
+../conf-available/serve-cgi-bin.conf

+ 50 - 0
docs/apache2_examples/apache2-subdomen1/envvars

@@ -0,0 +1,50 @@
1
+# envvars - default environment variables for apache2ctl
2
+
3
+# this won't be correct after changing uid
4
+unset HOME
5
+
6
+# for supporting multiple apache2 instances
7
+if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
8
+	SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
9
+else
10
+	SUFFIX=
11
+fi
12
+
13
+# Since there is no sane way to get the parsed apache2 config in scripts, some
14
+# settings are defined via environment variables and then used in apache2ctl,
15
+# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
16
+export APACHE_RUN_USER=www-data
17
+export APACHE_RUN_GROUP=www-data
18
+# temporary state file location. This might be changed to /run in Wheezy+1
19
+export APACHE_PID_FILE=/var/run/apache2$SUFFIX/apache2.pid
20
+export APACHE_RUN_DIR=/var/run/apache2$SUFFIX
21
+export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX
22
+# Only /var/log/apache2 is handled by /etc/logrotate.d/apache2.
23
+export APACHE_LOG_DIR=/var/log/apache2$SUFFIX
24
+
25
+##
26
+#export APACHE_ROOT_DIR=/home/www
27
+
28
+## The locale used by some modules like mod_dav
29
+export LANG=C
30
+## Uncomment the following line to use the system default locale instead:
31
+#. /etc/default/locale
32
+
33
+export LANG
34
+
35
+## The command to get the status for 'apache2ctl status'.
36
+## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
37
+#export APACHE_LYNX='www-browser -dump'
38
+
39
+## If you need a higher file descriptor limit, uncomment and adjust the
40
+## following line (default is 8192):
41
+#APACHE_ULIMIT_MAX_FILES='ulimit -n 65536'
42
+
43
+## If you would like to pass arguments to the web server, add them below
44
+## to the APACHE_ARGUMENTS environment.
45
+#export APACHE_ARGUMENTS=''
46
+
47
+## Enable the debug mode for maintainer scripts.
48
+## This will produce a verbose output on package installations of web server modules and web application
49
+## installations which interact with Apache
50
+#export APACHE2_MAINTSCRIPT_DEBUG=1

+ 935 - 0
docs/apache2_examples/apache2-subdomen1/magic

@@ -0,0 +1,935 @@
1
+# Magic data for mod_mime_magic (originally for file(1) command)
2
+#
3
+# The format is 4-5 columns:
4
+#    Column #1: byte number to begin checking from, ">" indicates continuation
5
+#    Column #2: type of data to match
6
+#    Column #3: contents of data to match
7
+#    Column #4: MIME type of result
8
+#    Column #5: MIME encoding of result (optional)
9
+
10
+#------------------------------------------------------------------------------
11
+# Localstuff:  file(1) magic for locally observed files
12
+# Add any locally observed files here.
13
+
14
+# Real Audio (Magic .ra\0375)
15
+0	belong		0x2e7261fd	audio/x-pn-realaudio
16
+0	string		.RMF		application/vnd.rn-realmedia
17
+
18
+#video/x-pn-realvideo
19
+#video/vnd.rn-realvideo
20
+#application/vnd.rn-realmedia
21
+#	sigh, there are many mimes for that but the above are the most common.
22
+
23
+# Taken from magic, converted to magic.mime
24
+# mime types according to http://www.geocities.com/nevilo/mod.htm:
25
+#	audio/it	.it
26
+#	audio/x-zipped-it	.itz
27
+#	audio/xm	fasttracker modules
28
+#	audio/x-s3m	screamtracker modules
29
+#	audio/s3m	screamtracker modules
30
+#	audio/x-zipped-mod	mdz
31
+#	audio/mod	mod
32
+#	audio/x-mod	All modules (mod, s3m, 669, mtm, med, xm, it, mdz, stm, itz, xmz, s3z)
33
+
34
+# Taken from loader code from mikmod version 2.14
35
+# by Steve McIntyre (stevem@chiark.greenend.org.uk)
36
+# <doj@cubic.org> added title printing on 2003-06-24
37
+0	string	MAS_UTrack_V00
38
+>14	string	>/0		audio/x-mod
39
+#audio/x-tracker-module
40
+
41
+#0	string	UN05		MikMod UNI format module sound data
42
+
43
+0	string	Extended\ Module: audio/x-mod
44
+#audio/x-tracker-module
45
+##>17	string	>\0		Title: "%s"
46
+
47
+21	string/c	\!SCREAM!	audio/x-mod
48
+#audio/x-screamtracker-module
49
+21	string	BMOD2STM	audio/x-mod
50
+#audio/x-screamtracker-module
51
+1080	string	M.K.		audio/x-mod
52
+#audio/x-protracker-module
53
+#>0	string	>\0		Title: "%s"
54
+1080	string	M!K!		audio/x-mod
55
+#audio/x-protracker-module
56
+#>0	string	>\0		Title: "%s"
57
+1080	string	FLT4		audio/x-mod
58
+#audio/x-startracker-module
59
+#>0	string	>\0		Title: "%s"
60
+1080	string	FLT8		audio/x-mod
61
+#audio/x-startracker-module
62
+#>0	string	>\0		Title: "%s"
63
+1080	string	4CHN		audio/x-mod
64
+#audio/x-fasttracker-module
65
+#>0	string	>\0		Title: "%s"
66
+1080	string	6CHN		audio/x-mod
67
+#audio/x-fasttracker-module
68
+#>0	string	>\0		Title: "%s"
69
+1080	string	8CHN		audio/x-mod
70
+#audio/x-fasttracker-module
71
+#>0	string	>\0		Title: "%s"
72
+1080	string	CD81		audio/x-mod
73
+#audio/x-oktalyzer-tracker-module
74
+#>0	string	>\0		Title: "%s"
75
+1080	string	OKTA		audio/x-mod
76
+#audio/x-oktalyzer-tracker-module
77
+#>0	string	>\0		Title: "%s"
78
+# Not good enough.
79
+#1082	string	CH
80
+#>1080	string	>/0		%.2s-channel Fasttracker "oktalyzer" module sound data
81
+1080	string	16CN		audio/x-mod
82
+#audio/x-taketracker-module
83
+#>0	string	>\0		Title: "%s"
84
+1080	string	32CN		audio/x-mod
85
+#audio/x-taketracker-module
86
+#>0	string	>\0		Title: "%s"
87
+
88
+# Impuse tracker module (it)
89
+0	string		IMPM		audio/x-mod
90
+#>4	string		>\0		"%s"
91
+#>40	leshort		!0		compatible w/ITv%x
92
+#>42	leshort		!0		created w/ITv%x
93
+
94
+#------------------------------------------------------------------------------
95
+# end local stuff
96
+#------------------------------------------------------------------------------
97
+
98
+# xml based formats!
99
+
100
+# svg
101
+
102
+0	string		\<?xml
103
+#			text/xml
104
+>38	string		\<\!DOCTYPE\040svg	image/svg+xml
105
+
106
+
107
+# xml
108
+0	string		\<?xml			text/xml
109
+
110
+
111
+#------------------------------------------------------------------------------
112
+# Java
113
+
114
+0	short		0xcafe
115
+>2	short		0xbabe		application/java
116
+
117
+#------------------------------------------------------------------------------
118
+# audio:  file(1) magic for sound formats
119
+#
120
+# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,
121
+#
122
+
123
+# Sun/NeXT audio data
124
+0	string		.snd
125
+>12	belong		1		audio/basic
126
+>12	belong		2		audio/basic
127
+>12	belong		3		audio/basic
128
+>12	belong		4		audio/basic
129
+>12	belong		5		audio/basic
130
+>12	belong		6		audio/basic
131
+>12	belong		7		audio/basic
132
+
133
+>12	belong		23		audio/x-adpcm
134
+
135
+# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
136
+# that uses little-endian encoding and has a different magic number
137
+# (0x0064732E in little-endian encoding).
138
+0	lelong		0x0064732E	
139
+>12	lelong		1		audio/x-dec-basic
140
+>12	lelong		2		audio/x-dec-basic
141
+>12	lelong		3		audio/x-dec-basic
142
+>12	lelong		4		audio/x-dec-basic
143
+>12	lelong		5		audio/x-dec-basic
144
+>12	lelong		6		audio/x-dec-basic
145
+>12	lelong		7		audio/x-dec-basic
146
+#                                       compressed (G.721 ADPCM)
147
+>12	lelong		23		audio/x-dec-adpcm
148
+
149
+# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are "FORM"
150
+#					AIFF audio data
151
+8	string		AIFF		audio/x-aiff	
152
+#					AIFF-C audio data
153
+8	string		AIFC		audio/x-aiff	
154
+#					IFF/8SVX audio data
155
+8	string		8SVX		audio/x-aiff	
156
+
157
+
158
+
159
+# Creative Labs AUDIO stuff
160
+#					Standard MIDI data
161
+0	string	MThd			audio/unknown	
162
+#>9 	byte	>0			(format %d)
163
+#>11	byte	>1			using %d channels
164
+#					Creative Music (CMF) data
165
+0	string	CTMF			audio/unknown	
166
+#					SoundBlaster instrument data
167
+0	string	SBI			audio/unknown	
168
+#					Creative Labs voice data
169
+0	string	Creative\ Voice\ File	audio/unknown	
170
+## is this next line right?  it came this way...
171
+#>19	byte	0x1A
172
+#>23	byte	>0			- version %d
173
+#>22	byte	>0			\b.%d
174
+
175
+# [GRR 950115:  is this also Creative Labs?  Guessing that first line
176
+#  should be string instead of unknown-endian long...]
177
+#0	long		0x4e54524b	MultiTrack sound data
178
+#0	string		NTRK		MultiTrack sound data
179
+#>4	long		x		- version %ld
180
+
181
+# Microsoft WAVE format (*.wav)
182
+# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]
183
+#					Microsoft RIFF
184
+0	string		RIFF
185
+#					- WAVE format
186
+>8	string		WAVE		audio/x-wav
187
+>8	string/B	AVI		video/x-msvideo
188
+#
189
+>8 	string		CDRA		image/x-coreldraw
190
+
191
+# AAC (aka MPEG-2 NBC)
192
+0       beshort&0xfff6    0xfff0          audio/X-HX-AAC-ADTS
193
+0       string          ADIF            audio/X-HX-AAC-ADIF
194
+0       beshort&0xffe0  0x56e0          audio/MP4A-LATM
195
+0       beshort         0x4De1          audio/MP4A-LATM
196
+
197
+# MPEG Layer 3 sound files
198
+0       beshort&0xfffe  =0xfffa         audio/mpeg
199
+#MP3 with ID3 tag
200
+0	string		ID3		audio/mpeg
201
+# Ogg/Vorbis
202
+0	string		OggS		application/ogg
203
+
204
+#------------------------------------------------------------------------------
205
+# c-lang:  file(1) magic for C programs or various scripts
206
+#
207
+
208
+# XPM icons (Greg Roelofs, newt@uchicago.edu)
209
+# ideally should go into "images", but entries below would tag XPM as C source
210
+0	string		/*\ XPM		image/x-xpmi 7bit
211
+
212
+# 3DS (3d Studio files)
213
+#16	beshort		0x3d3d		image/x-3ds
214
+
215
+# this first will upset you if you're a PL/1 shop... (are there any left?)
216
+# in which case rm it; ascmagic will catch real C programs
217
+#					C or REXX program text
218
+#0	string		/*		text/x-c
219
+#					C++ program text
220
+#0	string		//		text/x-c++
221
+
222
+#------------------------------------------------------------------------------
223
+# commands:  file(1) magic for various shells and interpreters
224
+#
225
+#0       string          :\ shell archive or commands for antique kernel text
226
+0       string          #!/bin/sh               application/x-shellscript
227
+0       string          #!\ /bin/sh             application/x-shellscript
228
+0       string          #!/bin/csh              application/x-shellscript
229
+0       string          #!\ /bin/csh            application/x-shellscript
230
+# korn shell magic, sent by George Wu, gwu@clyde.att.com
231
+0       string          #!/bin/ksh              application/x-shellscript
232
+0       string          #!\ /bin/ksh            application/x-shellscript
233
+0       string          #!/bin/tcsh             application/x-shellscript
234
+0       string          #!\ /bin/tcsh           application/x-shellscript
235
+0       string          #!/usr/local/tcsh       application/x-shellscript
236
+0       string          #!\ /usr/local/tcsh     application/x-shellscript
237
+0       string          #!/usr/local/bin/tcsh   application/x-shellscript
238
+0       string          #!\ /usr/local/bin/tcsh application/x-shellscript
239
+# bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
240
+0       string          #!/bin/bash     		application/x-shellscript
241
+0       string          #!\ /bin/bash           application/x-shellscript
242
+0       string          #!/usr/local/bin/bash   application/x-shellscript
243
+0       string          #!\ /usr/local/bin/bash application/x-shellscript
244
+
245
+#
246
+# zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson)
247
+0       string          #!/bin/zsh	        application/x-shellscript
248
+0       string          #!/usr/bin/zsh	        application/x-shellscript
249
+0       string          #!/usr/local/bin/zsh    application/x-shellscript
250
+0       string          #!\ /usr/local/bin/zsh  application/x-shellscript
251
+0       string          #!/usr/local/bin/ash    application/x-shellscript
252
+0       string          #!\ /usr/local/bin/ash  application/x-shellscript
253
+#0       string          #!/usr/local/bin/ae     Neil Brown's ae
254
+#0       string          #!\ /usr/local/bin/ae   Neil Brown's ae
255
+0       string          #!/bin/nawk             application/x-nawk
256
+0       string          #!\ /bin/nawk           application/x-nawk
257
+0       string          #!/usr/bin/nawk         application/x-nawk
258
+0       string          #!\ /usr/bin/nawk       application/x-nawk
259
+0       string          #!/usr/local/bin/nawk   application/x-nawk
260
+0       string          #!\ /usr/local/bin/nawk application/x-nawk
261
+0       string          #!/bin/gawk             application/x-gawk
262
+0       string          #!\ /bin/gawk           application/x-gawk
263
+0       string          #!/usr/bin/gawk         application/x-gawk
264
+0       string          #!\ /usr/bin/gawk       application/x-gawk
265
+0       string          #!/usr/local/bin/gawk   application/x-gawk
266
+0       string          #!\ /usr/local/bin/gawk application/x-gawk
267
+#
268
+0       string          #!/bin/awk              application/x-awk
269
+0       string          #!\ /bin/awk            application/x-awk
270
+0       string          #!/usr/bin/awk          application/x-awk
271
+0       string          #!\ /usr/bin/awk        application/x-awk
272
+# update to distinguish from *.vcf files by Joerg Jenderek: joerg dot jenderek at web dot de
273
+#0	regex		BEGIN[[:space:]]*[{]	application/x-awk
274
+
275
+# For Larry Wall's perl language.  The ``eval'' line recognizes an
276
+# outrageously clever hack for USG systems.
277
+#                               Keith Waclena <keith@cerberus.uchicago.edu>
278
+0       string          #!/bin/perl                     application/x-perl
279
+0       string          #!\ /bin/perl                   application/x-perl
280
+0       string          eval\ "exec\ /bin/perl          application/x-perl
281
+0       string          #!/usr/bin/perl                 application/x-perl
282
+0       string          #!\ /usr/bin/perl               application/x-perl
283
+0       string          eval\ "exec\ /usr/bin/perl      application/x-perl
284
+0       string          #!/usr/local/bin/perl           application/x-perl
285
+0       string          #!\ /usr/local/bin/perl         application/x-perl
286
+0       string          eval\ "exec\ /usr/local/bin/perl application/x-perl
287
+
288
+#------------------------------------------------------------------------------
289
+# compress:  file(1) magic for pure-compression formats (no archives)
290
+#
291
+# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.
292
+#
293
+# Formats for various forms of compressed data
294
+# Formats for "compress" proper have been moved into "compress.c",
295
+# because it tries to uncompress it to figure out what's inside.
296
+
297
+# standard unix compress
298
+#0	string		\037\235	application/x-compress
299
+
300
+# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)
301
+#0       string          \037\213        application/x-gzip
302
+
303
+0		string			PK\003\004		application/x-zip
304
+
305
+# RAR archiver (Greg Roelofs, newt@uchicago.edu)
306
+0	string		Rar!		application/x-rar
307
+
308
+# According to gzip.h, this is the correct byte order for packed data.
309
+0	string		\037\036	application/octet-stream
310
+#
311
+# This magic number is byte-order-independent.
312
+#
313
+0	short		017437		application/octet-stream
314
+
315
+# XXX - why *two* entries for "compacted data", one of which is
316
+# byte-order independent, and one of which is byte-order dependent?
317
+#
318
+# compacted data
319
+0	short		0x1fff		application/octet-stream
320
+0	string		\377\037	application/octet-stream
321
+# huf output
322
+0	short		0145405		application/octet-stream
323
+
324
+# Squeeze and Crunch...
325
+# These numbers were gleaned from the Unix versions of the programs to
326
+# handle these formats.  Note that I can only uncrunch, not crunch, and
327
+# I didn't have a crunched file handy, so the crunch number is untested.
328
+#				Keith Waclena <keith@cerberus.uchicago.edu>
329
+#0	leshort		0x76FF		squeezed data (CP/M, DOS)
330
+#0	leshort		0x76FE		crunched data (CP/M, DOS)
331
+
332
+# Freeze
333
+#0	string		\037\237	Frozen file 2.1
334
+#0	string		\037\236	Frozen file 1.0 (or gzip 0.5)
335
+
336
+# lzh?
337
+#0	string		\037\240	LZH compressed data
338
+
339
+257	string		ustar\0		application/x-tar	posix
340
+257	string		ustar\040\040\0		application/x-tar	gnu
341
+
342
+0	short		070707		application/x-cpio
343
+0	short		0143561		application/x-cpio	swapped
344
+
345
+0	string		=<ar>		application/x-archive
346
+0	string		\!<arch>	application/x-archive
347
+>8	string		debian		application/x-debian-package
348
+
349
+#------------------------------------------------------------------------------
350
+#
351
+# RPM: file(1) magic for Red Hat Packages   Erik Troan (ewt@redhat.com)
352
+#
353
+0       beshort         0xedab
354
+>2      beshort         0xeedb          application/x-rpm
355
+
356
+0	lelong&0x8080ffff	0x0000081a	application/x-arc	lzw
357
+0	lelong&0x8080ffff	0x0000091a	application/x-arc	squashed
358
+0	lelong&0x8080ffff	0x0000021a	application/x-arc	uncompressed
359
+0	lelong&0x8080ffff	0x0000031a	application/x-arc	packed
360
+0	lelong&0x8080ffff	0x0000041a	application/x-arc	squeezed
361
+0	lelong&0x8080ffff	0x0000061a	application/x-arc	crunched
362
+
363
+0	leshort	0xea60	application/x-arj
364
+
365
+# LHARC/LHA archiver (Greg Roelofs, newt@uchicago.edu)
366
+2	string	-lh0-	application/x-lharc	lh0
367
+2	string	-lh1-	application/x-lharc	lh1
368
+2	string	-lz4-	application/x-lharc	lz4
369
+2	string	-lz5-	application/x-lharc	lz5
370
+#	[never seen any but the last; -lh4- reported in comp.compression:]
371
+2	string	-lzs-	application/x-lha	lzs
372
+2	string	-lh\ -	application/x-lha	lh
373
+2	string	-lhd-	application/x-lha	lhd
374
+2	string	-lh2-	application/x-lha	lh2
375
+2	string	-lh3-	application/x-lha	lh3
376
+2	string	-lh4-	application/x-lha	lh4
377
+2	string	-lh5-	application/x-lha	lh5
378
+2	string	-lh6-	application/x-lha	lh6
379
+2	string	-lh7-	application/x-lha	lh7
380
+# Shell archives
381
+10	string	#\ This\ is\ a\ shell\ archive	application/octet-stream	x-shell
382
+
383
+#------------------------------------------------------------------------------
384
+# frame:  file(1) magic for FrameMaker files
385
+#
386
+# This stuff came on a FrameMaker demo tape, most of which is
387
+# copyright, but this file is "published" as witness the following:
388
+#
389
+0	string		\<MakerFile	application/x-frame
390
+0	string		\<MIFFile	application/x-frame
391
+0	string		\<MakerDictionary	application/x-frame
392
+0	string		\<MakerScreenFon	application/x-frame
393
+0	string		\<MML		application/x-frame
394
+0	string		\<Book		application/x-frame
395
+0	string		\<Maker		application/x-frame
396
+
397
+#------------------------------------------------------------------------------
398
+# html:  file(1) magic for HTML (HyperText Markup Language) docs
399
+#
400
+# from Daniel Quinlan <quinlan@yggdrasil.com>
401
+#
402
+0	string/cB	\<!DOCTYPE\ html	text/html
403
+0	string/cb	\<head	text/html
404
+0	string/cb	\<title	text/html
405
+0       string/bc	\<html	text/html
406
+0	string		\<!--	text/html
407
+0	string/c	\<h1	text/html
408
+
409
+0	string		\<?xml			text/xml
410
+
411
+#------------------------------------------------------------------------------
412
+# images:  file(1) magic for image formats (see also "c-lang" for XPM bitmaps)
413
+#
414
+# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),
415
+# additions by janl@ifi.uio.no as well as others. Jan also suggested
416
+# merging several one- and two-line files into here.
417
+#
418
+# XXX - byte order for GIF and TIFF fields?
419
+# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]
420
+#
421
+
422
+# [GRR:  what the hell is this doing in here?]
423
+#0	string		xbtoa		btoa'd file
424
+
425
+# PBMPLUS
426
+#					PBM file
427
+0	string		P1		image/x-portable-bitmap	7bit
428
+#					PGM file
429
+0	string		P2		image/x-portable-greymap	7bit
430
+#					PPM file
431
+0	string		P3		image/x-portable-pixmap	7bit
432
+#					PBM "rawbits" file
433
+0	string		P4		image/x-portable-bitmap
434
+#					PGM "rawbits" file
435
+0	string		P5		image/x-portable-greymap
436
+#					PPM "rawbits" file
437
+0	string		P6		image/x-portable-pixmap
438
+
439
+# NIFF (Navy Interchange File Format, a modification of TIFF)
440
+# [GRR:  this *must* go before TIFF]
441
+0	string		IIN1		image/x-niff
442
+
443
+# TIFF and friends
444
+#					TIFF file, big-endian
445
+0	string		MM		image/tiff
446
+#					TIFF file, little-endian
447
+0	string		II		image/tiff
448
+
449
+# possible GIF replacements; none yet released!
450
+# (Greg Roelofs, newt@uchicago.edu)
451
+#
452
+# GRR 950115:  this was mine ("Zip GIF"):
453
+#					ZIF image (GIF+deflate alpha)
454
+0	string		GIF94z		image/unknown
455
+#
456
+# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):
457
+#					FGF image (GIF+deflate beta)
458
+0	string		FGF95a		image/unknown
459
+#
460
+# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal
461
+# (best; not yet implemented):
462
+#					PBF image (deflate compression)
463
+0	string		PBF		image/unknown
464
+
465
+# GIF
466
+0	string		GIF		image/gif
467
+
468
+# JPEG images
469
+0	beshort		0xffd8		image/jpeg
470
+
471
+# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)
472
+0	string		BM		image/x-ms-bmp
473
+#>14	byte		12		(OS/2 1.x format)
474
+#>14	byte		64		(OS/2 2.x format)
475
+#>14	byte		40		(Windows 3.x format)
476
+#0	string		IC		icon
477
+#0	string		PI		pointer
478
+#0	string		CI		color icon
479
+#0	string		CP		color pointer
480
+#0	string		BA		bitmap array
481
+
482
+# CDROM Filesystems
483
+32769    string    CD001     application/x-iso9660
484
+
485
+# Newer StuffIt archives (grant@netbsd.org)
486
+0	string		StuffIt			application/x-stuffit
487
+#>162	string		>0			: %s
488
+
489
+# BinHex is the Macintosh ASCII-encoded file format (see also "apple")
490
+# Daniel Quinlan, quinlan@yggdrasil.com
491
+11	string	must\ be\ converted\ with\ BinHex\ 4	application/mac-binhex40
492
+##>41	string	x					\b, version %.3s
493
+
494
+
495
+#------------------------------------------------------------------------------
496
+# lisp:  file(1) magic for lisp programs
497
+#
498
+# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
499
+0	string	;;			text/plain	8bit
500
+# Emacs 18 - this is always correct, but not very magical.
501
+0	string	\012(			application/x-elc
502
+# Emacs 19
503
+0	string	;ELC\023\000\000\000	application/x-elc
504
+
505
+#------------------------------------------------------------------------------
506
+# mail.news:  file(1) magic for mail and news
507
+#
508
+# There are tests to ascmagic.c to cope with mail and news.
509
+0	string		Relay-Version: 	message/rfc822	7bit
510
+0	string		#!\ rnews	message/rfc822	7bit
511
+0	string		N#!\ rnews	message/rfc822	7bit
512
+0	string		Forward\ to 	message/rfc822	7bit
513
+0	string		Pipe\ to 	message/rfc822	7bit
514
+0	string		Return-Path:	message/rfc822	7bit
515
+0	string		Received:	message/rfc822
516
+0	string		Path:		message/news	8bit
517
+0	string		Xref:		message/news	8bit
518
+0	string		From:		message/rfc822	7bit
519
+0	string		Article 	message/news	8bit
520
+#------------------------------------------------------------------------------
521
+# msword: file(1) magic for MS Word files
522
+#
523
+# Contributor claims:
524
+# Reversed-engineered MS Word magic numbers
525
+#
526
+
527
+0	string		\376\067\0\043			application/msword
528
+0	string		\320\317\021\340\241\261	application/msword
529
+0	string		\333\245-\0\0\0			application/msword
530
+
531
+
532
+
533
+#------------------------------------------------------------------------------
534
+# printer:  file(1) magic for printer-formatted files
535
+#
536
+
537
+# PostScript
538
+0	string		%!		application/postscript
539
+0	string		\004%!		application/postscript
540
+
541
+# Acrobat
542
+# (due to clamen@cs.cmu.edu)
543
+0	string		%PDF-		application/pdf
544
+
545
+#------------------------------------------------------------------------------
546
+# sc:  file(1) magic for "sc" spreadsheet
547
+#
548
+38	string		Spreadsheet	application/x-sc
549
+
550
+#------------------------------------------------------------------------------
551
+# tex:  file(1) magic for TeX files
552
+#
553
+# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)
554
+#
555
+# From <conklin@talisman.kaleida.com>
556
+
557
+# Although we may know the offset of certain text fields in TeX DVI
558
+# and font files, we can't use them reliably because they are not
559
+# zero terminated. [but we do anyway, christos]
560
+0	string		\367\002	application/x-dvi
561
+#0	string		\367\203	TeX generic font data
562
+#0	string		\367\131	TeX packed font data
563
+#0	string		\367\312	TeX virtual font data
564
+#0	string		This\ is\ TeX,	TeX transcript text	
565
+#0	string		This\ is\ METAFONT,	METAFONT transcript text
566
+
567
+# There is no way to detect TeX Font Metric (*.tfm) files without
568
+# breaking them apart and reading the data.  The following patterns
569
+# match most *.tfm files generated by METAFONT or afm2tfm.
570
+2	string		\000\021	application/x-tex-tfm
571
+2	string		\000\022	application/x-tex-tfm
572
+#>34	string		>\0		(%s)
573
+
574
+# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)
575
+0	string		\\input\ texinfo		text/x-texinfo
576
+0	string		This\ is\ Info\ file	text/x-info
577
+
578
+# correct TeX magic for Linux (and maybe more)
579
+# from Peter Tobias (tobias@server.et-inf.fho-emden.de)
580
+#
581
+0	leshort		0x02f7		application/x-dvi
582
+
583
+# RTF - Rich Text Format
584
+0	string		{\\rtf		text/rtf
585
+
586
+#------------------------------------------------------------------------------
587
+# animation:  file(1) magic for animation/movie formats
588
+#
589
+# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)
590
+#						MPEG file
591
+# MPEG sequences
592
+0       belong             0x000001BA
593
+>4      byte               &0x40          video/mp2p
594
+>4      byte               ^0x40          video/mpeg
595
+0       belong             0x000001BB     video/mpeg
596
+0       belong             0x000001B0     video/mp4v-es
597
+0       belong             0x000001B5     video/mp4v-es
598
+0       belong             0x000001B3     video/mpv
599
+0       belong&0xFF5FFF1F  0x47400010     video/mp2t
600
+0       belong             0x00000001
601
+>4      byte&0x1F          0x07           video/h264
602
+
603
+# FLI animation format
604
+0	leshort		0xAF11				video/fli
605
+# FLC animation format
606
+0	leshort		0xAF12				video/flc
607
+#
608
+# SGI and Apple formats
609
+# Added ISO mimes
610
+0	string		MOVI	      video/sgi
611
+4	string		moov	      video/quicktime
612
+4	string		mdat	      video/quicktime
613
+4	string		wide	      video/quicktime
614
+4	string		skip	      video/quicktime
615
+4	string		free	      video/quicktime
616
+4	string		idsc	      image/x-quicktime
617
+4	string		idat	      image/x-quicktime
618
+4	string		pckg	      application/x-quicktime
619
+4	string/B	jP	      image/jp2
620
+4	string		ftyp
621
+>8	string		isom	      video/mp4
622
+>8	string		mp41	      video/mp4
623
+>8	string		mp42	      video/mp4
624
+>8	string/B	jp2	      image/jp2
625
+>8	string		3gp	      video/3gpp
626
+>8      string          avc1          video/3gpp
627
+>8	string		mmp4	      video/mp4
628
+>8	string/B	M4A	      audio/mp4
629
+>8	string/B	qt	      video/quicktime
630
+# The contributor claims:
631
+#   I couldn't find a real magic number for these, however, this
632
+#   -appears- to work.  Note that it might catch other files, too,
633
+#   so BE CAREFUL!
634
+#
635
+# Note that title and author appear in the two 20-byte chunks
636
+# at decimal offsets 2 and 22, respectively, but they are XOR'ed with
637
+# 255 (hex FF)! DL format SUCKS BIG ROCKS.
638
+#
639
+#						DL file version 1 , medium format (160x100, 4 images/screen)
640
+0	byte		1			video/unknown
641
+0	byte		2			video/unknown
642
+#
643
+# Databases
644
+#
645
+# GDBM magic numbers
646
+#  Will be maintained as part of the GDBM distribution in the future.
647
+#  <downsj@teeny.org>
648
+0       belong  0x13579ace      application/x-gdbm
649
+0       lelong  0x13579ace      application/x-gdbm
650
+0       string  GDBM            application/x-gdbm
651
+#
652
+0       belong  0x061561        application/x-dbm
653
+#
654
+# Executables
655
+#
656
+0	string		\177ELF 
657
+>16	leshort		0		application/octet-stream
658
+>16	leshort		1		application/x-object
659
+>16	leshort		2		application/x-executable
660
+>16	leshort		3		application/x-sharedlib
661
+>16	leshort		4		application/x-coredump
662
+>16	beshort		0		application/octet-stream
663
+>16	beshort		1		application/x-object
664
+>16	beshort		2		application/x-executable
665
+>16	beshort		3		application/x-sharedlib
666
+>16	beshort		4		application/x-coredump
667
+#
668
+# DOS
669
+0		string			MZ				application/x-dosexec
670
+#
671
+# KDE
672
+0		string	[KDE\ Desktop\ Entry]	application/x-kdelnk
673
+0		string	\#\ KDE\ Config\ File	application/x-kdelnk
674
+# xmcd database file for kscd
675
+0		string	\#\ xmcd                text/xmcd
676
+
677
+#------------------------------------------------------------------------------
678
+# pkgadd:  file(1) magic for SysV R4 PKG Datastreams
679
+#
680
+0       string          #\ PaCkAgE\ DaTaStReAm  application/x-svr4-package
681
+
682
+#PNG Image Format
683
+0	string		\x89PNG			image/png
684
+
685
+# MNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
686
+0	string		\x8aMNG			video/x-mng
687
+0	string		\x8aJNG			video/x-jng
688
+
689
+#------------------------------------------------------------------------------
690
+# Hierarchical Data Format, used to facilitate scientific data exchange
691
+# specifications at http://hdf.ncsa.uiuc.edu/
692
+#Hierarchical Data Format (version 4) data
693
+0	belong		0x0e031301		application/x-hdf
694
+#Hierarchical Data Format (version 5) data
695
+0	string		\211HDF\r\n\032		application/x-hdf
696
+
697
+# Adobe Photoshop
698
+0	string		8BPS			image/x-photoshop
699
+
700
+# Felix von Leitner <felix-file@fefe.de>
701
+0	string		d8:announce		application/x-bittorrent
702
+
703
+
704
+# lotus 1-2-3 document
705
+0	belong	0x00001a00	application/x-123
706
+0	belong	0x00000200 	application/x-123
707
+
708
+# MS Access database
709
+4	string	Standard\ Jet\ DB	application/msaccess
710
+
711
+## magic for XBase files
712
+#0      byte       0x02	
713
+#>8     leshort	  >0
714
+#>>12   leshort    0	application/x-dbf
715
+#
716
+#0      byte       0x03	
717
+#>8     leshort	  >0
718
+#>>12   leshort    0	application/x-dbf
719
+#
720
+#0      byte       0x04	
721
+#>8     leshort	  >0
722
+#>>12   leshort    0	application/x-dbf
723
+#
724
+#0      byte       0x05	
725
+#>8     leshort	  >0
726
+#>>12   leshort    0	application/x-dbf
727
+#
728
+#0      byte       0x30
729
+#>8     leshort	  >0
730
+#>>12   leshort    0	application/x-dbf
731
+#
732
+#0      byte       0x43
733
+#>8     leshort	  >0
734
+#>>12   leshort    0	application/x-dbf
735
+#
736
+#0      byte       0x7b
737
+#>8     leshort	  >0
738
+#>>12   leshort    0	application/x-dbf
739
+#
740
+#0      byte       0x83	
741
+#>8     leshort	  >0
742
+#>>12   leshort    0	application/x-dbf
743
+#
744
+#0      byte       0x8b
745
+#>8     leshort	  >0
746
+#>>12   leshort    0	application/x-dbf
747
+#
748
+#0      byte       0x8e	
749
+#>8     leshort	  >0
750
+#>>12   leshort    0	application/x-dbf
751
+#
752
+#0      byte       0xb3
753
+#>8     leshort	  >0
754
+#>>12   leshort    0	application/x-dbf
755
+#
756
+#0      byte       0xf5
757
+#>8     leshort	  >0
758
+#>>12   leshort    0	application/x-dbf
759
+#
760
+#0	leshort		0x0006		application/x-dbt
761
+
762
+# Debian has entries for the old PGP formats:
763
+# pgp:  file(1) magic for Pretty Good Privacy
764
+# see http://lists.gnupg.org/pipermail/gnupg-devel/1999-September/016052.html
765
+#text/PGP key public ring
766
+0	beshort		0x9900			application/pgp
767
+#text/PGP key security ring
768
+0	beshort		0x9501			application/pgp
769
+#text/PGP key security ring
770
+0	beshort		0x9500			application/pgp
771
+#text/PGP encrypted data
772
+0	beshort		0xa600			application/pgp-encrypted
773
+#text/PGP armored data
774
+##public key block
775
+2	string	---BEGIN\ PGP\ PUBLIC\ KEY\ BLOCK-	application/pgp-keys
776
+0	string	-----BEGIN\040PGP\40MESSAGE-			application/pgp
777
+0	string	-----BEGIN\040PGP\40SIGNATURE-			application/pgp-signature
778
+#
779
+# GnuPG Magic:
780
+# 
781
+#
782
+#text/GnuPG key public ring
783
+0	beshort		0x9901			application/pgp
784
+#text/OpenPGP data
785
+0	beshort		0x8501			application/pgp-encrypted	
786
+
787
+# flash:        file(1) magic for Macromedia Flash file format
788
+#
789
+# See
790
+#
791
+#       http://www.macromedia.com/software/flash/open/
792
+#
793
+0	string		FWS             
794
+>3	byte		x			application/x-shockwave-flash
795
+
796
+# The following paramaters are created for Namazu.
797
+# <http://www.namazu.org/>
798
+#
799
+# 1999/08/13
800
+#0	string		\<!--\ MHonArc		text/html; x-type=mhonarc
801
+0	string		BZh			application/x-bzip2
802
+
803
+# 1999/09/09
804
+# VRML (suggested by Masao Takaku)
805
+0	string		#VRML\ V1.0\ ascii	model/vrml
806
+0	string		#VRML\ V2.0\ utf8	model/vrml
807
+
808
+#------------------------------------------------------------------------------
809
+# ichitaro456: file(1) magic for Just System Word Processor Ichitaro
810
+#
811
+# Contributor kenzo-:
812
+# Reversed-engineered JS Ichitaro magic numbers
813
+#
814
+
815
+0	string		DOC
816
+>43	byte		0x14		application/ichitaro4
817
+>144	string	JDASH		application/ichitaro4
818
+
819
+0	string		DOC
820
+>43	byte		0x15		application/ichitaro5
821
+
822
+0	string		DOC
823
+>43	byte		0x16		application/ichitaro6
824
+
825
+#------------------------------------------------------------------------------
826
+# office97: file(1) magic for MicroSoft Office files
827
+#
828
+# Contributor kenzo-:
829
+# Reversed-engineered MS Office magic numbers
830
+#
831
+
832
+#0       string          \320\317\021\340\241\261\032\341
833
+#>48     byte            0x1B            application/excel
834
+
835
+2080	string	Microsoft\ Excel\ 5.0\ Worksheet	application/excel
836
+2114	string	Biff5					application/excel
837
+
838
+0       string	\224\246\056		application/msword
839
+
840
+0	belong	0x31be0000		application/msword
841
+
842
+0	string	PO^Q`			application/msword
843
+
844
+0	string	\320\317\021\340\241\261\032\341
845
+>546	string	bjbj			application/msword
846
+>546	string	jbjb			application/msword
847
+
848
+512	string	R\0o\0o\0t\0\ \0E\0n\0t\0r\0y	application/msword
849
+
850
+2080	string	Microsoft\ Word\ 6.0\ Document	application/msword
851
+2080	string	Documento\ Microsoft\ Word\ 6	application/msword
852
+2112	string	MSWordDoc			application/msword
853
+
854
+#0	string	\320\317\021\340\241\261\032\341	application/powerpoint
855
+0	string	\320\317\021\340\241\261\032\341	application/msword
856
+
857
+0       string  #\ PaCkAgE\ DaTaStReAm  application/x-svr4-package
858
+
859
+
860
+# WinNT/WinCE PE files (Warner Losh, imp@village.org)
861
+#
862
+128		string	PE\000\000	application/octet-stream
863
+0		string	PE\000\000	application/octet-stream
864
+
865
+# miscellaneous formats
866
+0		string	LZ		application/octet-stream
867
+
868
+
869
+# .EXE formats (Greg Roelofs, newt@uchicago.edu)
870
+#
871
+0		string	MZ
872
+>24		string	@		application/octet-stream
873
+
874
+0		string	MZ
875
+>30		string	Copyright\ 1989-1990\ PKWARE\ Inc.	application/x-zip
876
+
877
+0		string	MZ
878
+>30		string	PKLITE\ Copr.	application/x-zip
879
+
880
+0		string	MZ
881
+>36		string	LHa's\ SFX	application/x-lha
882
+
883
+0		string	MZ		application/octet-stream
884
+
885
+# LHA archiver
886
+2		string	-lh
887
+>6		string	-		application/x-lha
888
+
889
+
890
+# Zoo archiver
891
+20		lelong	0xfdc4a7dc	application/x-zoo
892
+
893
+# ARC archiver
894
+0       	lelong&0x8080ffff	0x0000081a	application/x-arc
895
+0		lelong&0x8080ffff	0x0000091a	application/x-arc
896
+0		lelong&0x8080ffff	0x0000021a	application/x-arc
897
+0		lelong&0x8080ffff	0x0000031a	application/x-arc
898
+0		lelong&0x8080ffff	0x0000041a	application/x-arc
899
+0		lelong&0x8080ffff	0x0000061a	application/x-arc
900
+
901
+# Microsoft Outlook's Transport Neutral Encapsulation Format (TNEF)
902
+0		lelong	0x223e9f78	application/ms-tnef
903
+
904
+# From: stephane.loeuillet@tiscali.f
905
+# http://www.djvuzone.org/
906
+0	string		AT&TFORM	image/x.djvu
907
+
908
+# Danny Milosavljevic <danny.milo@gmx.net>
909
+# this are adrift (adventure game standard) game files, extension .taf
910
+# depending on version magic continues with 0x93453E6139FA (V 4.0)
911
+# 0x9445376139FA (V 3.90)
912
+# 0x9445366139FA (V 3.80)
913
+# this is from source (http://www.adrift.org.uk/) and I have some taf
914
+# files, and checked them.
915
+#0	belong	0x3C423FC9
916
+#>4	belong	0x6A87C2CF	application/x-adrift
917
+#0	string	\000\000\001\000	image/x-ico
918
+
919
+# Quark Xpress 3 Files:
920
+# (made the mimetype up) 
921
+0	string	\0\0MMXPR3\0	application/x-quark-xpress-3
922
+
923
+# EET archive
924
+# From: Tilman Sauerbeck <tilman@code-monkey.de>
925
+0	belong	0x1ee7ff00	application/x-eet
926
+
927
+# From: Denis Knauf, via gentoo.
928
+0	string	fLaC		audio/x-flac
929
+0	string	CWS		application/x-shockwave-flash
930
+
931
+# Gnumeric spreadsheet
932
+# This entry is only semi-helpful, as Gnumeric compresses its files, so
933
+# they will ordinarily reported as "compressed", but at least -z helps
934
+39      string          =<gmr:Workbook           application/x-gnumeric
935
+

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/access_compat.load

@@ -0,0 +1,2 @@
1
+# Depends: authn_core
2
+LoadModule access_compat_module /usr/lib/apache2/modules/mod_access_compat.so

+ 9 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/actions.conf

@@ -0,0 +1,9 @@
1
+# a2enmod-note: needs-configuration
2
+
3
+#
4
+# Action lets you define media types that will execute a script whenever
5
+# a matching file is called. This eliminates the need for repeated URL
6
+# pathnames for oft-used CGI file processors.
7
+# Format: Action media/type /cgi-script/location
8
+# Format: Action handler-name /cgi-script/location
9
+#

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/actions.load

@@ -0,0 +1 @@
1
+LoadModule actions_module /usr/lib/apache2/modules/mod_actions.so

+ 19 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/alias.conf

@@ -0,0 +1,19 @@
1
+# Aliases: Add here as many aliases as you need (with no limit). The format is
2
+# Alias fakename realname
3
+#
4
+# Note that if you include a trailing / on fakename then the server will
5
+# require it to be present in the URL.  So "/icons" isn't aliased in this
6
+# example, only "/icons/".  If the fakename is slash-terminated, then the
7
+# realname must also be slash terminated, and if the fakename omits the
8
+# trailing slash, the realname must also omit it.
9
+#
10
+# We include the /icons/ alias for FancyIndexed directory listings.  If
11
+# you do not use FancyIndexing, you may comment this out.
12
+
13
+Alias /icons/ "/usr/share/apache2/icons/"
14
+
15
+<Directory "/usr/share/apache2/icons">
16
+	Options FollowSymlinks
17
+	AllowOverride None
18
+	Require all granted
19
+</Directory>

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/alias.load

@@ -0,0 +1 @@
1
+LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/allowmethods.load

@@ -0,0 +1 @@
1
+LoadModule allowmethods_module /usr/lib/apache2/modules/mod_allowmethods.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/asis.load

@@ -0,0 +1,2 @@
1
+# Depends: mime
2
+LoadModule asis_module /usr/lib/apache2/modules/mod_asis.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/auth_basic.load

@@ -0,0 +1,2 @@
1
+# Depends: authn_core
2
+LoadModule auth_basic_module /usr/lib/apache2/modules/mod_auth_basic.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/auth_digest.load

@@ -0,0 +1,2 @@
1
+# Depends: authn_core
2
+LoadModule auth_digest_module /usr/lib/apache2/modules/mod_auth_digest.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/auth_form.load

@@ -0,0 +1,2 @@
1
+# Depends: session authn_core
2
+LoadModule auth_form_module /usr/lib/apache2/modules/mod_auth_form.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authn_anon.load

@@ -0,0 +1 @@
1
+LoadModule authn_anon_module /usr/lib/apache2/modules/mod_authn_anon.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authn_core.load

@@ -0,0 +1 @@
1
+LoadModule authn_core_module /usr/lib/apache2/modules/mod_authn_core.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authn_dbd.load

@@ -0,0 +1,2 @@
1
+# Depends: dbd
2
+LoadModule authn_dbd_module /usr/lib/apache2/modules/mod_authn_dbd.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authn_dbm.load

@@ -0,0 +1 @@
1
+LoadModule authn_dbm_module /usr/lib/apache2/modules/mod_authn_dbm.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authn_file.load

@@ -0,0 +1 @@
1
+LoadModule authn_file_module /usr/lib/apache2/modules/mod_authn_file.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authn_socache.load

@@ -0,0 +1 @@
1
+LoadModule authn_socache_module /usr/lib/apache2/modules/mod_authn_socache.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authnz_fcgi.load

@@ -0,0 +1 @@
1
+LoadModule authnz_fcgi_module /usr/lib/apache2/modules/mod_authnz_fcgi.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authnz_ldap.load

@@ -0,0 +1,2 @@
1
+# Depends: ldap
2
+LoadModule authnz_ldap_module /usr/lib/apache2/modules/mod_authnz_ldap.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authz_core.load

@@ -0,0 +1 @@
1
+LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authz_dbd.load

@@ -0,0 +1,2 @@
1
+# Depends: dbd authz_core
2
+LoadModule authz_dbd_module /usr/lib/apache2/modules/mod_authz_dbd.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authz_dbm.load

@@ -0,0 +1,2 @@
1
+# Depends: authz_core
2
+LoadModule authz_dbm_module /usr/lib/apache2/modules/mod_authz_dbm.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authz_groupfile.load

@@ -0,0 +1,2 @@
1
+# Depends: authz_core
2
+LoadModule authz_groupfile_module /usr/lib/apache2/modules/mod_authz_groupfile.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authz_host.load

@@ -0,0 +1,2 @@
1
+# Depends: authz_core
2
+LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authz_owner.load

@@ -0,0 +1 @@
1
+LoadModule authz_owner_module /usr/lib/apache2/modules/mod_authz_owner.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/authz_user.load

@@ -0,0 +1,2 @@
1
+# Depends: authz_core
2
+LoadModule authz_user_module /usr/lib/apache2/modules/mod_authz_user.so

+ 91 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/autoindex.conf

@@ -0,0 +1,91 @@
1
+# Directives controlling the display of server-generated directory listings.
2
+
3
+#
4
+# IndexOptions: Controls the appearance of server-generated directory
5
+# listings.
6
+# Remove/replace the "Charset=UTF-8" if you don't use UTF-8 for your filenames.
7
+IndexOptions FancyIndexing VersionSort HTMLTable NameWidth=* DescriptionWidth=* Charset=UTF-8
8
+
9
+#
10
+# AddIcon* directives tell the server which icon to show for different
11
+# files or filename extensions.  These are only displayed for
12
+# FancyIndexed directories.
13
+AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip x-bzip2
14
+
15
+AddIconByType (TXT,/icons/text.gif) text/*
16
+AddIconByType (IMG,/icons/image2.gif) image/*
17
+AddIconByType (SND,/icons/sound2.gif) audio/*
18
+AddIconByType (VID,/icons/movie.gif) video/*
19
+
20
+AddIcon /icons/binary.gif .bin .exe
21
+AddIcon /icons/binhex.gif .hqx
22
+AddIcon /icons/tar.gif .tar
23
+AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
24
+AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
25
+AddIcon /icons/a.gif .ps .ai .eps
26
+AddIcon /icons/layout.gif .html .shtml .htm .pdf
27
+AddIcon /icons/text.gif .txt
28
+AddIcon /icons/c.gif .c
29
+AddIcon /icons/p.gif .pl .py
30
+AddIcon /icons/f.gif .for
31
+AddIcon /icons/dvi.gif .dvi
32
+AddIcon /icons/uuencoded.gif .uu
33
+AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
34
+AddIcon /icons/tex.gif .tex
35
+# It's a suffix rule, so simply matching "core" matches "score" as well !
36
+AddIcon /icons/bomb.gif /core
37
+AddIcon (SND,/icons/sound2.gif) .ogg
38
+AddIcon (VID,/icons/movie.gif) .ogm
39
+
40
+AddIcon /icons/back.gif ..
41
+AddIcon /icons/hand.right.gif README
42
+AddIcon /icons/folder.gif ^^DIRECTORY^^
43
+AddIcon /icons/blank.gif ^^BLANKICON^^
44
+
45
+# Default icons for OpenDocument format
46
+AddIcon /icons/odf6odt-20x22.png .odt
47
+AddIcon /icons/odf6ods-20x22.png .ods
48
+AddIcon /icons/odf6odp-20x22.png .odp
49
+AddIcon /icons/odf6odg-20x22.png .odg
50
+AddIcon /icons/odf6odc-20x22.png .odc
51
+AddIcon /icons/odf6odf-20x22.png .odf
52
+AddIcon /icons/odf6odb-20x22.png .odb
53
+AddIcon /icons/odf6odi-20x22.png .odi
54
+AddIcon /icons/odf6odm-20x22.png .odm
55
+
56
+AddIcon /icons/odf6ott-20x22.png .ott
57
+AddIcon /icons/odf6ots-20x22.png .ots
58
+AddIcon /icons/odf6otp-20x22.png .otp
59
+AddIcon /icons/odf6otg-20x22.png .otg
60
+AddIcon /icons/odf6otc-20x22.png .otc
61
+AddIcon /icons/odf6otf-20x22.png .otf
62
+AddIcon /icons/odf6oti-20x22.png .oti
63
+AddIcon /icons/odf6oth-20x22.png .oth
64
+
65
+#
66
+# DefaultIcon is which icon to show for files which do not have an icon
67
+# explicitly set.
68
+DefaultIcon /icons/unknown.gif
69
+
70
+#
71
+# AddDescription allows you to place a short description after a file in
72
+# server-generated indexes.  These are only displayed for FancyIndexed
73
+# directories.
74
+# Format: AddDescription "description" filename
75
+#AddDescription "GZIP compressed document" .gz
76
+#AddDescription "tar archive" .tar
77
+#AddDescription "GZIP compressed tar archive" .tgz
78
+
79
+#
80
+# ReadmeName is the name of the README file the server will look for by
81
+# default, and append to directory listings.
82
+#
83
+# HeaderName is the name of a file which should be prepended to
84
+# directory indexes
85
+ReadmeName README.html
86
+HeaderName HEADER.html
87
+
88
+#
89
+# IndexIgnore is a set of filenames which directory indexing should ignore
90
+# and not include in the listing.  Shell-style wildcarding is permitted.
91
+IndexIgnore .??* *~ *# RCS CVS *,v *,t

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/autoindex.load

@@ -0,0 +1 @@
1
+LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/brotli.load

@@ -0,0 +1 @@
1
+LoadModule brotli_module /usr/lib/apache2/modules/mod_brotli.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/buffer.load

@@ -0,0 +1 @@
1
+LoadModule buffer_module /usr/lib/apache2/modules/mod_buffer.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/bw.load

@@ -0,0 +1 @@
1
+LoadModule bw_module /usr/lib/apache2/modules/mod_bw.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/cache.load

@@ -0,0 +1 @@
1
+LoadModule cache_module /usr/lib/apache2/modules/mod_cache.so

+ 21 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/cache_disk.conf

@@ -0,0 +1,21 @@
1
+# cache cleaning is done by htcacheclean, which can be configured in
2
+# /etc/default/apache2
3
+#
4
+# For further information, see the comments in that file,
5
+# /usr/share/doc/apache2/README.Debian, and the htcacheclean(8)
6
+# man page.
7
+
8
+# This path must be the same as the one in /etc/default/apache2
9
+CacheRoot /var/cache/apache2/mod_cache_disk
10
+
11
+# This will also cache local documents. It usually makes more sense to
12
+# put this into the configuration for just one virtual host.
13
+#CacheEnable disk /
14
+
15
+
16
+# The result of CacheDirLevels * CacheDirLength must not be higher than
17
+# 20. Moreover, pay attention on file system limits. Some file systems
18
+# do not support more than a certain number of inodes and
19
+# subdirectories (e.g. 32000 for ext3)
20
+CacheDirLevels 2
21
+CacheDirLength 1

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/cache_disk.load

@@ -0,0 +1,2 @@
1
+# Depends: cache
2
+LoadModule cache_disk_module /usr/lib/apache2/modules/mod_cache_disk.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/cache_socache.load

@@ -0,0 +1,2 @@
1
+# Depends: cache
2
+LoadModule cache_socache_module /usr/lib/apache2/modules/mod_cache_socache.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/cern_meta.load

@@ -0,0 +1 @@
1
+LoadModule cern_meta_module /usr/lib/apache2/modules/mod_cern_meta.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/cgi.load

@@ -0,0 +1 @@
1
+LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/cgid.conf

@@ -0,0 +1,2 @@
1
+# Socket for cgid communication
2
+ScriptSock ${APACHE_RUN_DIR}/socks/cgisock

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/cgid.load

@@ -0,0 +1 @@
1
+LoadModule cgid_module /usr/lib/apache2/modules/mod_cgid.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/charset_lite.load

@@ -0,0 +1 @@
1
+LoadModule charset_lite_module /usr/lib/apache2/modules/mod_charset_lite.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/data.load

@@ -0,0 +1 @@
1
+LoadModule data_module /usr/lib/apache2/modules/mod_data.so

+ 3 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dav.load

@@ -0,0 +1,3 @@
1
+<IfModule !mod_dav.c>
2
+	LoadModule dav_module /usr/lib/apache2/modules/mod_dav.so
3
+</IfModule>

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dav_fs.conf

@@ -0,0 +1 @@
1
+DAVLockDB ${APACHE_LOCK_DIR}/DAVLock

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dav_fs.load

@@ -0,0 +1,2 @@
1
+# Depends: dav
2
+LoadModule dav_fs_module /usr/lib/apache2/modules/mod_dav_fs.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dav_lock.load

@@ -0,0 +1 @@
1
+LoadModule dav_lock_module /usr/lib/apache2/modules/mod_dav_lock.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dbd.load

@@ -0,0 +1 @@
1
+LoadModule dbd_module /usr/lib/apache2/modules/mod_dbd.so

+ 7 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/deflate.conf

@@ -0,0 +1,7 @@
1
+<IfModule mod_filter.c>
2
+	AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
3
+	AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
4
+	AddOutputFilterByType DEFLATE application/rss+xml
5
+	AddOutputFilterByType DEFLATE application/wasm
6
+	AddOutputFilterByType DEFLATE application/xml
7
+</IfModule>

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/deflate.load

@@ -0,0 +1,2 @@
1
+# Depends: filter
2
+LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dialup.load

@@ -0,0 +1 @@
1
+LoadModule dialup_module /usr/lib/apache2/modules/mod_dialup.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dir.conf

@@ -0,0 +1 @@
1
+DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dir.load

@@ -0,0 +1 @@
1
+LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/dump_io.load

@@ -0,0 +1 @@
1
+LoadModule dumpio_module /usr/lib/apache2/modules/mod_dumpio.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/echo.load

@@ -0,0 +1 @@
1
+LoadModule echo_module /usr/lib/apache2/modules/mod_echo.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/encoding.load

@@ -0,0 +1 @@
1
+LoadModule encoding_module /usr/lib/apache2/modules/mod_encoding.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/env.load

@@ -0,0 +1 @@
1
+LoadModule env_module /usr/lib/apache2/modules/mod_env.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/expires.load

@@ -0,0 +1 @@
1
+LoadModule expires_module /usr/lib/apache2/modules/mod_expires.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/ext_filter.load

@@ -0,0 +1 @@
1
+LoadModule ext_filter_module /usr/lib/apache2/modules/mod_ext_filter.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/file_cache.load

@@ -0,0 +1,2 @@
1
+# Depends: cache
2
+LoadModule file_cache_module /usr/lib/apache2/modules/mod_file_cache.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/filter.load

@@ -0,0 +1 @@
1
+LoadModule filter_module /usr/lib/apache2/modules/mod_filter.so

+ 8 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/geoip.conf

@@ -0,0 +1,8 @@
1
+<IfModule mod_geoip.c>
2
+  # For performance reasons, it's not recommended to turn GeoIP on serverwide,
3
+  # but rather only in <Location> or <Directory> blocks where it's actually
4
+  # needed.
5
+  GeoIPEnable Off
6
+  #GeoIPDBFile /usr/share/GeoIP/GeoIP.dat
7
+</IfModule>
8
+

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/geoip.load

@@ -0,0 +1 @@
1
+LoadModule geoip_module /usr/lib/apache2/modules/mod_geoip.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/headers.load

@@ -0,0 +1 @@
1
+LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so

+ 3 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/heartbeat.load

@@ -0,0 +1,3 @@
1
+# This module depends on mod_watchdog to be loaded before. In Debian, this
2
+# module is statically linked.
3
+LoadModule heartbeat_module /usr/lib/apache2/modules/mod_heartbeat.so

+ 3 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/heartmonitor.load

@@ -0,0 +1,3 @@
1
+# This module depends on mod_watchdog to be loaded before. In Debian, this
2
+# module is statically linked.
3
+LoadModule heartmonitor_module /usr/lib/apache2/modules/mod_heartmonitor.so

+ 30 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/http2.conf

@@ -0,0 +1,30 @@
1
+Protocols h2 h2c http/1.1
2
+
3
+# # HTTP/2 push configuration
4
+#
5
+# H2Push          on
6
+#
7
+# # Default Priority Rule
8
+#
9
+# H2PushPriority * After 16
10
+#
11
+# # More complex ruleset:
12
+#
13
+# H2PushPriority  *                       after
14
+# H2PushPriority  text/css                before
15
+# H2PushPriority  image/jpeg              after   32
16
+# H2PushPriority  image/png               after   32
17
+# H2PushPriority  application/javascript  interleaved
18
+#
19
+# # Configure some stylesheet and script to be pushed by the webserver
20
+#
21
+# <FilesMatch "\.html$">
22
+#     Header add Link "</style.css>; rel=preload; as=style"
23
+#     Header add Link "</script.js>; rel=preload; as=script"
24
+# </FilesMatch>
25
+# Since mod_http2 doesn't support the mod_logio module (which provide the %O format),
26
+# you may want to change your LogFormat directive as follow:
27
+#
28
+# LogFormat "%v:%p %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
29
+# LogFormat "%h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined
30
+# LogFormat "%h %l %u %t \"%r\" %>s %B" common

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/http2.load

@@ -0,0 +1 @@
1
+LoadModule http2_module /usr/lib/apache2/modules/mod_http2.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/ident.load

@@ -0,0 +1 @@
1
+LoadModule ident_module /usr/lib/apache2/modules/mod_ident.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/imagemap.load

@@ -0,0 +1 @@
1
+LoadModule imagemap_module /usr/lib/apache2/modules/mod_imagemap.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/include.load

@@ -0,0 +1,2 @@
1
+# Depends: mime
2
+LoadModule include_module /usr/lib/apache2/modules/mod_include.so

+ 9 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/info.conf

@@ -0,0 +1,9 @@
1
+# Allow remote server configuration reports, with the URL of
2
+#  http://servername/server-info (requires that mod_info.c be loaded).
3
+# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
4
+#
5
+<Location /server-info>
6
+	SetHandler server-info
7
+	Require local
8
+	#Require ip 192.0.2.0/24
9
+</Location>

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/info.load

@@ -0,0 +1 @@
1
+LoadModule info_module /usr/lib/apache2/modules/mod_info.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/lbmethod_bybusyness.load

@@ -0,0 +1,2 @@
1
+# Depends: proxy_balancer
2
+LoadModule lbmethod_bybusyness_module /usr/lib/apache2/modules/mod_lbmethod_bybusyness.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/lbmethod_byrequests.load

@@ -0,0 +1,2 @@
1
+# Depends: proxy_balancer
2
+LoadModule lbmethod_byrequests_module /usr/lib/apache2/modules/mod_lbmethod_byrequests.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/lbmethod_bytraffic.load

@@ -0,0 +1,2 @@
1
+# Depends: proxy_balancer
2
+LoadModule lbmethod_bytraffic_module /usr/lib/apache2/modules/mod_lbmethod_bytraffic.so

+ 2 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/lbmethod_heartbeat.load

@@ -0,0 +1,2 @@
1
+# Depends: proxy_balancer
2
+LoadModule lbmethod_heartbeat_module /usr/lib/apache2/modules/mod_lbmethod_heartbeat.so

+ 4 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/ldap.conf

@@ -0,0 +1,4 @@
1
+<Location /ldap-status>
2
+	SetHandler ldap-status
3
+	Require local
4
+</Location>

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/ldap.load

@@ -0,0 +1 @@
1
+LoadModule ldap_module /usr/lib/apache2/modules/mod_ldap.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/log_debug.load

@@ -0,0 +1 @@
1
+LoadModule log_debug_module /usr/lib/apache2/modules/mod_log_debug.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/log_forensic.load

@@ -0,0 +1 @@
1
+LoadModule log_forensic_module /usr/lib/apache2/modules/mod_log_forensic.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/lua.load

@@ -0,0 +1 @@
1
+LoadModule lua_module /usr/lib/apache2/modules/mod_lua.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/macro.load

@@ -0,0 +1 @@
1
+LoadModule macro_module /usr/lib/apache2/modules/mod_macro.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/md.load

@@ -0,0 +1 @@
1
+LoadModule md_module /usr/lib/apache2/modules/mod_md.so

+ 246 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/mime.conf

@@ -0,0 +1,246 @@
1
+#
2
+# TypesConfig points to the file containing the list of mappings from
3
+# filename extension to MIME-type.
4
+#
5
+TypesConfig /etc/mime.types
6
+
7
+#
8
+# AddType allows you to add to or override the MIME configuration
9
+# file mime.types for specific file types.
10
+#
11
+#AddType application/x-gzip .tgz
12
+#
13
+# AddEncoding allows you to have certain browsers uncompress
14
+# information on the fly. Note: Not all browsers support this.
15
+# Despite the name similarity, the following Add* directives have
16
+# nothing to do with the FancyIndexing customization directives above.
17
+#
18
+#AddEncoding x-compress .Z
19
+#AddEncoding x-gzip .gz .tgz
20
+#AddEncoding x-bzip2 .bz2
21
+#
22
+# If the AddEncoding directives above are commented-out, then you
23
+# probably should define those extensions to indicate media types:
24
+#
25
+AddType application/x-compress .Z
26
+AddType application/x-gzip .gz .tgz
27
+AddType application/x-bzip2 .bz2
28
+
29
+#
30
+# DefaultLanguage and AddLanguage allows you to specify the language of
31
+# a document. You can then use content negotiation to give a browser a
32
+# file in a language the user can understand.
33
+#
34
+# Specify a default language. This means that all data
35
+# going out without a specific language tag (see below) will
36
+# be marked with this one. You probably do NOT want to set
37
+# this unless you are sure it is correct for all cases.
38
+#
39
+# * It is generally better to not mark a page as
40
+# * being a certain language than marking it with the wrong
41
+# * language!
42
+#
43
+# DefaultLanguage nl
44
+#
45
+# Note 1: The suffix does not have to be the same as the language
46
+# keyword --- those with documents in Polish (whose net-standard
47
+# language code is pl) may wish to use "AddLanguage pl .po" to
48
+# avoid the ambiguity with the common suffix for perl scripts.
49
+#
50
+# Note 2: The example entries below illustrate that in some cases
51
+# the two character 'Language' abbreviation is not identical to
52
+# the two character 'Country' code for its country,
53
+# E.g. 'Danmark/dk' versus 'Danish/da'.
54
+#
55
+# Note 3: In the case of 'ltz' we violate the RFC by using a three char
56
+# specifier. There is 'work in progress' to fix this and get
57
+# the reference data for rfc1766 cleaned up.
58
+#
59
+# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
60
+# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
61
+# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
62
+# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
63
+# Norwegian (no) - Polish (pl) - Portugese (pt)
64
+# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
65
+# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
66
+#
67
+AddLanguage am .amh
68
+AddLanguage ar .ara
69
+AddLanguage be .be
70
+AddLanguage bg .bg
71
+AddLanguage bn .bn
72
+AddLanguage br .br
73
+AddLanguage bs .bs
74
+AddLanguage ca .ca
75
+AddLanguage cs .cz .cs
76
+AddLanguage cy .cy
77
+AddLanguage da .da
78
+AddLanguage da .dk
79
+AddLanguage de .de
80
+AddLanguage dz .dz
81
+AddLanguage el .el
82
+AddLanguage en .en
83
+AddLanguage eo .eo
84
+# es is ecmascript in /etc/mime.types
85
+RemoveType  es
86
+AddLanguage es .es
87
+AddLanguage et .et
88
+AddLanguage eu .eu
89
+AddLanguage fa .fa
90
+AddLanguage fi .fi
91
+AddLanguage fr .fr
92
+AddLanguage ga .ga
93
+AddLanguage gl .glg
94
+AddLanguage gu .gu
95
+AddLanguage he .he
96
+AddLanguage hi .hi
97
+AddLanguage hr .hr
98
+AddLanguage hu .hu
99
+AddLanguage hy .hy
100
+AddLanguage id .id
101
+AddLanguage is .is
102
+AddLanguage it .it
103
+AddLanguage ja .ja
104
+AddLanguage ka .ka
105
+AddLanguage kk .kk
106
+AddLanguage km .km
107
+AddLanguage kn .kn
108
+AddLanguage ko .ko
109
+AddLanguage ku .ku
110
+AddLanguage lo .lo
111
+AddLanguage lt .lt
112
+AddLanguage ltz .ltz
113
+AddLanguage lv .lv
114
+AddLanguage mg .mg
115
+AddLanguage mk .mk
116
+AddLanguage ml .ml
117
+AddLanguage mr .mr
118
+AddLanguage ms .msa
119
+AddLanguage nb .nob
120
+AddLanguage ne .ne
121
+AddLanguage nl .nl
122
+AddLanguage nn .nn
123
+AddLanguage no .no
124
+AddLanguage pa .pa
125
+AddLanguage pl .po
126
+AddLanguage pt-BR .pt-br
127
+AddLanguage pt .pt
128
+AddLanguage ro .ro
129
+AddLanguage ru .ru
130
+AddLanguage sa .sa
131
+AddLanguage se .se
132
+AddLanguage si .si
133
+AddLanguage sk .sk
134
+AddLanguage sl .sl
135
+AddLanguage sq .sq
136
+AddLanguage sr .sr
137
+AddLanguage sv .sv
138
+AddLanguage ta .ta
139
+AddLanguage te .te
140
+AddLanguage th .th
141
+AddLanguage tl .tl
142
+RemoveType  tr
143
+# tr is troff in /etc/mime.types
144
+AddLanguage tr .tr
145
+AddLanguage uk .uk
146
+AddLanguage ur .ur
147
+AddLanguage vi .vi
148
+AddLanguage wo .wo
149
+AddLanguage xh .xh
150
+AddLanguage zh-CN .zh-cn
151
+AddLanguage zh-TW .zh-tw
152
+
153
+#
154
+# Commonly used filename extensions to character sets. You probably
155
+# want to avoid clashes with the language extensions, unless you
156
+# are good at carefully testing your setup after each change.
157
+# See http://www.iana.org/assignments/character-sets for the
158
+# official list of charset names and their respective RFCs.
159
+#
160
+AddCharset us-ascii     .ascii      .us-ascii
161
+AddCharset ISO-8859-1   .iso8859-1  .latin1
162
+AddCharset ISO-8859-2   .iso8859-2  .latin2 .cen
163
+AddCharset ISO-8859-3   .iso8859-3  .latin3
164
+AddCharset ISO-8859-4   .iso8859-4  .latin4
165
+AddCharset ISO-8859-5   .iso8859-5  .cyr .iso-ru
166
+AddCharset ISO-8859-6   .iso8859-6  .arb .arabic
167
+AddCharset ISO-8859-7   .iso8859-7  .grk .greek
168
+AddCharset ISO-8859-8   .iso8859-8  .heb .hebrew
169
+AddCharset ISO-8859-9   .iso8859-9  .latin5 .trk
170
+AddCharset ISO-8859-10  .iso8859-10 .latin6
171
+AddCharset ISO-8859-13  .iso8859-13
172
+AddCharset ISO-8859-14  .iso8859-14 .latin8
173
+AddCharset ISO-8859-15  .iso8859-15 .latin9
174
+AddCharset ISO-8859-16  .iso8859-16 .latin10
175
+AddCharset ISO-2022-JP  .iso2022-jp .jis
176
+AddCharset ISO-2022-KR  .iso2022-kr .kis
177
+AddCharset ISO-2022-CN  .iso2022-cn .cis
178
+AddCharset Big5         .Big5       .big5 .b5
179
+AddCharset cn-Big5      .cn-big5
180
+# For russian, more than one charset is used (depends on client, mostly):
181
+AddCharset WINDOWS-1251     .cp-1251    .win-1251
182
+AddCharset CP866            .cp866
183
+AddCharset KOI8             .koi8
184
+AddCharset KOI8-E           .koi8-e
185
+AddCharset KOI8-r           .koi8-r     .koi8-ru
186
+AddCharset KOI8-U           .koi8-u
187
+AddCharset KOI8-ru          .koi8-uk    .ua
188
+AddCharset ISO-10646-UCS-2  .ucs2
189
+AddCharset ISO-10646-UCS-4  .ucs4
190
+AddCharset UTF-7            .utf7
191
+AddCharset UTF-8            .utf8
192
+AddCharset UTF-16           .utf16
193
+AddCharset UTF-16BE         .utf16be
194
+AddCharset UTF-16LE         .utf16le
195
+AddCharset UTF-32           .utf32
196
+AddCharset UTF-32BE         .utf32be
197
+AddCharset UTF-32LE         .utf32le
198
+AddCharset euc-cn           .euc-cn
199
+AddCharset euc-gb           .euc-gb
200
+AddCharset euc-jp           .euc-jp
201
+AddCharset euc-kr           .euc-kr
202
+#Not sure how euc-tw got in - IANA doesn't list it???
203
+AddCharset EUC-TW           .euc-tw
204
+AddCharset gb2312           .gb2312     .gb
205
+AddCharset iso-10646-ucs-2  .ucs-2      .iso-10646-ucs-2
206
+AddCharset iso-10646-ucs-4  .ucs-4      .iso-10646-ucs-4
207
+AddCharset shift_jis        .shift_jis  .sjis
208
+AddCharset BRF              .brf
209
+
210
+#
211
+# AddHandler allows you to map certain file extensions to "handlers":
212
+# actions unrelated to filetype. These can be either built into the server
213
+# or added with the Action directive (see below)
214
+#
215
+# To use CGI scripts outside of ScriptAliased directories:
216
+# (You will also need to add "ExecCGI" to the "Options" directive.)
217
+#
218
+#AddHandler cgi-script .cgi
219
+
220
+#
221
+# For files that include their own HTTP headers:
222
+#
223
+#AddHandler send-as-is asis
224
+
225
+#
226
+# For server-parsed imagemap files:
227
+#
228
+#AddHandler imap-file map
229
+
230
+#
231
+# For type maps (negotiated resources):
232
+# (This is enabled by default to allow the Apache "It Worked" page
233
+#  to be distributed in multiple languages.)
234
+#
235
+AddHandler type-map var
236
+
237
+#
238
+# Filters allow you to process content before it is sent to the client.
239
+#
240
+# To parse .shtml files for server-side includes (SSI):
241
+# (You will also need to add "Includes" to the "Options" directive.)
242
+#
243
+AddType text/html .shtml
244
+<IfModule mod_include.c>
245
+	AddOutputFilter INCLUDES .shtml
246
+</IfModule>

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/mime.load

@@ -0,0 +1 @@
1
+LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so

+ 1 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/mime_magic.conf

@@ -0,0 +1 @@
1
+MIMEMagicFile /etc/apache2/magic

+ 0 - 0
docs/apache2_examples/apache2-subdomen1/mods-available/mime_magic.load


Some files were not shown because too many files changed in this diff