1.
# This is the main Apache HTTP server configuration file. It contains the
2.
# configuration directives that give the server its instructions.
3.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
4.
# In particular, see
5.
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
6.
# for a discussion of each configuration directive.
7.
#
8.
# Do NOT simply read the instructions in here without understanding
9.
# what they do. They're here only as hints or reminders. If you are unsure
10.
# consult the online docs. You have been warned.
11.
#
12.
# Configuration and logfile names: If the filenames you specify for many
13.
# of the server's control files begin with "/" (or "drive:/" for Win32), the
14.
# server will use that explicit path. If the filenames do *not* begin
15.
# with "/", the value of ServerRoot is prepended -- so "/var/log/foo.log"
16.
# with ServerRoot set to "/usr/local" will be interpreted by the
17.
# server as "/usr/local//var/log/foo.log".
18.
19.
#
20.
# ServerRoot: The top of the directory tree under which the server's
21.
# configuration, error, and log files are kept.
22.
#
23.
# Do not add a slash at the end of the directory path. If you point
24.
# ServerRoot at a non-local disk, be sure to point the LockFile directive
25.
# at a local disk. If you wish to share the same ServerRoot for multiple
26.
# httpd daemons, you will need to change at least LockFile and PidFile.
27.
#
28.
ServerRoot "/usr/local"
29.
30.
#
31.
# Listen: Allows you to bind Apache to specific IP addresses and/or
32.
# ports, instead of the default. See also the <VirtualHost>
33.
# directive.
34.
#
35.
# Change this to Listen on specific IP addresses as shown below to
36.
# prevent Apache from glomming onto all bound IP addresses.
37.
#
38.
Listen 192.168.0.100:80
39.
Listen 80
40.
41.
#
42.
# Dynamic Shared Object (DSO) Support
43.
#
44.
# To be able to use the functionality of a module which was built as a DSO you
45.
# have to place corresponding `LoadModule' lines at this location so the
46.
# directives contained in it are actually available _before_ they are used.
47.
# Statically compiled modules (those listed by `httpd -l') do not need
48.
# to be loaded here.
49.
#
50.
# Example:
51.
# LoadModule foo_module modules/mod_foo.so
52.
#
53.
LoadModule authn_file_module libexec/apache22/mod_authn_file.so
54.
LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
55.
LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
56.
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
57.
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
58.
LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
59.
LoadModule authz_user_module libexec/apache22/mod_authz_user.so
60.
LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
61.
LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
62.
LoadModule authz_default_module libexec/apache22/mod_authz_default.so
63.
LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
64.
LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
65.
LoadModule file_cache_module libexec/apache22/mod_file_cache.so
66.
LoadModule cache_module libexec/apache22/mod_cache.so
67.
LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
68.
LoadModule include_module libexec/apache22/mod_include.so
69.
LoadModule filter_module libexec/apache22/mod_filter.so
70.
LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
71.
LoadModule deflate_module libexec/apache22/mod_deflate.so
72.
LoadModule log_config_module libexec/apache22/mod_log_config.so
73.
LoadModule logio_module libexec/apache22/mod_logio.so
74.
LoadModule env_module libexec/apache22/mod_env.so
75.
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
76.
LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
77.
LoadModule expires_module libexec/apache22/mod_expires.so
78.
LoadModule headers_module libexec/apache22/mod_headers.so
79.
LoadModule usertrack_module libexec/apache22/mod_usertrack.so
80.
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
81.
LoadModule setenvif_module libexec/apache22/mod_setenvif.so
82.
LoadModule version_module libexec/apache22/mod_version.so
83.
LoadModule ssl_module libexec/apache22/mod_ssl.so
84.
LoadModule mime_module libexec/apache22/mod_mime.so
85.
LoadModule dav_module libexec/apache22/mod_dav.so
86.
LoadModule status_module libexec/apache22/mod_status.so
87.
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
88.
LoadModule asis_module libexec/apache22/mod_asis.so
89.
LoadModule info_module libexec/apache22/mod_info.so
90.
LoadModule cgi_module libexec/apache22/mod_cgi.so
91.
LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
92.
LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
93.
LoadModule negotiation_module libexec/apache22/mod_negotiation.so
94.
LoadModule dir_module libexec/apache22/mod_dir.so
95.
LoadModule imagemap_module libexec/apache22/mod_imagemap.so
96.
LoadModule actions_module libexec/apache22/mod_actions.so
97.
LoadModule speling_module libexec/apache22/mod_speling.so
98.
LoadModule userdir_module libexec/apache22/mod_userdir.so
99.
LoadModule alias_module libexec/apache22/mod_alias.so
100.
LoadModule rewrite_module libexec/apache22/mod_rewrite.so
101.
LoadModule php5_module libexec/apache22/libphp5.so
102.
LoadModule dav_module libexec/apache22/mod_dav.so
103.
LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so
104.
LoadModule authz_svn_module libexec/apache22/mod_authz_svn.so
105.
106.
<IfModule !mpm_netware_module>
107.
#
108.
# If you wish httpd to run as a different user or group, you must run
109.
# httpd as root initially and it will switch.
110.
#
111.
# User/Group: The name (or #number) of the user/group to run httpd as.
112.
# It is usually good practice to create a dedicated user and group for
113.
# running httpd, as with most system services.
114.
#
115.
User svn
116.
Group svn
117.
</IfModule>
118.
119.
# 'Main' server configuration
120.
#
121.
# The directives in this section set up the values used by the 'main'
122.
# server, which responds to any requests that aren't handled by a
123.
# <VirtualHost> definition. These values also provide defaults for
124.
# any <VirtualHost> containers you may define later in the file.
125.
#
126.
# All of these directives may appear inside <VirtualHost> containers,
127.
# in which case these default settings will be overridden for the
128.
# virtual host being defined.
129.
#
130.
131.
#
132.
# ServerAdmin: Your address, where problems with the server should be
133.
# e-mailed. This address appears on some server-generated pages, such
134.
# as error documents. e.g. admin@your-domain.com
135.
#
136.
ServerAdmin stef@3wsimple.com
137.
138.
#
139.
# ServerName gives the name and port that the server uses to identify itself.
140.
# This can often be determined automatically, but we recommend you specify
141.
# it explicitly to prevent problems during startup.
142.
#
143.
# If your host doesn't have a registered DNS name, enter its IP address here.
144.
#
145.
ServerName solutech.homelinux.org:80
146.
147.
#
148.
# DocumentRoot: The directory out of which you will serve your
149.
# documents. By default, all requests are taken from this directory, but
150.
# symbolic links and aliases may be used to point to other locations.
151.
#
152.
DocumentRoot "/usr/local/www"
153.
154.
#
155.
# Each directory to which Apache has access can be configured with respect
156.
# to which services and features are allowed and/or disabled in that
157.
# directory (and its subdirectories).
158.
#
159.
# First, we configure the "default" to be a very restrictive set of
160.
# features.
161.
#
162.
<Directory />
163.
AllowOverride None
164.
Order deny,allow
165.
Deny from all
166.
</Directory>
167.
168.
#
169.
# Note that from this point forward you must specifically allow
170.
# particular features to be enabled - so if something's not working as
171.
# you might expect, make sure that you have specifically enabled it
172.
# below.
173.
#
174.
175.
#
176.
# This should be changed to whatever you set DocumentRoot to.
177.
#
178.
<Directory "/usr/local/www/apache22/data">
179.
#
180.
# Possible values for the Options directive are "None", "All",
181.
# or any combination of:
182.
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
183.
#
184.
# Note that "MultiViews" must be named *explicitly* --- "Options All"
185.
# doesn't give it to you.
186.
#
187.
# The Options directive is both complicated and important. Please see
188.
# http://httpd.apache.org/docs/2.2/mod/core.html#options
189.
# for more information.
190.
#
191.
Options Indexes FollowSymLinks
192.
193.
#
194.
# AllowOverride controls what directives may be placed in .htaccess files.
195.
# It can be "All", "None", or any combination of the keywords:
196.
# Options FileInfo AuthConfig Limit
197.
#
198.
AllowOverride None
199.
200.
#
201.
# Controls who can get stuff from this server.
202.
#
203.
Order allow,deny
204.
Allow from all
205.
206.
</Directory>
207.
208.
Alias /dev/ "/usr/home/stef/dev/"
209.
210.
<Directory "/usr/home/stef/dev">
211.
Options Indexes MultiViews
212.
AllowOverride None
213.
Order allow,deny
214.
Allow from all
215.
</Directory>
216.
217.
218.
#
219.
# DirectoryIndex: sets the file that Apache will serve if a directory
220.
# is requested.
221.
#
222.
<IfModule dir_module>
223.
DirectoryIndex index.php index.html
224.
</IfModule>
225.
226.
#
227.
# The following lines prevent .htaccess and .htpasswd files from being
228.
# viewed by Web clients.
229.
#
230.
<FilesMatch "^\.ht">
231.
Order allow,deny
232.
Deny from all
233.
Satisfy All
234.
</FilesMatch>
235.
236.
#
237.
# ErrorLog: The location of the error log file.
238.
# If you do not specify an ErrorLog directive within a <VirtualHost>
239.
# container, error messages relating to that virtual host will be
240.
# logged here. If you *do* define an error logfile for a <VirtualHost>
241.
# container, that host's errors will be logged there and not here.
242.
#
243.
ErrorLog /var/log/httpd-error.log
244.
245.
#
246.
# LogLevel: Control the number of messages logged to the error_log.
247.
# Possible values include: debug, info, notice, warn, error, crit,
248.
# alert, emerg.
249.
#
250.
LogLevel warn
251.
252.
<IfModule log_config_module>
253.
#
254.
# The following directives define some format nicknames for use with
255.
# a CustomLog directive (see below).
256.
#
257.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
258.
LogFormat "%h %l %u %t \"%r\" %>s %b" common
259.
260.
<IfModule logio_module>
261.
# You need to enable mod_logio.c to use %I and %O
262.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
263.
</IfModule>
264.
265.
#
266.
# The location and format of the access logfile (Common Logfile Format).
267.
# If you do not define any access logfiles within a <VirtualHost>
268.
# container, they will be logged here. Contrariwise, if you *do*
269.
# define per-<VirtualHost> access logfiles, transactions will be
270.
# logged therein and *not* in this file.
271.
#
272.
#CustomLog /var/log/httpd-access.log common
273.
274.
#
275.
# If you prefer a logfile with access, agent, and referer information
276.
# (Combined Logfile Format) you can use the following directive.
277.
#
278.
CustomLog /var/log/httpd-access.log combined
279.
</IfModule>
280.
281.
<IfModule alias_module>
282.
#
283.
# Redirect: Allows you to tell clients about documents that used to
284.
# exist in your server's namespace, but do not anymore. The client
285.
# will make a new request for the document at its new location.
286.
# Example:
287.
# Redirect permanent /foo http://www.example.com/bar
288.
289.
#
290.
# Alias: Maps web paths into filesystem paths and is used to
291.
# access content that does not live under the DocumentRoot.
292.
# Example:
293.
# Alias /webpath /full/filesystem/path
294.
#
295.
# If you include a trailing / on /webpath then the server will
296.
# require it to be present in the URL. You will also likely
297.
# need to provide a <Directory> section to allow access to
298.
# the filesystem path.
299.
300.
#
301.
# ScriptAlias: This controls which directories contain server scripts.
302.
# ScriptAliases are essentially the same as Aliases, except that
303.
# documents in the target directory are treated as applications and
304.
# run by the server when requested rather than as documents sent to the
305.
# client. The same rules about trailing "/" apply to ScriptAlias
306.
# directives as to Alias.
307.
#
308.
ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"
309.
310.
</IfModule>
311.
312.
<IfModule cgid_module>
313.
#
314.
# ScriptSock: On threaded servers, designate the path to the UNIX
315.
# socket used to communicate with the CGI daemon of mod_cgid.
316.
#
317.
#Scriptsock /var/run/cgisock
318.
</IfModule>
319.
320.
#
321.
# "/usr/local/www/apache22/cgi-bin" should be changed to whatever your ScriptAliased
322.
# CGI directory exists, if you have that configured.
323.
#
324.
<Directory "/usr/local/www/apache22/cgi-bin">
325.
AllowOverride None
326.
Options None
327.
Order allow,deny
328.
Allow from all
329.
</Directory>
330.
331.
#
332.
# DefaultType: the default MIME type the server will use for a document
333.
# if it cannot otherwise determine one, such as from filename extensions.
334.
# If your server contains mostly text or HTML documents, "text/plain" is
335.
# a good value. If most of your content is binary, such as applications
336.
# or images, you may want to use "application/octet-stream" instead to
337.
# keep browsers from trying to display binary files as though they are
338.
# text.
339.
#
340.
DefaultType text/plain
341.
342.
<IfModule mime_module>
343.
#
344.
# TypesConfig points to the file containing the list of mappings from
345.
# filename extension to MIME-type.
346.
#
347.
TypesConfig etc/apache22/mime.types
348.
349.
#
350.
# AddType allows you to add to or override the MIME configuration
351.
# file specified in TypesConfig for specific file types.
352.
#
353.
AddType application/x-gzip .tgz
354.
#
355.
# AddEncoding allows you to have certain browsers uncompress
356.
# information on the fly. Note: Not all browsers support this.
357.
#
358.
#AddEncoding x-compress .Z
359.
#AddEncoding x-gzip .gz .tgz
360.
#
361.
# If the AddEncoding directives above are commented-out, then you
362.
# probably should define those extensions to indicate media types:
363.
#
364.
AddType application/x-compress .Z
365.
AddType application/x-gzip .gz .tgz
366.
367.
AddType application/x-httpd-php .php
368.
AddType application/x-httpd-php .phtml
369.
AddType application/x-httpd-php-source .phps
370.
371.
#
372.
# AddHandler allows you to map certain file extensions to "handlers":
373.
# actions unrelated to filetype. These can be either built into the server
374.
# or added with the Action directive (see below)
375.
#
376.
# To use CGI scripts outside of ScriptAliased directories:
377.
# (You will also need to add "ExecCGI" to the "Options" directive.)
378.
#
379.
#AddHandler cgi-script .cgi
380.
381.
# For type maps (negotiated resources):
382.
#AddHandler type-map var
383.
384.
#
385.
# Filters allow you to process content before it is sent to the client.
386.
#
387.
# To parse .shtml files for server-side includes (SSI):
388.
# (You will also need to add "Includes" to the "Options" directive.)
389.
#
390.
#AddType text/html .shtml
391.
#AddOutputFilter INCLUDES .shtml
392.
</IfModule>
393.
394.
#
395.
# The mod_mime_magic module allows the server to use various hints from the
396.
# contents of the file itself to determine its type. The MIMEMagicFile
397.
# directive tells the module where the hint definitions are located.
398.
#
399.
#MIMEMagicFile etc/apache22/magic
400.
401.
#
402.
# Customizable error responses come in three flavors:
403.
# 1) plain text 2) local redirects 3) external redirects
404.
#
405.
# Some examples:
406.
#ErrorDocument 500 "The server made a boo boo."
407.
#ErrorDocument 404 /missing.html
408.
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
409.
#ErrorDocument 402 http://www.example.com/subscription_info.html
410.
#
411.
412.
#
413.
# EnableMMAP and EnableSendfile: On systems that support it,
414.
# memory-mapping or the sendfile syscall is used to deliver
415.
# files. This usually improves server performance, but must
416.
# be turned off when serving from networked-mounted
417.
# filesystems or if support for these functions is otherwise
418.
# broken on your system.
419.
#
420.
#EnableMMAP off
421.
#EnableSendfile off
422.
423.
# Supplemental configuration
424.
#
425.
# The configuration files in the etc/apache22/extra/ directory can be
426.
# included to add extra features or to modify the default configuration of
427.
# the server, or you may simply copy their contents here and change as
428.
# necessary.
429.
430.
# Server-pool management (MPM specific)
431.
#Include etc/apache22/extra/httpd-mpm.conf
432.
433.
# Multi-language error messages
434.
#Include etc/apache22/extra/httpd-multilang-errordoc.conf
435.
436.
# Fancy directory listings
437.
#Include etc/apache22/extra/httpd-autoindex.conf
438.
439.
# Language settings
440.
#Include etc/apache22/extra/httpd-languages.conf
441.
442.
# User home directories
443.
#Include etc/apache22/extra/httpd-userdir.conf
444.
445.
# Real-time info on requests and configuration
446.
Include etc/apache22/extra/httpd-info.conf
447.
448.
# Virtual hosts
449.
#Include etc/apache22/extra/httpd-vhosts.conf
450.
451.
# Local access to the Apache HTTP Server Manual
452.
Include etc/apache22/extra/httpd-manual.conf
453.
454.
# Distributed authoring and versioning (WebDAV)
455.
#Include etc/apache22/extra/httpd-dav.conf
456.
457.
# Various default settings
458.
#Include etc/apache22/extra/httpd-default.conf
459.
460.
# Secure (SSL/TLS) connections
461.
Include etc/apache22/extra/httpd-ssl.conf
462.
#
463.
# Note: The following must must be present to support
464.
# starting without SSL on platforms with no /dev/random equivalent
465.
# but a statically compiled-in mod_ssl.
466.
#
467.
<IfModule ssl_module>
468.
SSLRandomSeed startup builtin
469.
SSLRandomSeed connect builtin
470.
</IfModule>
471.
472.
<Location /svn>
473.
DAV svn
474.
SVNParentPath /usr/home/svn/repos
475.
#SVNIndexXSLT "/svnindex.xsl"
476.
</Location>
477.
478.
Include etc/apache22/Includes/*.conf
479.
bash-2.05b# cat httpd.conf
480.
bash-2.05b# ls[Knano httpd.conf
481.
(B)0[1;38r[m[4l[?1h=[?1h=[?1h=[?1h=[H[2J[36B[7m^G[m Get Help [7m^O[m WriteOut [7m^R[m Read File [7m^Y[m Prev Page [7m^K[m Cut Text [7m^C[m Cur Pos
482.
[1B[7m^X[m Exit[6C[7m^J[m Justify [7m^W[m Where Is [7m^V[m Next Page [7m^U[m UnCut Txt [7m^T[m To Spell [36;33H[7m[ Reading File ][m[39;49m[H[39;49m[m[K[1B[K[1B#[K[1B# This is the main Apache HTTP server configuration file. It contains the[K
483.
[1B# configuration directives that give the server its instructions.[K
484.
[1B# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.[K
485.
[1B# In particular, see[K
486.
[1B# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>[K
487.
[1B# for a discussion of each configuration directive.[K
488.
[1B#[K[1B# Do NOT simply read the instructions in here without understanding[K
489.
[1B# what they do. They're here only as hints or reminders. If you are unsure[K
490.
[1B# consult the online docs. You have been warned.[K
491.
[1B#[K[1B# Configuration and logfile names: If the filenames you specify for many[K
492.
[1B# of the server's control files begin with "/" (or "drive:/" for Win32), the[K
493.
[1B# server will use that explicit path. If the filenames do *not* begin[K
494.
[1B# with "/", the value of ServerRoot is prepended -- so "/var/log/foo.log"[K
495.
[1B# with ServerRoot set to "/usr/local" will be interpreted by the[K
496.
[1B# server as "/usr/local//var/log/foo.log".[K
497.
[1B[K[1B#[K[1B# ServerRoot: The top of the directory tree under which the server's[K
498.
[1B# configuration, error, and log files are kept.[K
499.
[1B#[K[1B# Do not add a slash at the end of the directory path. If you point[K
500.
[1B# ServerRoot at a non-local disk, be sure to point the LockFile directive[K
501.
[1B# at a local disk. If you wish to share the same ServerRoot for multiple[K
502.
[1B# httpd daemons, you will need to change at least LockFile and PidFile.[K
503.
[1B#[K[1BServerRoot "/usr/local"[K
504.
[1B[K[1B#[K[1B# Listen: Allows you to bind Apache to specific IP addresses and/or[K
505.
[1B# ports, instead of the default. See also the <VirtualHost>[K
506.
[1B [7m[ Reading File ][m[K
507.
[1B[7m^G[m Get Help [7m^O[m WriteOut [7m^R[m Read File [7m^Y[m Prev Page [7m^K[m Cut Text [7m^C[m Cur Pos[K
508.
[1B[7m^X[m Exit [7m^J[m Justify [7m^W[m Where Is [7m^V[m Next Page [7m^U[m UnCut Txt [7m^T[m To Spell[K[36;32H[7m[ Read 479 line[4hs[4l ][m[H[7m GNU nano 1.2.5 File: httpd.conf [1;51H[m
509.
[2B# Listen: Allows you to bind Apache to specific IP addresses and/or[4;3Hports, instead of the default. See also the <VirtualHost>[K[5;3Hdirective.[K[6;3H[K[1BChange this to Listen on specific IP addresses as shown below to[8;3Hprevent Apache from glomming onto all bound IP addresses. [9;3H[K
510.
[1BListen 192.168.0.100:80
511.
[1BListen 80[K
512.
[1B[K[1B# [K[1BDynamic Shared Object (DSO) Support[15;3H[K[1BTo be able to use the functionality of a module which was built as a DSO you[17;3Hhave to place corresponding `LoadModule' lines at this location so the[18;3Hdirectives contained in it are actually available _before_ they are used.[19;3HStatically compiled modules (those listed by `httpd -l') do not need[20;3Hto be loaded here.[K
513.
[1B#[1B Example:[23;3HLoadModule foo_module modules/mod_foo.so[K[24;3H[K
514.
[1BLoadModule authn_file_module libexec/apache22/mod_authn_file.so
515.
[1BLoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so[K
516.
[1BLoadModule authn_anon_module libexec/apache22/mod_authn_anon.so[K
517.
[1BLoadModule authn_default_module libexec/apache22/mod_authn_default.so[K
518.
[1BLoadModule authz_host_module libexec/apache22/mod_authz_host.so[K
519.
[1BLoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
520.
[1BLoadModule authz_user_module libexec/apache22/mod_authz_user.so
521.
[1BLoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
522.
[1BLoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
523.
[1BLoadModule authz_default_module libexec/apache22/mod_authz_default.so
524.
[1BLoadModule auth_basic_module libexec/apache22/mod_auth_basic.so[3;1HLoadModule authz_default_module libexec/apache22/mod_authz_default.so
525.
[1BLoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
526.
[1BLoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
527.
[1BLoadModule file_cache_module libexec/apache22/mod_file_cache.so
528.
[1BLoadModule cache_module libexec/apache22/mod_cache.so[K
529.
[1BLoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
530.
[1BLoadModule include_module libexec/apache22/mod_include.so
531.
[1BLoadModule filter_module libexec/apache22/mod_filter.so
532.
[1BLoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
533.
[1BLoadModule deflate_module libexec/apache22/mod_deflate.so
534.
[1BLoadModule log_config_module libexec/apache22/mod_log_config.so
535.
[1BLoadModule logio_module libexec/apache22/mod_logio.so
536.
[1BLoadModule env_module libexec/apache22/mod_env.so
537.
[1BLoadModule mime_magic_module libexec/apache22/mod_mime_magic.so[K
538.
[1BLoadModule cern_meta_module libexec/apache22/mod_cern_meta.so[K
539.
[1BLoadModule expires_module libexec/apache22/mod_expires.so[K
540.
[1BLoadModule headers_module libexec/apache22/mod_headers.so[K
541.
[1BLoadModule usertrack_module libexec/apache22/mod_usertrack.so
542.
[1BLoadModule unique_id_module libexec/apache22/mod_unique_id.so
543.
[1BLoadModule setenvif_module libexec/apache22/mod_setenvif.so
544.
[1BLoadModule version_module libexec/apach[4he22/mod_version[4l
545.
[1BLoadModule ssl_module libexec/apache22/mod_ssl.so[25;12Hmime_module libexec/apache22/mod_mim[12P[26;12Hdav_module libexec/apache22/mod_dav[12P[27;12Hstatus_module libexec/apache22/mod_status[8P[28;15Hoindex_module libexec/apache22/mod_autoindex[8P[29;13Hsis_module libexec/apache22/mod_asis[12P[30;12Hinfo_module libexec/apache22/mod_info[22P[31;12Hcgi_module libexec/apache22/mod_cgi[14P[32;12Hdav_fs_module libexec/apache22/mod_dav_fs[6P[33;12Hvhost_alias[29Cvhost_alias[34;12Hnegotiation_module libexec/apache22/mod_negotiation[4P[35;12Hdir_module libexec/apache22/mod_dir[14P[3;1H[3;12Hnegotiation_module libexec/apache22/mod_negotiation[4P[4;12Hdir_module libexec/apache22/mod_dir[14P[5;12Himagemap_module libexec/apache22/mod_imagemap[6P[6;12Hactions_module libexec/apache22/mod_actions[6P[7;12Hspeling_module libexec/apache22/mod_spe[4hling[4l[8;12Huserdir_module libexec/apache22/mod_userdir[6P[9;12Halias_module libexec/apache22/mod_alias[4P[10;12Hrewrite_module libexec/apache22/mod_rewri[4hte[4l[11;12Hphp5_module libexec/apache22/libphp5[10P[12;13Hav_module libexec/apache22/mod_dav[13;12Hdav_svn_module libexec/apache22/mod_dav_svn[2P[14;12Hauthz_svn_module libexec/apache22/mod[4h_authz_svn[4l
546.
[1B[K[1B<IfModule !mpm_netware_module>[K
547.
[1B#[K[1B# If you wish httpd to run as a different user or group, you must run
548.
[1B# httpd as root initially and it will switch.[K
549.
[1B#[K[1B# User/Group: The name (or #number) of the user/group to run httpd as.
550.
[1B# It is usually good practice to create a dedicated user and group for
551.
[1B# running httpd, as with most system services.[K
552.
[1B#[K[1BUser svn[K
553.
[1BGroup svn[K
554.
[1B</If[6C>[K
555.
[1B[K[1B# 'Main' server configuration[K
556.
[1B#[K[1B# The directives in this section set up the values used by the 'main'
557.
[1B# server, which responds to any requests that aren't handled by a
558.
[1B# <VirtualHost> definition. These values also provide defaults for
559.
[1B# any <VirtualHost> containers you may define later in the file.
560.
[1B#[K[3;1H# any <VirtualHost> containers you may define later in the file.
561.
[1B#[K[1B# All of these directives may appear inside <VirtualHost> containers,
562.
[1B# in which case these default settings will be overridden for the
563.
[1B# virtual host being defined.[K
564.
[1B#[K[1B[K[1B#[K[1B# ServerAdmin: Your address, where problems with the server should be
565.
[1B# e-mailed. This address appears on some server-generated pages, such
566.
[1B# as error documents. e.g. admin@your-domain.com[K
567.
[1B#[K[1BServerAdmin stef@3wsimple.com
568.
[1B[K[2B# ServerName gives the name and port that the server uses to identify itself.[19;3HThis can often be determined automatically, but we recommend you specify[20;3Hit explicitly to prevent problems during startup.[21;3H[K[1BIf your host doesn't have a registered DNS name, enter its IP address here.[23;3H[K
569.
[1BServerName solutech.homelinux.org:80
570.
[1B[K[1B#[K[1B# DocumentRoot: The directory out of which you will serve your
571.
[1B# documents. By default, all requests are taken from this directory, but[29;3Hsymbolic links and aliases may be used to point to other locations.
572.
[2BDocumentRoot "/usr/local/www"[K
573.
[1B[K[1B# [K[1BEach directory to which Apache has access can be configured with respect[35;3Hto which services and features are allowed and/or disabled in that[3;1H[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[1B[36;32H[K
574.
[1B[25;1H[1B[1B[1B[1B[1B[1BDocumentRoot "/usr/local/www"[1;71H[7mModified [m[31;29H[4h/[4l[4ha[4l[4hp[4l[4ha[4l[4hc[4l[4hh[4l[4he[4l[4h2[4l[4h2[4l[C[4h/[4l[4hd[4l[4ha[4l[4ht[4l[4ha[4l
575.
[5B[7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? [37;1H Y[m Yes[K
576.
[1B[7m N[m No [6C [7m^C[m Cancel[K[36;62H
577.
[K[1B[7m^G[m Get Help[37;21H[7m^T[m To Files[9C[7mM-O[m Mac Format[6C[7mM-P[m Prepend
578.
[1B[7m^C[m Cancel[7C [7mM-D[m DOS Format[6C[7mM-A[m Append[10C[7mM-B[m Backup File [31;43H
579.
[5B[7mFile Name to Write: httpd.conf [36;31H[m[1;80H[39;49m[39;49m[m
580.
[35B [7m[ Wrote 479 lines ][m[K[1;71H[7m [28D[m[37;14H[7m^O[m WriteOut [7m^R[m Read File [7m^Y[m Prev Page [7m^K[m Cut Text [7m^C[m Cur Pos[38;2H[7mX[m Exit [7m^J[m Justify [7m^W[m Where Is [7m^V[m Next Page [7m^U[m UnCut Txt [7m^T[m To Spell [?1h=[?1h=
581.
[A[J[38;80H[38;1H
582.
[?1l>bash-2.05b# nano httpd.conf
583.
(B)0[1;38r[m[4l[?1h=[?1h=[?1h=[?1h=[H[2J[36B[7m^G[m Get Help [7m^O[m WriteOut [7m^R[m Read File [7m^Y[m Prev Page [7m^K[m Cut Text [7m^C[m Cur Pos
584.
[1B[7m^X[m Exit[6C[7m^J[m Justify [7m^W[m Where Is [7m^V[m Next Page [7m^U[m UnCut Txt [7m^T[m To Spell [36;33H[7m[ Reading File ][m[39;49m[H[39;49m[m[K[1B[K[1B#[K[1B# This is the main Apache HTTP server configuration file. It contains the[K
585.
[1B# configuration directives that give the server its instructions.[K
586.
[1B# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.[K
587.
[1B# In particular, see[K
588.
[1B# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>[K
589.
[1B# for a discussion of each configuration directive.[K
590.
[1B#[K[1B# Do NOT simply read the instructions in here without understanding[K
591.
[1B# what they do. They're here only as hints or reminders. If you are unsure[K
592.
[1B# consult the online docs. You have been warned.[K
593.
[1B#[K[1B# Configuration and logfile names: If the filenames you specify for many[K
594.
[1B# of the server's control files begin with "/" (or "drive:/" for Win32), the[K
595.
[1B# server will use that explicit path. If the filenames do *not* begin[K
596.
[1B# with "/", the value of ServerRoot is prepended -- so "/var/log/foo.log"[K
597.
[1B# with ServerRoot set to "/usr/local" will be interpreted by the[K
598.
[1B# server as "/usr/local//var/log/foo.log".[K
599.
[1B[K[1B#[K[1B# ServerRoot: The top of the directory tree under which the server's[K
600.
[1B# configuration, error, and log files are kept.[K
601.
[1B#[K[1B# Do not add a slash at the end of the directory path. If you point[K
602.
[1B# ServerRoot at a non-local disk, be sure to point the LockFile directive[K
603.
[1B# at a local disk. If you wish to share the same ServerRoot for multiple[K
604.
[1B# httpd daemons, you will need to change at least LockFile and PidFile.[K
605.
[1B#[K[1BServerRoot "/usr/local"[K
606.
[1B[K[1B#[K[1B# Listen: Allows you to bind Apache to specific IP addresses and/or[K
607.
[1B# ports, instead of the default. See also the <VirtualHost>[K
608.
[1B [7m[ Reading File ][m[K
609.
[1B[7m^G[m Get Help [7m^O[m WriteOut [7m^R[m Read File [7m^Y[m Prev Page [7m^K[m Cut Text [7m^C[m Cur Pos[K
610.
[1B[7m^X[m Exit [7m^J[m Justify [7m^W[m Where Is [7m^V[m Next Page [7m^U[m UnCut Txt [7m^T[m To Spell[K[36;32H[7m[ Read 479 line[4hs[4l ][m[H[7m GNU nano 1.2.5 File: httpd.conf [1;51H[m
611.
[2B[?1h=[?1h=[34B[J[38;80H[38;1H
612.
[?1l>bash-2.05b# clear
613.
[H[2Jbash-2.05b# clear
614.
[H[2Jbash-2.05b# clear
615.
[H[2Jbash-2.05b# cat httpd.conf
616.
#
617.
# This is the main Apache HTTP server configuration file. It contains the
618.
# configuration directives that give the server its instructions.
619.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
620.
# In particular, see
621.
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
622.
# for a discussion of each configuration directive.
623.
#
624.
# Do NOT simply read the instructions in here without understanding
625.
# what they do. They're here only as hints or reminders. If you are unsure
626.
# consult the online docs. You have been warned.
627.
#
628.
# Configuration and logfile names: If the filenames you specify for many
629.
# of the server's control files begin with "/" (or "drive:/" for Win32), the
630.
# server will use that explicit path. If the filenames do *not* begin
631.
# with "/", the value of ServerRoot is prepended -- so "/var/log/foo.log"
632.
# with ServerRoot set to "/usr/local" will be interpreted by the
633.
# server as "/usr/local//var/log/foo.log".
634.
635.
#
636.
# ServerRoot: The top of the directory tree under which the server's
637.
# configuration, error, and log files are kept.
638.
#
639.
# Do not add a slash at the end of the directory path. If you point
640.
# ServerRoot at a non-local disk, be sure to point the LockFile directive
641.
# at a local disk. If you wish to share the same ServerRoot for multiple
642.
# httpd daemons, you will need to change at least LockFile and PidFile.
643.
#
644.
ServerRoot "/usr/local"
645.
646.
#
647.
# Listen: Allows you to bind Apache to specific IP addresses and/or
648.
# ports, instead of the default. See also the <VirtualHost>
649.
# directive.
650.
#
651.
# Change this to Listen on specific IP addresses as shown below to
652.
# prevent Apache from glomming onto all bound IP addresses.
653.
#
654.
Listen 192.168.0.100:80
655.
Listen 80
656.
657.
#
658.
# Dynamic Shared Object (DSO) Support
659.
#
660.
# To be able to use the functionality of a module which was built as a DSO you
661.
# have to place corresponding `LoadModule' lines at this location so the
662.
# directives contained in it are actually available _before_ they are used.
663.
# Statically compiled modules (those listed by `httpd -l') do not need
664.
# to be loaded here.
665.
#
666.
# Example:
667.
# LoadModule foo_module modules/mod_foo.so
668.
#
669.
LoadModule authn_file_module libexec/apache22/mod_authn_file.so
670.
LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
671.
LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
672.
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
673.
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
674.
LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
675.
LoadModule authz_user_module libexec/apache22/mod_authz_user.so
676.
LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
677.
LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
678.
LoadModule authz_default_module libexec/apache22/mod_authz_default.so
679.
LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
680.
LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
681.
LoadModule file_cache_module libexec/apache22/mod_file_cache.so
682.
LoadModule cache_module libexec/apache22/mod_cache.so
683.
LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
684.
LoadModule include_module libexec/apache22/mod_include.so
685.
LoadModule filter_module libexec/apache22/mod_filter.so
686.
LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
687.
LoadModule deflate_module libexec/apache22/mod_deflate.so
688.
LoadModule log_config_module libexec/apache22/mod_log_config.so
689.
LoadModule logio_module libexec/apache22/mod_logio.so
690.
LoadModule env_module libexec/apache22/mod_env.so
691.
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
692.
LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
693.
LoadModule expires_module libexec/apache22/mod_expires.so
694.
LoadModule headers_module libexec/apache22/mod_headers.so
695.
LoadModule usertrack_module libexec/apache22/mod_usertrack.so
696.
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
697.
LoadModule setenvif_module libexec/apache22/mod_setenvif.so
698.
LoadModule version_module libexec/apache22/mod_version.so
699.
LoadModule ssl_module libexec/apache22/mod_ssl.so
700.
LoadModule mime_module libexec/apache22/mod_mime.so
701.
LoadModule dav_module libexec/apache22/mod_dav.so
702.
LoadModule status_module libexec/apache22/mod_status.so
703.
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
704.
LoadModule asis_module libexec/apache22/mod_asis.so
705.
LoadModule info_module libexec/apache22/mod_info.so
706.
LoadModule cgi_module libexec/apache22/mod_cgi.so
707.
LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
708.
LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
709.
LoadModule negotiation_module libexec/apache22/mod_negotiation.so
710.
LoadModule dir_module libexec/apache22/mod_dir.so
711.
LoadModule imagemap_module libexec/apache22/mod_imagemap.so
712.
LoadModule actions_module libexec/apache22/mod_actions.so
713.
LoadModule speling_module libexec/apache22/mod_speling.so
714.
LoadModule userdir_module libexec/apache22/mod_userdir.so
715.
LoadModule alias_module libexec/apache22/mod_alias.so
716.
LoadModule rewrite_module libexec/apache22/mod_rewrite.so
717.
LoadModule php5_module libexec/apache22/libphp5.so
718.
LoadModule dav_module libexec/apache22/mod_dav.so
719.
LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so
720.
LoadModule authz_svn_module libexec/apache22/mod_authz_svn.so
721.
722.
<IfModule !mpm_netware_module>
723.
#
724.
# If you wish httpd to run as a different user or group, you must run
725.
# httpd as root initially and it will switch.
726.
#
727.
# User/Group: The name (or #number) of the user/group to run httpd as.
728.
# It is usually good practice to create a dedicated user and group for
729.
# running httpd, as with most system services.
730.
#
731.
User svn
732.
Group svn
733.
</IfModule>
734.
735.
# 'Main' server configuration
736.
#
737.
# The directives in this section set up the values used by the 'main'
738.
# server, which responds to any requests that aren't handled by a
739.
# <VirtualHost> definition. These values also provide defaults for
740.
# any <VirtualHost> containers you may define later in the file.
741.
#
742.
# All of these directives may appear inside <VirtualHost> containers,
743.
# in which case these default settings will be overridden for the
744.
# virtual host being defined.
745.
#
746.
747.
#
748.
# ServerAdmin: Your address, where problems with the server should be
749.
# e-mailed. This address appears on some server-generated pages, such
750.
# as error documents. e.g. admin@your-domain.com
751.
#
752.
ServerAdmin stef@3wsimple.com
753.
754.
#
755.
# ServerName gives the name and port that the server uses to identify itself.
756.
# This can often be determined automatically, but we recommend you specify
757.
# it explicitly to prevent problems during startup.
758.
#
759.
# If your host doesn't have a registered DNS name, enter its IP address here.
760.
#
761.
ServerName solutech.homelinux.org:80
762.
763.
#
764.
# DocumentRoot: The directory out of which you will serve your
765.
# documents. By default, all requests are taken from this directory, but
766.
# symbolic links and aliases may be used to point to other locations.
767.
#
768.
DocumentRoot "/usr/local/www/apache22/data"
769.
770.
#
771.
# Each directory to which Apache has access can be configured with respect
772.
# to which services and features are allowed and/or disabled in that
773.
# directory (and its subdirectories).
774.
#
775.
# First, we configure the "default" to be a very restrictive set of
776.
# features.
777.
#
778.
<Directory />
779.
AllowOverride None
780.
Order deny,allow
781.
Deny from all
782.
</Directory>
783.
784.
#
785.
# Note that from this point forward you must specifically allow
786.
# particular features to be enabled - so if something's not working as
787.
# you might expect, make sure that you have specifically enabled it
788.
# below.
789.
#
790.
791.
#
792.
# This should be changed to whatever you set DocumentRoot to.
793.
#
794.
<Directory "/usr/local/www/apache22/data">
795.
#
796.
# Possible values for the Options directive are "None", "All",
797.
# or any combination of:
798.
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
799.
#
800.
# Note that "MultiViews" must be named *explicitly* --- "Options All"
801.
# doesn't give it to you.
802.
#
803.
# The Options directive is both complicated and important. Please see
804.
# http://httpd.apache.org/docs/2.2/mod/core.html#options
805.
# for more information.
806.
#
807.
Options Indexes FollowSymLinks
808.
809.
#
810.
# AllowOverride controls what directives may be placed in .htaccess files.
811.
# It can be "All", "None", or any combination of the keywords:
812.
# Options FileInfo AuthConfig Limit
813.
#
814.
AllowOverride None
815.
816.
#
817.
# Controls who can get stuff from this server.
818.
#
819.
Order allow,deny
820.
Allow from all
821.
822.
</Directory>
823.
824.
Alias /dev/ "/usr/home/stef/dev/"
825.
826.
<Directory "/usr/home/stef/dev">
827.
Options Indexes MultiViews
828.
AllowOverride None
829.
Order allow,deny
830.
Allow from all
831.
</Directory>
832.
833.
834.
#
835.
# DirectoryIndex: sets the file that Apache will serve if a directory
836.
# is requested.
837.
#
838.
<IfModule dir_module>
839.
DirectoryIndex index.php index.html
840.
</IfModule>
841.
842.
#
843.
# The following lines prevent .htaccess and .htpasswd files from being
844.
# viewed by Web clients.
845.
#
846.
<FilesMatch "^\.ht">
847.
Order allow,deny
848.
Deny from all
849.
Satisfy All
850.
</FilesMatch>
851.
852.
#
853.
# ErrorLog: The location of the error log file.
854.
# If you do not specify an ErrorLog directive within a <VirtualHost>
855.
# container, error messages relating to that virtual host will be
856.
# logged here. If you *do* define an error logfile for a <VirtualHost>
857.
# container, that host's errors will be logged there and not here.
858.
#
859.
ErrorLog /var/log/httpd-error.log
860.
861.
#
862.
# LogLevel: Control the number of messages logged to the error_log.
863.
# Possible values include: debug, info, notice, warn, error, crit,
864.
# alert, emerg.
865.
#
866.
LogLevel warn
867.
868.
<IfModule log_config_module>
869.
#
870.
# The following directives define some format nicknames for use with
871.
# a CustomLog directive (see below).
872.
#
873.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
874.
LogFormat "%h %l %u %t \"%r\" %>s %b" common
875.
876.
<IfModule logio_module>
877.
# You need to enable mod_logio.c to use %I and %O
878.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
879.
</IfModule>
880.
881.
#
882.
# The location and format of the access logfile (Common Logfile Format).
883.
# If you do not define any access logfiles within a <VirtualHost>
884.
# container, they will be logged here. Contrariwise, if you *do*
885.
# define per-<VirtualHost> access logfiles, transactions will be
886.
# logged therein and *not* in this file.
887.
#
888.
#CustomLog /var/log/httpd-access.log common
889.
890.
#
891.
# If you prefer a logfile with access, agent, and referer information
892.
# (Combined Logfile Format) you can use the following directive.
893.
#
894.
CustomLog /var/log/httpd-access.log combined
895.
</IfModule>
896.
897.
<IfModule alias_module>
898.
#
899.
# Redirect: Allows you to tell clients about documents that used to
900.
# exist in your server's namespace, but do not anymore. The client
901.
# will make a new request for the document at its new location.
902.
# Example:
903.
# Redirect permanent /foo http://www.example.com/bar
904.
905.
#
906.
# Alias: Maps web paths into filesystem paths and is used to
907.
# access content that does not live under the DocumentRoot.
908.
# Example:
909.
# Alias /webpath /full/filesystem/path
910.
#
911.
# If you include a trailing / on /webpath then the server will
912.
# require it to be present in the URL. You will also likely
913.
# need to provide a <Directory> section to allow access to
914.
# the filesystem path.
915.
916.
#
917.
# ScriptAlias: This controls which directories contain server scripts.
918.
# ScriptAliases are essentially the same as Aliases, except that
919.
# documents in the target directory are treated as applications and
920.
# run by the server when requested rather than as documents sent to the
921.
# client. The same rules about trailing "/" apply to ScriptAlias
922.
# directives as to Alias.
923.
#
924.
ScriptAlias /cgi-bin/ "/usr/local/www/apache22/cgi-bin/"
925.
926.
</IfModule>
927.
928.
<IfModule cgid_module>
929.
#
930.
# ScriptSock: On threaded servers, designate the path to the UNIX
931.
# socket used to communicate with the CGI daemon of mod_cgid.
932.
#
933.
#Scriptsock /var/run/cgisock
934.
</IfModule>
935.
936.
#
937.
# "/usr/local/www/apache22/cgi-bin" should be changed to whatever your ScriptAliased
938.
# CGI directory exists, if you have that configured.
939.
#
940.
<Directory "/usr/local/www/apache22/cgi-bin">
941.
AllowOverride None
942.
Options None
943.
Order allow,deny
944.
Allow from all
945.
</Directory>
946.
947.
#
948.
# DefaultType: the default MIME type the server will use for a document
949.
# if it cannot otherwise determine one, such as from filename extensions.
950.
# If your server contains mostly text or HTML documents, "text/plain" is
951.
# a good value. If most of your content is binary, such as applications
952.
# or images, you may want to use "application/octet-stream" instead to
953.
# keep browsers from trying to display binary files as though they are
954.
# text.
955.
#
956.
DefaultType text/plain
957.
958.
<IfModule mime_module>
959.
#
960.
# TypesConfig points to the file containing the list of mappings from
961.
# filename extension to MIME-type.
962.
#
963.
TypesConfig etc/apache22/mime.types
964.
965.
#
966.
# AddType allows you to add to or override the MIME configuration
967.
# file specified in TypesConfig for specific file types.
968.
#
969.
AddType application/x-gzip .tgz
970.
#
971.
# AddEncoding allows you to have certain browsers uncompress
972.
# information on the fly. Note: Not all browsers support this.
973.
#
974.
#AddEncoding x-compress .Z
975.
#AddEncoding x-gzip .gz .tgz
976.
#
977.
# If the AddEncoding directives above are commented-out, then you
978.
# probably should define those extensions to indicate media types:
979.
#
980.
AddType application/x-compress .Z
981.
AddType application/x-gzip .gz .tgz
982.
983.
AddType application/x-httpd-php .php
984.
AddType application/x-httpd-php .phtml
985.
AddType application/x-httpd-php-source .phps
986.
987.
#
988.
# AddHandler allows you to map certain file extensions to "handlers":
989.
# actions unrelated to filetype. These can be either built into the server
990.
# or added with the Action directive (see below)
991.
#
992.
# To use CGI scripts outside of ScriptAliased directories:
993.
# (You will also need to add "ExecCGI" to the "Options" directive.)
994.
#
995.
#AddHandler cgi-script .cgi
996.
997.
# For type maps (negotiated resources):
998.
#AddHandler type-map var
999.
1000.
#
1001.
# Filters allow you to process content before it is sent to the client.
1002.
#
1003.
# To parse .shtml files for server-side includes (SSI):
1004.
# (You will also need to add "Includes" to the "Options" directive.)
1005.
#
1006.
#AddType text/html .shtml
1007.
#AddOutputFilter INCLUDES .shtml
1008.
</IfModule>
1009.
1010.
#
1011.
# The mod_mime_magic module allows the server to use various hints from the
1012.
# contents of the file itself to determine its type. The MIMEMagicFile
1013.
# directive tells the module where the hint definitions are located.
1014.
#
1015.
#MIMEMagicFile etc/apache22/magic
1016.
1017.
#
1018.
# Customizable error responses come in three flavors:
1019.
# 1) plain text 2) local redirects 3) external redirects
1020.
#
1021.
# Some examples:
1022.
#ErrorDocument 500 "The server made a boo boo."
1023.
#ErrorDocument 404 /missing.html
1024.
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
1025.
#ErrorDocument 402 http://www.example.com/subscription_info.html
1026.
#
1027.
1028.
#
1029.
# EnableMMAP and EnableSendfile: On systems that support it,
1030.
# memory-mapping or the sendfile syscall is used to deliver
1031.
# files. This usually improves server performance, but must
1032.
# be turned off when serving from networked-mounted
1033.
# filesystems or if support for these functions is otherwise
1034.
# broken on your system.
1035.
#
1036.
#EnableMMAP off
1037.
#EnableSendfile off
1038.
1039.
# Supplemental configuration
1040.
#
1041.
# The configuration files in the etc/apache22/extra/ directory can be
1042.
# included to add extra features or to modify the default configuration of
1043.
# the server, or you may simply copy their contents here and change as
1044.
# necessary.
1045.
1046.
# Server-pool management (MPM specific)
1047.
#Include etc/apache22/extra/httpd-mpm.conf
1048.
1049.
# Multi-language error messages
1050.
#Include etc/apache22/extra/httpd-multilang-errordoc.conf
1051.
1052.
# Fancy directory listings
1053.
#Include etc/apache22/extra/httpd-autoindex.conf
1054.
1055.
# Language settings
1056.
#Include etc/apache22/extra/httpd-languages.conf
1057.
1058.
# User home directories
1059.
#Include etc/apache22/extra/httpd-userdir.conf
1060.
1061.
# Real-time info on requests and configuration
1062.
Include etc/apache22/extra/httpd-info.conf
1063.
1064.
# Virtual hosts
1065.
#Include etc/apache22/extra/httpd-vhosts.conf
1066.
1067.
# Local access to the Apache HTTP Server Manual
1068.
Include etc/apache22/extra/httpd-manual.conf
1069.
1070.
# Distributed authoring and versioning (WebDAV)
1071.
#Include etc/apache22/extra/httpd-dav.conf
1072.
1073.
# Various default settings
1074.
#Include etc/apache22/extra/httpd-default.conf
1075.
1076.
# Secure (SSL/TLS) connections
1077.
Include etc/apache22/extra/httpd-ssl.conf
1078.
#
1079.
# Note: The following must must be present to support
1080.
# starting without SSL on platforms with no /dev/random equivalent
1081.
# but a statically compiled-in mod_ssl.
1082.
#
1083.
<IfModule ssl_module>
1084.
SSLRandomSeed startup builtin
1085.
SSLRandomSeed connect builtin
1086.
</IfModule>
1087.
1088.
<Location /svn>
1089.
DAV svn
1090.
SVNParentPath /usr/home/svn/repos
1091.
#SVNIndexXSLT "/svnindex.xsl"
1092.
</Location>
1093.
1094.
Include etc/apache22/Includes/*.conf