home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / htpdconf.zip / httpd.conf
Text File  |  2003-02-27  |  23KB  |  651 lines

  1. ##
  2. ## httpd.conf -- Apache HTTP server configuration file
  3. ##
  4.  
  5. # This is the main server configuration file. See URL http://www.apache.org/
  6. # for instructions.
  7.  
  8. # Do NOT simply read the instructions in here without understanding
  9. # what they do, if you are unsure consult the online docs. You have been
  10. # warned.
  11.  
  12. # Originally by Rob McCool
  13.  
  14. # These two directives are used to combine the three config files into one.
  15. # The three config files are a legacy setup and are not needed.
  16.  
  17. AccessConfig /dev/null
  18. ResourceConfig /dev/null
  19.  
  20. # ServerRoot: The directory the server's config, error, and log files
  21. # are kept in.
  22. # NOTE!  If you intend to place this on a NFS (or otherwise network)
  23. # mounted filesystem then please read the LockFile documentation,
  24. # you will save yourself a lot of trouble.
  25.  
  26. ServerRoot /opt/IBMHTTPD
  27.  
  28. # Dynamic Shared Object (DSO) Support
  29. #
  30. # To be able to use the functionality of a module which was built as a DSO you
  31. # have to place corresponding `LoadModule' lines at this location so the
  32. # directives contained in it are actually available _before_ they are used.
  33. # Please read the file README.DSO in the Apache 1.3 distribution for more
  34. # details about the DSO mechanism and run `httpd -l' for the list of already
  35. # built-in (statically linked and thus always available) modules in your httpd
  36. # binary.
  37. #
  38. # Example:
  39. # LoadModule foo_module libexec/mod_foo.so
  40. LoadModule env_module         libexec/mod_env.so
  41. LoadModule config_log_module  libexec/mod_log_config.so
  42. #LoadModule mime_magic_module  libexec/mod_mime_magic.so
  43. LoadModule mime_module        libexec/mod_mime.so
  44. LoadModule negotiation_module libexec/mod_negotiation.so
  45. #LoadModule status_module      libexec/mod_status.so
  46. LoadModule includes_module    libexec/mod_include.so
  47. LoadModule autoindex_module   libexec/mod_autoindex.so
  48. LoadModule dir_module         libexec/mod_dir.so
  49. LoadModule cgi_module         libexec/mod_cgi.so
  50. LoadModule asis_module        libexec/mod_asis.so
  51. LoadModule imap_module        libexec/mod_imap.so
  52. LoadModule action_module      libexec/mod_actions.so
  53. #LoadModule speling_module     libexec/mod_speling.so
  54. #LoadModule proxy_module       libexec/libproxy.so
  55. LoadModule userdir_module     libexec/mod_userdir.so
  56. LoadModule alias_module       libexec/mod_alias.so
  57. LoadModule rewrite_module     libexec/mod_rewrite.so
  58. LoadModule access_module      libexec/mod_access.so
  59. LoadModule auth_module        libexec/mod_auth.so
  60. #LoadModule anon_auth_module   libexec/mod_auth_anon.so
  61. LoadModule dbm_auth_module    libexec/mod_auth_dbm.so
  62. #LoadModule cern_meta_module   libexec/mod_cern_meta.so
  63. #LoadModule expires_module     libexec/mod_expires.so
  64. #LoadModule headers_module     libexec/mod_headers.so
  65. #LoadModule usertrack_module   libexec/mod_usertrack.so
  66. LoadModule unique_id_module   libexec/mod_unique_id.so
  67. LoadModule setenvif_module    libexec/mod_setenvif.so
  68.  
  69. #  Reconstruction of the complete module list from all available modules
  70. #  (static and shared ones) to achieve correct module execution order.
  71. #  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
  72. ClearModuleList
  73. AddModule mod_so.c
  74. AddModule mod_env.c
  75. AddModule mod_log_config.c
  76. #AddModule mod_mime_magic.c
  77. AddModule mod_mime.c
  78. AddModule mod_negotiation.c
  79. #AddModule mod_status.c
  80. AddModule mod_include.c
  81. AddModule mod_autoindex.c
  82. AddModule mod_dir.c
  83. AddModule mod_cgi.c
  84. AddModule mod_asis.c
  85. AddModule mod_imap.c
  86. AddModule mod_actions.c
  87. #AddModule mod_speling.c
  88. #AddModule mod_proxy.c
  89. AddModule mod_userdir.c
  90. AddModule mod_alias.c
  91. AddModule mod_rewrite.c
  92. AddModule mod_access.c
  93. AddModule mod_auth.c
  94. #AddModule mod_auth_anon.c
  95. AddModule mod_auth_dbm.c
  96. #AddModule mod_cern_meta.c
  97. #AddModule mod_expires.c
  98. #AddModule mod_headers.c
  99. #AddModule mod_usertrack.c
  100. AddModule mod_unique_id.c
  101. AddModule mod_setenvif.c
  102.  
  103. # ServerType is either inetd, or standalone.
  104.  
  105. ServerType standalone
  106.  
  107. # If you are running from inetd, go to "ServerAdmin".
  108.  
  109. # Port: The port the standalone listens to. For ports < 1023, you will
  110. # need httpd to be run as root initially.
  111.  
  112. Port 80
  113.  
  114. # Listen: The listen directive is required only if the server
  115. # will be listening on more than 1 port.
  116. #Listen 80
  117.  
  118. # HostnameLookups: Log the names of clients or just their IP numbers
  119. #   e.g.   www.apache.org (on) or 204.62.129.132 (off)
  120. # The default is off because it'd be overall better for the net if people
  121. # had to knowingly turn this feature on.
  122.  
  123. HostnameLookups off
  124.  
  125. # If you wish httpd to run as a different user or group, you must run
  126. # httpd as root initially and it will switch.
  127.  
  128. # User/Group: The name (or #number) of the user/group to run httpd as.
  129. #  On SCO (ODT 3) use User nouser and Group nogroup
  130. #  On HPUX you may not be able to use shared memory as nobody, and the
  131. #  suggested workaround is to create a user www and use that user.
  132. #  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
  133. #  when the value of (unsigned)Group is above 60000;
  134. #  don't use Group #-1 on these systems!
  135.  
  136. User nobody
  137. Group nobody
  138.  
  139. # ServerAdmin: Your address, where problems with the server should be
  140. # e-mailed.
  141.  
  142. ServerAdmin you@your.address
  143.  
  144. # BindAddress: You can support virtual hosts with this option. This option
  145. # is used to tell the server which IP address to listen to. It can either
  146. # contain "*", an IP address, or a fully qualified Internet domain name.
  147. # See also the VirtualHost directive.
  148.  
  149. #BindAddress *
  150.  
  151. # ErrorLog: The location of the error log file. If this does not start
  152. # with /, ServerRoot is prepended to it.
  153.  
  154. ErrorLog /opt/IBMHTTPD/logs/error_log
  155.  
  156. # LogLevel: Control the number of messages logged to the error_log.
  157. # Possible values include: debug, info, notice, warn, error, crit,
  158. # alert, emerg.
  159.  
  160. LogLevel warn
  161.  
  162. # The following directives define some format nicknames for use with
  163. # a CustomLog directive (see below).
  164.  
  165. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  166. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  167. LogFormat "%{Referer}i -> %U" referer
  168. LogFormat "%{User-agent}i" agent
  169.  
  170. # The location of the access logfile (Common Logfile Format).
  171. # If this does not start with /, ServerRoot is prepended to it.
  172.  
  173. CustomLog /opt/IBMHTTPD/logs/access_log common
  174.  
  175. # If you would like to have an agent and referer logfile uncomment the
  176. # following directives.
  177.  
  178. #CustomLog /opt/IBMHTTPD/logs/referer_log referer
  179. #CustomLog /opt/IBMHTTPD/logs/agent_log agent
  180.  
  181. # If you prefer a single logfile with access, agent and referer information
  182. # (Combined Logfile Format) you can use the following directive.
  183.  
  184. #CustomLog /opt/IBMHTTPD/logs/access_log combined
  185.  
  186. # PidFile: The file the server should log its pid to
  187. PidFile /opt/IBMHTTPD/logs/httpd.pid
  188.  
  189. # ScoreBoardFile: File used to store internal server process information.
  190. # Not all architectures require this.  But if yours does (you'll know because
  191. # this file is created when you run Apache) then you *must* ensure that
  192. # no two invocations of Apache share the same scoreboard file.
  193. ScoreBoardFile /opt/IBMHTTPD/logs/httpd.scoreboard
  194.  
  195. # The LockFile directive sets the path to the lockfile used when Apache
  196. # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
  197. # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
  198. # its default value. The main reason for changing it is if the logs
  199. # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
  200. # DISK. The PID of the main server process is automatically appended to
  201. # the filename.
  202. #
  203. #LockFile /opt/IBMHTTPD/logs/httpd.lock
  204.  
  205. # ServerName allows you to set a host name which is sent back to clients for
  206. # your server if it's different than the one the program would get (i.e. use
  207. # "www" instead of the host's real name).
  208. #
  209. # Note: You cannot just invent host names and hope they work. The name you
  210. # define here must be a valid DNS name for your host. If you don't understand
  211. # this, ask your network administrator.
  212.  
  213. #ServerName new.host.name
  214.  
  215. # UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
  216. # Apache needs to construct a self-referencing URL (a url that refers back
  217. # to the server the response is coming from) it will use ServerName and
  218. # Port to form a "canonical" name.  With this setting off, Apache will
  219. # use the hostname:port that the client supplied, when possible.  This
  220. # also affects SERVER_NAME and SERVER_PORT in CGIs.
  221. UseCanonicalName on
  222.  
  223. # CacheNegotiatedDocs: By default, Apache sends Pragma: no-cache with each
  224. # document that was negotiated on the basis of content. This asks proxy
  225. # servers not to cache the document. Uncommenting the following line disables
  226. # this behavior, and proxies will be allowed to cache the documents.
  227.  
  228. #CacheNegotiatedDocs
  229.  
  230. # Timeout: The number of seconds before receives and sends time out
  231.  
  232. Timeout 300
  233.  
  234. # KeepAlive: Whether or not to allow persistent connections (more than
  235. # one request per connection). Set to "Off" to deactivate.
  236.  
  237. KeepAlive On
  238.  
  239. # MaxKeepAliveRequests: The maximum number of requests to allow
  240. # during a persistent connection. Set to 0 to allow an unlimited amount.
  241. # We reccomend you leave this number high, for maximum performance.
  242.  
  243. MaxKeepAliveRequests 100
  244.  
  245. # KeepAliveTimeout: Number of seconds to wait for the next request
  246.  
  247. KeepAliveTimeout 15
  248.  
  249. # Server-pool size regulation.  Rather than making you guess how many
  250. # server processes you need, Apache dynamically adapts to the load it
  251. # sees --- that is, it tries to maintain enough server processes to
  252. # handle the current load, plus a few spare servers to handle transient
  253. # load spikes (e.g., multiple simultaneous requests from a single
  254. # Netscape browser).
  255.  
  256. # It does this by periodically checking how many servers are waiting
  257. # for a request.  If there are fewer than MinSpareServers, it creates
  258. # a new spare.  If there are more than MaxSpareServers, some of the
  259. # spares die off.  These values are probably OK for most sites ---
  260.  
  261. MinSpareServers 5
  262. MaxSpareServers 10
  263.  
  264. # Number of servers to start --- should be a reasonable ballpark figure.
  265.  
  266. StartServers 5
  267.  
  268. # Limit on total number of servers running, i.e., limit on the number
  269. # of clients who can simultaneously connect --- if this limit is ever
  270. # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
  271. # It is intended mainly as a brake to keep a runaway server from taking
  272. # Unix with it as it spirals down...
  273.  
  274. MaxClients 150
  275.  
  276. # MaxRequestsPerChild: the number of requests each child process is
  277. #  allowed to process before the child dies.
  278. #  The child will exit so as to avoid problems after prolonged use when
  279. #  Apache (and maybe the libraries it uses) leak.  On most systems, this
  280. #  isn't really needed, but a few (such as Solaris) do have notable leaks
  281. #  in the libraries.
  282.  
  283. MaxRequestsPerChild 10000
  284.  
  285. # Listen: Allows you to bind Apache to specific IP addresses and/or
  286. # ports, in addition to the default. See also the VirtualHost command
  287.  
  288. #Listen 3000
  289. #Listen 12.34.56.78:80
  290.  
  291. # VirtualHost: Allows the daemon to respond to requests for more than one
  292. # server address, if your server machine is configured to accept IP packets
  293. # for multiple addresses. This can be accomplished with the ifconfig
  294. # alias flag, or through kernel patches like VIF.
  295.  
  296. # Any httpd.conf or srm.conf directive may go into a VirtualHost command.
  297. # See also the BindAddress entry.
  298.  
  299. #<VirtualHost host.some_domain.com>
  300. #ServerAdmin webmaster@host.some_domain.com
  301. #DocumentRoot /www/docs/host.some_domain.com
  302. #ServerName host.some_domain.com
  303. #ErrorLog logs/host.some_domain.com-error_log
  304. #TransferLog logs/host.some_domain.com-access_log
  305. #</VirtualHost>
  306.  
  307. # Each directory to which Apache has access, can be configured with respect
  308. # to which services and features are allowed and/or disabled in that
  309. # directory (and its subdirectories).
  310.  
  311. # First, we configure the "default" to be a very restrictive set of
  312. # permissions.
  313.  
  314. <Directory />
  315. Options FollowSymLinks
  316. AllowOverride None
  317. </Directory>
  318.  
  319. # Note that from this point forward you must specifically allow
  320. # particular features to be enabled - so if something's not working as
  321. # you might expect, make sure that you have specifically enabled it
  322. # below.
  323.  
  324. # This should be changed to whatever you set DocumentRoot to.
  325.  
  326. <Directory /opt/IBMHTTPD/htdocs/en_US>
  327.  
  328. # This may also be "None", "All", or any combination of "Indexes",
  329. # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
  330.  
  331. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  332. # doesn't give it to you.
  333.  
  334. Options Indexes FollowSymLinks
  335.  
  336. # This controls which options the .htaccess files in directories can
  337. # override. Can also be "All", or any combination of "Options", "FileInfo",
  338. # "AuthConfig", and "Limit"
  339.  
  340. AllowOverride None
  341.  
  342. # Controls who can get stuff from this server.
  343.  
  344. order allow,deny
  345. allow from all
  346.  
  347. </Directory>
  348.  
  349. # /opt/IBMHTTPD/cgi-bin should be changed to whatever your ScriptAliased
  350. # CGI directory exists, if you have that configured.
  351.  
  352. <Directory /opt/IBMHTTPD/cgi-bin>
  353. AllowOverride None
  354. Options None
  355. </Directory>
  356.  
  357. # ScriptAlias: This controls which directories contain server scripts.
  358. # Format: ScriptAlias fakename realname
  359.  
  360. ScriptAlias /cgi-bin/ /opt/IBMHTTPD/cgi-bin/
  361. ScriptAlias /ldap/cgi-bin/ /opt/IBMldaps/web/cgi-bin/
  362. Alias /ldap /opt/IBMldaps/web
  363.  
  364. # The following environment variables required for LDAP Administration
  365. PassEnv LANG
  366. PassEnv LOCPATH
  367. PassEnv NLSPATH
  368. # Allow server status reports, with the URL of http://servername/server-status
  369. # Change the ".your_domain.com" to match your domain to enable.
  370.  
  371. #<Location /server-status>
  372. #SetHandler server-status
  373.  
  374. #order deny,allow
  375. #deny from all
  376. #allow from .your_domain.com
  377. #</Location>
  378.  
  379. # There have been reports of people trying to abuse an old bug from pre-1.1
  380. # days.  This bug involved a CGI script distributed as a part of Apache.
  381. # By uncommenting these lines you can redirect these attacks to a logging
  382. # script on phf.apache.org.  Or, you can record them yourself, using the script
  383. # support/phf_abuse_log.cgi.
  384.  
  385. #<Location /cgi-bin/phf*>
  386. #deny from all
  387. #ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
  388. #</Location>
  389.  
  390. # You may place any other directories or locations you wish to have
  391. # access information for after this one.
  392.  
  393. # With this document, you define the name space that users see of your http
  394. # server.  This file also defines server settings which affect how requests are
  395. # serviced, and how results should be formatted.
  396.  
  397. # See the tutorials at http://www.apache.org/ for
  398. # more information.
  399.  
  400. # Originally by Rob McCool; Adapted for Apache
  401.  
  402.  
  403. # DocumentRoot: The directory out of which you will serve your
  404. # documents. By default, all requests are taken from this directory, but
  405. # symbolic links and aliases may be used to point to other locations.
  406.  
  407. DocumentRoot /opt/IBMHTTPD/htdocs/en_US
  408.  
  409. # UserDir: The name of the directory which is appended onto a user's home
  410. # directory if a ~user request is recieved.
  411.  
  412. UserDir public_html
  413.  
  414. # DirectoryIndex: Name of the file or files to use as a pre-written HTML
  415. # directory index.  Separate multiple entries with spaces.
  416.  
  417. DirectoryIndex index.html
  418.  
  419. # FancyIndexing is whether you want fancy directory indexing or standard
  420.  
  421. FancyIndexing on
  422.  
  423. # IndexIgnore is a set of filenames which directory indexing should ignore
  424. # Format: IndexIgnore name1 name2...
  425.  
  426. IndexIgnore .??* *~ *# HEADER* README* RCS
  427.  
  428. # AccessFileName: The name of the file to look for in each directory
  429. # for access control information.
  430.  
  431. AccessFileName .htaccess
  432.  
  433. #
  434. # The following lines prevent .htaccess files from being viewed by
  435. # Web clients.  Since .htaccess files often contain authorization
  436. # information, access is disallowed for security reasons.  Comment
  437. # these lines out if you want Web visitors to see the contents of
  438. # .htaccess files.  If you change the AccessFileName directive above,
  439. # be sure to make the corresponding changes here.
  440. #
  441. # Also, folks tend to use names such as .htpasswd for password
  442. # files, so this will protect those as well.
  443. #
  444. #<Files .htaccess>
  445. #    Order allow,deny
  446. #    Deny from all
  447. #</Files>
  448.  
  449. # DefaultType is the default MIME type for documents which the server
  450. # cannot find the type of from filename extensions.
  451.  
  452. DefaultType text/plain
  453.  
  454. # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  455. # information on the fly. Note: Not all browsers support this.
  456.  
  457. AddEncoding x-compress Z
  458. AddEncoding x-gzip gz
  459.  
  460. # AddLanguage allows you to specify the language of a document. You can
  461. # then use content negotiation to give a browser a file in a language
  462. # it can understand.  Note that the suffix does not have to be the same
  463. # as the language keyword --- those with documents in Polish (whose
  464. # net-standard language code is pl) may wish to use "AddLanguage pl .po"
  465. # to avoid the ambiguity with the common suffix for perl scripts.
  466.  
  467. AddLanguage en .en
  468. AddLanguage fr .fr
  469. AddLanguage de .de
  470. AddLanguage it .it
  471. AddLanguage ko .ko
  472. AddLanguage es .es
  473. AddLanguage ja .ja
  474. AddLanguage zh-CN .cn
  475. AddLanguage zh-TW .tw
  476. AddLanguage pt-BR .pt
  477.  
  478. # LanguagePriority allows you to give precedence to some languages
  479. # in case of a tie during content negotiation.
  480. # Just list the languages in decreasing order of preference.
  481.  
  482. LanguagePriority en
  483.  
  484. # Redirect allows you to tell clients about documents which used to exist in
  485. # your server's namespace, but do not anymore. This allows you to tell the
  486. # clients where to look for the relocated document.
  487. # Format: Redirect fakename url
  488.  
  489.  
  490. # Aliases: Add here as many aliases as you need (with no limit). The format is
  491. # Alias fakename realname
  492.  
  493. # Note that if you include a trailing / on fakename then the server will
  494. # require it to be present in the URL.  So "/icons" isn't aliased in this
  495. # example.
  496.  
  497. Alias /icons/ /opt/IBMHTTPD/icons/
  498.  
  499. # If you want to use server side includes, or CGI outside
  500. # ScriptAliased directories, uncomment the following lines.
  501.  
  502. # AddType allows you to tweak mime.types without actually editing it, or to
  503. # make certain files to be certain types.
  504. # Format: AddType type/subtype ext1
  505.  
  506. # For example, the PHP3 module (not part of the Apache distribution)
  507. # will typically use:
  508. #AddType application/x-httpd-php3 .phtml
  509. #AddType application/x-httpd-php3-source .phps
  510.  
  511. # AddHandler allows you to map certain file extensions to "handlers",
  512. # actions unrelated to filetype. These can be either built into the server
  513. # or added with the Action command (see below)
  514. # Format: AddHandler action-name ext1
  515.  
  516. # To use CGI scripts:
  517. AddHandler cgi-script .cgi
  518.  
  519. # To use server-parsed HTML files
  520. AddType text/html .shtml
  521. AddHandler server-parsed .shtml
  522.  
  523. # Uncomment the following line to enable Apache's send-asis HTTP file
  524. # feature
  525. #AddHandler send-as-is asis
  526.  
  527. # If you wish to use server-parsed imagemap files, use
  528. #AddHandler imap-file map
  529.  
  530. # To enable type maps, you might want to use
  531. #AddHandler type-map var
  532.  
  533. # Action lets you define media types that will execute a script whenever
  534. # a matching file is called. This eliminates the need for repeated URL
  535. # pathnames for oft-used CGI file processors.
  536. # Format: Action media/type /cgi-script/location
  537. # Format: Action handler-name /cgi-script/location
  538.  
  539. # MetaDir: specifies the name of the directory in which Apache can find
  540. # meta information files. These files contain additional HTTP headers
  541. # to include when sending the document
  542.  
  543. #MetaDir .web
  544.  
  545. # MetaSuffix: specifies the file name suffix for the file containing the
  546. # meta information.
  547.  
  548. #MetaSuffix .meta
  549.  
  550. # Customizable error response (Apache style)
  551. #  these come in three flavors
  552. #
  553. #    1) plain text
  554. #ErrorDocument 500 "The server made a boo boo.
  555. #  n.b.  the (") marks it as text, it does not get output
  556. #
  557. #    2) local redirects
  558. #ErrorDocument 404 /missing.html
  559. #  to redirect to local url /missing.html
  560. #ErrorDocument 404 /cgi-bin/missing_handler.pl
  561. #  n.b. can redirect to a script or a document using server-side-includes.
  562. #
  563. #    3) external redirects
  564. #ErrorDocument 402 http://some.other_server.com/subscription_info.html
  565. #
  566.  
  567. # mod_mime_magic allows the server to use various hints from the file itself
  568. # to determine its type.
  569. #MimeMagicFile /opt/IBMHTTPD/conf/magic
  570.  
  571. # AddIcon tells the server which icon to show for different files or filename
  572. # extensions
  573.  
  574. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  575.  
  576. AddIconByType (TXT,/icons/text.gif) text/*
  577. AddIconByType (IMG,/icons/image2.gif) image/*
  578. AddIconByType (SND,/icons/sound2.gif) audio/*
  579. AddIconByType (VID,/icons/movie.gif) video/*
  580.  
  581. AddIcon /icons/binary.gif .bin .exe
  582. AddIcon /icons/binhex.gif .hqx
  583. AddIcon /icons/tar.gif .tar
  584. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  585. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  586. AddIcon /icons/a.gif .ps .ai .eps
  587. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  588. AddIcon /icons/text.gif .txt
  589. AddIcon /icons/c.gif .c
  590. AddIcon /icons/p.gif .pl .py
  591. AddIcon /icons/f.gif .for
  592. AddIcon /icons/dvi.gif .dvi
  593. AddIcon /icons/uuencoded.gif .uu
  594. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  595. AddIcon /icons/tex.gif .tex
  596. AddIcon /icons/bomb.gif core
  597.  
  598. AddIcon /icons/back.gif ..
  599. AddIcon /icons/hand.right.gif README
  600. AddIcon /icons/folder.gif ^^DIRECTORY^^
  601. AddIcon /icons/blank.gif ^^BLANKICON^^
  602.  
  603. # DefaultIcon is which icon to show for files which do not have an icon
  604. # explicitly set.
  605.  
  606. DefaultIcon /icons/unknown.gif
  607.  
  608. # AddDescription allows you to place a short description after a file in
  609. # server-generated indexes.
  610. # Format: AddDescription "description" filename
  611.  
  612. # ReadmeName is the name of the README file the server will look for by
  613. # default. Format: ReadmeName name
  614. #
  615. # The server will first look for name.html, include it if found, and it will
  616. # then look for name and include it as plaintext if found.
  617. #
  618. # HeaderName is the name of a file which should be prepended to
  619. # directory indexes.
  620.  
  621. ReadmeName README
  622. HeaderName HEADER
  623.  
  624. # The following directives disable keepalives and HTTP header flushes.
  625. # The first directive disables it for Netscape 2.x and browsers which
  626. # spoof it. There are known problems with these.
  627. # The second directive is for Microsoft Internet Explorer 4.0b2
  628. # which has a broken HTTP/1.1 implementation and does not properly
  629. # support keepalive when it is used on 301 or 302 (redirect) responses.
  630.  
  631. BrowserMatch "Mozilla/2" nokeepalive
  632. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  633.  
  634. # The following directive disables HTTP/1.1 responses to browsers which
  635. # are in violation of the HTTP/1.0 spec by not being able to grok a
  636. # basic 1.1 response.
  637.  
  638. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  639. BrowserMatch "Java/1\.0" force-response-1.0
  640. BrowserMatch "JDK/1\.0" force-response-1.0
  641.  
  642. # Page to display indicating the Administration Server is not installed
  643. <files apadminred.html>
  644. ErrorDocument 404 /9ainterim.htm
  645. </files>
  646.  
  647. # CoreDumpDirectory directory: Sets the location where the server will
  648. # attempt to put a core dump. The default location is the ServerRoot.
  649. #
  650. #CoreDumpDirectory /tmp
  651.