All pastes #99864 Raw Edit

stef

public text v1 · immutable
#99864 ·published 2006-07-25 19:00 UTC
rendered paste body
   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# lsnano httpd.conf
 481.
      (B)0[?1h=[?1h=[?1h=[?1h=^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
 482.
      ^X Exit^J Justify   ^W Where Is  ^V Next Page ^U UnCut Txt ^T To Spell  [ Reading File ]## This is the main Apache HTTP server configuration file.  It contains the
 483.
      # configuration directives that give the server its instructions.
 484.
      # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
 485.
      # In particular, see
 486.
      # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
 487.
      # for a discussion of each configuration directive.
 488.
      ## Do NOT simply read the instructions in here without understanding
 489.
      # what they do.  They're here only as hints or reminders.  If you are unsure
 490.
      # consult the online docs. You have been warned.
 491.
      ## Configuration and logfile names: If the filenames you specify for many
 492.
      # of the server's control files begin with "/" (or "drive:/" for Win32), the
 493.
      # server will use that explicit path.  If the filenames do *not* begin
 494.
      # with "/", the value of ServerRoot is prepended -- so "/var/log/foo.log"
 495.
      # with ServerRoot set to "/usr/local" will be interpreted by the
 496.
      # server as "/usr/local//var/log/foo.log".
 497.
      ## ServerRoot: The top of the directory tree under which the server's
 498.
      # configuration, error, and log files are kept.
 499.
      ## Do not add a slash at the end of the directory path.  If you point
 500.
      # ServerRoot at a non-local disk, be sure to point the LockFile directive
 501.
      # at a local disk.  If you wish to share the same ServerRoot for multiple
 502.
      # httpd daemons, you will need to change at least LockFile and PidFile.
 503.
      #ServerRoot "/usr/local"
 504.
      ## Listen: Allows you to bind Apache to specific IP addresses and/or
 505.
      # ports, instead of the default. See also the <VirtualHost>
 506.
                                      [ Reading File ]
 507.
      ^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
 508.
      ^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Txt ^T To Spell[ Read 479 lines ]  GNU nano 1.2.5                  File: httpd.conf                              
 509.
      # Listen: Allows you to bind Apache to specific IP addresses and/orports, instead of the default. See also the <VirtualHost>directive.Change this to Listen on specific IP addresses as shown below toprevent Apache from glomming onto all bound IP addresses. 
 510.
      Listen 192.168.0.100:80
 511.
      Listen 80
 512.
      # Dynamic Shared Object (DSO) SupportTo be able to use the functionality of a module which was built as a DSO youhave to place corresponding `LoadModule' lines at this location so thedirectives contained in it are actually available _before_ they are used.Statically compiled modules (those listed by `httpd -l') do not needto be loaded here.
 513.
      # Example:LoadModule foo_module modules/mod_foo.so
 514.
      LoadModule authn_file_module libexec/apache22/mod_authn_file.so
 515.
      LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
 516.
      LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
 517.
      LoadModule authn_default_module libexec/apache22/mod_authn_default.so
 518.
      LoadModule authz_host_module libexec/apache22/mod_authz_host.so
 519.
      LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
 520.
      LoadModule authz_user_module libexec/apache22/mod_authz_user.so
 521.
      LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
 522.
      LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
 523.
      LoadModule authz_default_module libexec/apache22/mod_authz_default.so
 524.
      LoadModule auth_basic_module libexec/apache22/mod_auth_basic.soLoadModule authz_default_module libexec/apache22/mod_authz_default.so
 525.
      LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
 526.
      LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
 527.
      LoadModule file_cache_module libexec/apache22/mod_file_cache.so
 528.
      LoadModule cache_module libexec/apache22/mod_cache.so
 529.
      LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
 530.
      LoadModule include_module libexec/apache22/mod_include.so
 531.
      LoadModule filter_module libexec/apache22/mod_filter.so
 532.
      LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
 533.
      LoadModule deflate_module libexec/apache22/mod_deflate.so
 534.
      LoadModule log_config_module libexec/apache22/mod_log_config.so
 535.
      LoadModule logio_module libexec/apache22/mod_logio.so
 536.
      LoadModule env_module libexec/apache22/mod_env.so
 537.
      LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
 538.
      LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
 539.
      LoadModule expires_module libexec/apache22/mod_expires.so
 540.
      LoadModule headers_module libexec/apache22/mod_headers.so
 541.
      LoadModule usertrack_module libexec/apache22/mod_usertrack.so
 542.
      LoadModule unique_id_module libexec/apache22/mod_unique_id.so
 543.
      LoadModule setenvif_module libexec/apache22/mod_setenvif.so
 544.
      LoadModule version_module libexec/apache22/mod_version
 545.
      LoadModule ssl_module libexec/apache22/mod_ssl.somime_module libexec/apache22/mod_mimdav_module libexec/apache22/mod_davstatus_module libexec/apache22/mod_statusoindex_module libexec/apache22/mod_autoindexsis_module libexec/apache22/mod_asisinfo_module libexec/apache22/mod_infocgi_module libexec/apache22/mod_cgidav_fs_module libexec/apache22/mod_dav_fsvhost_aliasvhost_aliasnegotiation_module libexec/apache22/mod_negotiationdir_module libexec/apache22/mod_dirnegotiation_module libexec/apache22/mod_negotiationdir_module libexec/apache22/mod_dirimagemap_module libexec/apache22/mod_imagemapactions_module libexec/apache22/mod_actionsspeling_module libexec/apache22/mod_spelinguserdir_module libexec/apache22/mod_userdiralias_module libexec/apache22/mod_aliasrewrite_module libexec/apache22/mod_rewritephp5_module        libexec/apache22/libphp5av_module         libexec/apache22/mod_davdav_svn_module     libexec/apache22/mod_dav_svnauthz_svn_module   libexec/apache22/mod_authz_svn
 546.
      <IfModule !mpm_netware_module>
 547.
      ## If you wish httpd to run as a different user or group, you must run
 548.
      # httpd as root initially and it will switch.
 549.
      ## User/Group: The name (or #number) of the user/group to run httpd as.
 550.
      # It is usually good practice to create a dedicated user and group for
 551.
      # running httpd, as with most system services.
 552.
      #User svn
 553.
      Group svn
 554.
      </If>
 555.
      # 'Main' server configuration
 556.
      ## The directives in this section set up the values used by the 'main'
 557.
      # server, which responds to any requests that aren't handled by a
 558.
      # <VirtualHost> definition.  These values also provide defaults for
 559.
      # any <VirtualHost> containers you may define later in the file.
 560.
      ## any <VirtualHost> containers you may define later in the file.
 561.
      ## All of these directives may appear inside <VirtualHost> containers,
 562.
      # in which case these default settings will be overridden for the
 563.
      # virtual host being defined.
 564.
      ### ServerAdmin: Your address, where problems with the server should be
 565.
      # e-mailed.  This address appears on some server-generated pages, such
 566.
      # as error documents.  e.g. admin@your-domain.com
 567.
      #ServerAdmin stef@3wsimple.com
 568.
      # ServerName gives the name and port that the server uses to identify itself.This can often be determined automatically, but we recommend you specifyit explicitly to prevent problems during startup.If your host doesn't have a registered DNS name, enter its IP address here.
 569.
      ServerName solutech.homelinux.org:80
 570.
      ## DocumentRoot: The directory out of which you will serve your
 571.
      # documents. By default, all requests are taken from this directory, butsymbolic links and aliases may be used to point to other locations.
 572.
      DocumentRoot "/usr/local/www"
 573.
      # Each directory to which Apache has access can be configured with respectto which services and features are allowed and/or disabled in that
 574.
      DocumentRoot "/usr/local/www"Modified /apache22/data
 575.
      Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?                     Y Yes
 576.
       N No     ^C Cancel
 577.
      ^G Get Help^T To FilesM-O Mac FormatM-P Prepend
 578.
      ^C Cancel    M-D DOS FormatM-A AppendM-B Backup File    
 579.
      File Name to Write: httpd.conf                                                  
 580.
                                    [ Wrote 479 lines ]        ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur PosX Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Txt ^T To Spell  [?1h=[?1h=
 581.
      
 582.
      [?1l>bash-2.05b# nano httpd.conf
 583.
      (B)0[?1h=[?1h=[?1h=[?1h=^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
 584.
      ^X Exit^J Justify   ^W Where Is  ^V Next Page ^U UnCut Txt ^T To Spell  [ Reading File ]## This is the main Apache HTTP server configuration file.  It contains the
 585.
      # configuration directives that give the server its instructions.
 586.
      # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
 587.
      # In particular, see
 588.
      # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
 589.
      # for a discussion of each configuration directive.
 590.
      ## Do NOT simply read the instructions in here without understanding
 591.
      # what they do.  They're here only as hints or reminders.  If you are unsure
 592.
      # consult the online docs. You have been warned.
 593.
      ## Configuration and logfile names: If the filenames you specify for many
 594.
      # of the server's control files begin with "/" (or "drive:/" for Win32), the
 595.
      # server will use that explicit path.  If the filenames do *not* begin
 596.
      # with "/", the value of ServerRoot is prepended -- so "/var/log/foo.log"
 597.
      # with ServerRoot set to "/usr/local" will be interpreted by the
 598.
      # server as "/usr/local//var/log/foo.log".
 599.
      ## ServerRoot: The top of the directory tree under which the server's
 600.
      # configuration, error, and log files are kept.
 601.
      ## Do not add a slash at the end of the directory path.  If you point
 602.
      # ServerRoot at a non-local disk, be sure to point the LockFile directive
 603.
      # at a local disk.  If you wish to share the same ServerRoot for multiple
 604.
      # httpd daemons, you will need to change at least LockFile and PidFile.
 605.
      #ServerRoot "/usr/local"
 606.
      ## Listen: Allows you to bind Apache to specific IP addresses and/or
 607.
      # ports, instead of the default. See also the <VirtualHost>
 608.
                                      [ Reading File ]
 609.
      ^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
 610.
      ^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Txt ^T To Spell[ Read 479 lines ]  GNU nano 1.2.5                  File: httpd.conf                              
 611.
      [?1h=[?1h=
 612.
      [?1l>bash-2.05b# clear
 613.
      bash-2.05b# clear
 614.
      bash-2.05b# clear
 615.
      bash-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