]> git.pld-linux.org Git - packages/apache.git/blame - apache-httpd.conf
- error documents are allowed to display propely
[packages/apache.git] / apache-httpd.conf
CommitLineData
4af76ed4 1##
2## httpd.conf -- Apache HTTP server configuration file
3##
4
882960bb 5##### Global Environment
4af76ed4 6# The directives in this section affect the overall operation of Apache,
882960bb 7# such as the number of concurrent requests it can handle or where it can
8# find its configuration files.
9
6e7a2295 10### Disable usage obsoletes access.conf and srm.conf
11ResourceConfig /dev/null
12AccessConfig /dev/null
13
882960bb 14### ServerType
15# is either inetd, or standalone. Inetd mode is only supported on Unix
16# platforms.
4af76ed4 17
4af76ed4 18ServerType standalone
19
882960bb 20### PidFile
21# The file in which the server should record its process identification
22# number when it starts.
23
24PidFile /var/run/httpd.pid
25
26### Timeout
27# The number of seconds before receives and sends time out.
28### KeepAliveTimeout
29# Number of seconds to wait for the next request from the same client on the
30# same connection.
31
32Timeout 300
33KeepAliveTimeout 15
34
35### KeepAlive
36# Whether or not to allow persistent connections (more than one request per
37# connection). Set to "Off" to deactivate.
38### MaxKeepAliveRequests
39# The maximum number of requests to allow during a persistent connection.
40# Set to 0 to allow an unlimited amount. We recommend you leave this number
41# high, for maximum performance.
42
43KeepAlive On
44MaxKeepAliveRequests 100
45
4af76ed4 46#
47# ServerRoot: The top of the directory tree under which the server's
48# configuration, error, and log files are kept.
49#
50# NOTE! If you intend to place this on an NFS (or otherwise network)
51# mounted filesystem then please read the LockFile documentation
52# (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);
53# you will save yourself a lot of trouble.
54#
55# Do NOT add a slash at the end of the directory path.
56#
57ServerRoot "/usr"
58
59#
60# The LockFile directive sets the path to the lockfile used when Apache
61# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
62# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
63# its default value. The main reason for changing it is if the logs
64# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
65# DISK. The PID of the main server process is automatically appended to
66# the filename.
67#
68LockFile /var/run/httpd.lock
69
4af76ed4 70#
71# ScoreBoardFile: File used to store internal server process information.
72# Not all architectures require this. But if yours does (you'll know because
73# this file will be created when you run Apache) then you *must* ensure that
74# no two invocations of Apache share the same scoreboard file.
75#
76ScoreBoardFile /var/run/httpd.scoreboard
77
78#
79# In the standard configuration, the server will process this file,
80# srm.conf, and access.conf in that order. The latter two files are
81# now distributed empty, as it is recommended that all directives
82# be kept in a single file for simplicity. The commented-out values
83# below are the built-in defaults. You can have the server ignore
84# these files altogether by using "/dev/null" (for Unix) or
85# "nul" (for Win32) for the arguments to the directives.
86#
87#ResourceConfig /etc/httpd/srm.conf
88AccessConfig /etc/httpd/access.conf
89
4af76ed4 90
91#
92# Server-pool size regulation. Rather than making you guess how many
93# server processes you need, Apache dynamically adapts to the load it
94# sees --- that is, it tries to maintain enough server processes to
95# handle the current load, plus a few spare servers to handle transient
96# load spikes (e.g., multiple simultaneous requests from a single
97# Netscape browser).
98#
99# It does this by periodically checking how many servers are waiting
100# for a request. If there are fewer than MinSpareServers, it creates
101# a new spare. If there are more than MaxSpareServers, some of the
102# spares die off. The default values are probably OK for most sites.
103#
104MinSpareServers 5
105MaxSpareServers 10
106
107#
108# Number of servers to start initially --- should be a reasonable ballpark
109# figure.
110#
111StartServers 5
112
113#
114# Limit on total number of servers running, i.e., limit on the number
115# of clients who can simultaneously connect --- if this limit is ever
116# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
117# It is intended mainly as a brake to keep a runaway server from taking
118# the system with it as it spirals down...
119#
120MaxClients 150
121
122#
123# MaxRequestsPerChild: the number of requests each child process is
124# allowed to process before the child dies. The child will exit so
125# as to avoid problems after prolonged use when Apache (and maybe the
126# libraries it uses) leak memory or other resources. On most systems, this
127# isn't really needed, but a few (such as Solaris) do have notable leaks
128# in the libraries.
129#
130MaxRequestsPerChild 30
131
132#
133# Listen: Allows you to bind Apache to specific IP addresses and/or
134# ports, in addition to the default. See also the <VirtualHost>
135# directive.
136#
137#Listen 3000
138#Listen 12.34.56.78:80
139
140#
141# BindAddress: You can support virtual hosts with this option. This directive
142# is used to tell the server which IP address to listen to. It can either
143# contain "*", an IP address, or a fully qualified Internet domain name.
144# See also the <VirtualHost> and Listen directives.
145#
146#BindAddress *
147
4af76ed4 148#
149# ExtendedStatus controls whether Apache will generate "full" status
150# information (ExtendedStatus On) or just basic information (ExtendedStatus
151# Off) when the "server-status" handler is called. The default is Off.
152#
153#ExtendedStatus On
154
94286b8b 155### Section 2: Dynamic Shared Object (DSO) Support
156#
157# Example:
158# LoadModule foo_module libexec/mod_foo.so
159
160# Reconstruction of the complete module list from all available modules
161# (static and shared ones) to achieve correct module execution order.
162# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
163ClearModuleList
164AddModule mod_so.c
165
166### Section 3: 'Main' server configuration
4af76ed4 167#
168# The directives in this section set up the values used by the 'main'
169# server, which responds to any requests that aren't handled by a
170# <VirtualHost> definition. These values also provide defaults for
171# any <VirtualHost> containers you may define later in the file.
172#
173# All of these directives may appear inside <VirtualHost> containers,
174# in which case these default settings will be overridden for the
175# virtual host being defined.
176#
177
178#
179# If your ServerType directive (set earlier in the 'Global Environment'
180# section) is set to "inetd", the next few directives don't have any
181# effect since their settings are defined by the inetd configuration.
182# Skip ahead to the ServerAdmin directive.
183#
184
185#
186# Port: The port to which the standalone server listens. For
187# ports < 1023, you will need httpd to be run as root initially.
188#
189Port 80
190
191#
192# If you wish httpd to run as a different user or group, you must run
193# httpd as root initially and it will switch.
194#
195# User/Group: The name (or #number) of the user/group to run httpd as.
196# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
197# . On HPUX you may not be able to use shared memory as nobody, and the
198# suggested workaround is to create a user www and use that user.
199# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
200# when the value of (unsigned)Group is above 60000;
201# don't use Group on these systems!
202#
203User http
204Group http
205
206#
207# ServerAdmin: Your address, where problems with the server should be
208# e-mailed. This address appears on some server-generated pages, such
209# as error documents.
210#
211ServerAdmin admin@your_domain.org
212
213#
214# ServerName allows you to set a host name which is sent back to clients for
215# your server if it's different than the one the program would get (i.e., use
216# "www" instead of the host's real name).
217#
218# Note: You cannot just invent host names and hope they work. The name you
219# define here must be a valid DNS name for your host. If you don't understand
220# this, ask your network administrator.
221# If your host doesn't have a registered DNS name, enter its IP address here.
222# You will have to access it by its address (e.g., http://123.45.67.89/)
223# anyway, and this will make redirections work in a sensible way.
224#
225#ServerName new.host.name
226
227#
228# DocumentRoot: The directory out of which you will serve your
229# documents. By default, all requests are taken from this directory, but
230# symbolic links and aliases may be used to point to other locations.
231#
232DocumentRoot "/home/httpd/html"
233
234#
235# Each directory to which Apache has access, can be configured with respect
236# to which services and features are allowed and/or disabled in that
237# directory (and its subdirectories).
238#
239# First, we configure the "default" to be a very restrictive set of
240# permissions.
241#
242<Directory />
243 Options FollowSymLinks
244 AllowOverride None
245</Directory>
246
247#
248# Note that from this point forward you must specifically allow
249# particular features to be enabled - so if something's not working as
250# you might expect, make sure that you have specifically enabled it
251# below.
252#
253
254#
255# This should be changed to whatever you set DocumentRoot to.
256#
257<Directory "/home/httpd/html">
258
259#
260# This may also be "None", "All", or any combination of "Indexes",
261# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
262#
263# Note that "MultiViews" must be named *explicitly* --- "Options All"
264# doesn't give it to you.
265#
266 Options Indexes FollowSymLinks
267
268#
269# This controls which options the .htaccess files in directories can
270# override. Can also be "All", or any combination of "Options", "FileInfo",
271# "AuthConfig", and "Limit"
272#
273 AllowOverride None
274
275#
276# Controls who can get stuff from this server.
277#
278 Order allow,deny
279 Allow from all
280</Directory>
281
282#
283# UserDir: The name of the directory which is appended onto a user's home
284# directory if a ~user request is received.
285#
286UserDir public_html
287
288#
289# Control access to UserDir directories. The following is an example
290# for a site where these directories are restricted to read-only.
291#
292#<Directory /*/public_html>
293# AllowOverride FileInfo AuthConfig Limit
294# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
295# <Limit GET POST OPTIONS PROPFIND>
296# Order allow,deny
297# Allow from all
298# </Limit>
299# <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
300# Order deny,allow
301# Deny from all
302# </Limit>
303#</Directory>
304
305#
306# DirectoryIndex: Name of the file or files to use as a pre-written HTML
307# directory index. Separate multiple entries with spaces.
308#
1301ccbc 309<IfModule mod_dir>
9f08d6f7 310DirectoryIndex index.html index.htm index.shtml index.cgi
1301ccbc 311</IfModule>
4af76ed4 312
313#
314# AccessFileName: The name of the file to look for in each directory
315# for access control information.
316#
317AccessFileName .htaccess
318
319#
320# The following lines prevent .htaccess files from being viewed by
321# Web clients. Since .htaccess files often contain authorization
322# information, access is disallowed for security reasons. Comment
323# these lines out if you want Web visitors to see the contents of
324# .htaccess files. If you change the AccessFileName directive above,
325# be sure to make the corresponding changes here.
326#
327<Files .htaccess>
328 Order allow,deny
329 Deny from all
330</Files>
331
332#
333# CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each
334# document that was negotiated on the basis of content. This asks proxy
335# servers not to cache the document. Uncommenting the following line disables
336# this behavior, and proxies will be allowed to cache the documents.
337#
338#CacheNegotiatedDocs
339
340#
341# UseCanonicalName: (new for 1.3) With this setting turned on, whenever
342# Apache needs to construct a self-referencing URL (a URL that refers back
343# to the server the response is coming from) it will use ServerName and
344# Port to form a "canonical" name. With this setting off, Apache will
345# use the hostname:port that the client supplied, when possible. This
346# also affects SERVER_NAME and SERVER_PORT in CGI scripts.
347#
348UseCanonicalName On
349
350#
351# TypesConfig describes where the mime.types file (or equivalent) is
352# to be found. /etc/mime.types is provided by mailcap package.
353#
354TypesConfig /etc/mime.types
355
356#
357# DefaultType is the default MIME type the server will use for a document
358# if it cannot otherwise determine one, such as from filename extensions.
359# If your server contains mostly text or HTML documents, "text/plain" is
360# a good value. If most of your content is binary, such as applications
361# or images, you may want to use "application/octet-stream" instead to
362# keep browsers from trying to display binary files as though they are
363# text.
364#
365DefaultType text/plain
366
367#
368# The mod_mime_magic module allows the server to use various hints from the
369# contents of the file itself to determine its type. The MIMEMagicFile
370# directive tells the module where the hint definitions are located.
371# mod_mime_magic is not part of the default server (you have to add
372# it yourself with a LoadModule [see the DSO paragraph in the 'Global
373# Environment' section], or recompile the server and include mod_mime_magic
374# as part of the configuration), so it's enclosed in an <IfModule> container.
375# This means that the MIMEMagicFile directive will only be processed if the
376# module is part of the server.
377#
378<IfModule mod_mime_magic.c>
7ba668f5 379 MIMEMagicFile /etc/httpd/magic
4af76ed4 380</IfModule>
381
382#
383# HostnameLookups: Log the names of clients or just their IP addresses
384# e.g., www.apache.org (on) or 204.62.129.132 (off).
385# The default is off because it'd be overall better for the net if people
386# had to knowingly turn this feature on, since enabling it means that
387# each client request will result in AT LEAST one lookup request to the
388# nameserver.
389#
390HostnameLookups Off
391
392#
393# ErrorLog: The location of the error log file.
394# If you do not specify an ErrorLog directive within a <VirtualHost>
395# container, error messages relating to that virtual host will be
396# logged here. If you *do* define an error logfile for a <VirtualHost>
397# container, that host's errors will be logged there and not here.
398#
399ErrorLog /var/log/httpd/error_log
400
401#
402# LogLevel: Control the number of messages logged to the error_log.
403# Possible values include: debug, info, notice, warn, error, crit,
404# alert, emerg.
405#
406LogLevel warn
407
408#
409# The following directives define some format nicknames for use with
410# a CustomLog directive (see below).
411#
412LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
413LogFormat "%h %l %u %t \"%r\" %>s %b" common
414LogFormat "%{Referer}i -> %U" referer
415LogFormat "%{User-agent}i" agent
416
417#
418# The location and format of the access logfile (Common Logfile Format).
419# If you do not define any access logfiles within a <VirtualHost>
420# container, they will be logged here. Contrariwise, if you *do*
421# define per-<VirtualHost> access logfiles, transactions will be
422# logged therein and *not* in this file.
423#
424CustomLog /var/log/httpd/access_log common
425
426#
427# If you would like to have agent and referer logfiles, uncomment the
428# following directives.
429#
430CustomLog /var/log/httpd/referer_log referer
431CustomLog /var/log/httpd/agent_log agent
432
433#
434# If you prefer a single logfile with access, agent, and referer information
435# (Combined Logfile Format) you can use the following directive.
436#
437#CustomLog /var/log/httpd/access_log combined
438
439#
440# Optionally add a line containing the server version and virtual host
441# name to server-generated pages (error documents, FTP directory listings,
442# mod_status and mod_info output etc., but not CGI generated documents).
443# Set to "EMail" to also include a mailto: link to the ServerAdmin.
444# Set to one of: On | Off | EMail
445#
446ServerSignature Email
447
448#
449# Aliases: Add here as many aliases as you need (with no limit). The format is
450# Alias fakename realname
451#
452# Note that if you include a trailing / on fakename then the server will
453# require it to be present in the URL. So "/icons" isn't aliased in this
454# example, only "/icons/"..
455#
456Alias /icons/ "/home/httpd/icons/"
457
458<Directory "/home/httpd/icons">
7ba668f5 459 Options Indexes MultiViews
460 AllowOverride None
461 Order allow,deny
462 Allow from all
1d3d2b1b 463</Directory>
4af76ed4 464
465#
466# ScriptAlias: This controls which directories contain server scripts.
467# ScriptAliases are essentially the same as Aliases, except that
468# documents in the realname directory are treated as applications and
469# run by the server when requested rather than as documents sent to the client.
470# The same rules about trailing "/" apply to ScriptAlias directives as to
471# Alias.
472#
473ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
474
475#
476# "/home/httpd/cgi-bin" should be changed to whatever your ScriptAliased
477# CGI directory exists, if you have that configured.
478#
479<Directory "/home/httpd/cgi-bin">
7ba668f5 480 AllowOverride None
481 Options None
482 Order allow,deny
483 Allow from all
4af76ed4 484</Directory>
485
486#
487# Redirect allows you to tell clients about documents which used to exist in
488# your server's namespace, but do not anymore. This allows you to tell the
489# clients where to look for the relocated document.
490# Format: Redirect old-URI new-URL
491#
492
493#
494# Directives controlling the display of server-generated directory listings.
495#
496
497#
498# FancyIndexing is whether you want fancy directory indexing or standard
499#
500IndexOptions FancyIndexing
501
502#
503# AddIcon* directives tell the server which icon to show for different
504# files or filename extensions. These are only displayed for
505# FancyIndexed directories.
506#
507AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
508
509AddIconByType (TXT,/icons/text.gif) text/*
510AddIconByType (IMG,/icons/image2.gif) image/*
511AddIconByType (SND,/icons/sound2.gif) audio/*
512AddIconByType (VID,/icons/movie.gif) video/*
513
514AddIcon /icons/binary.gif .bin .exe
515AddIcon /icons/binhex.gif .hqx
516AddIcon /icons/tar.gif .tar
517AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
518AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
519AddIcon /icons/a.gif .ps .ai .eps
520AddIcon /icons/layout.gif .html .shtml .htm .pdf
521AddIcon /icons/text.gif .txt
522AddIcon /icons/c.gif .c
523AddIcon /icons/p.gif .pl .py
524AddIcon /icons/f.gif .for
525AddIcon /icons/dvi.gif .dvi
526AddIcon /icons/uuencoded.gif .uu
527AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
528AddIcon /icons/tex.gif .tex
529AddIcon /icons/bomb.gif core
530
531AddIcon /icons/back.gif ..
532AddIcon /icons/hand.right.gif README
533AddIcon /icons/folder.gif ^^DIRECTORY^^
534AddIcon /icons/blank.gif ^^BLANKICON^^
535
536#
537# DefaultIcon is which icon to show for files which do not have an icon
538# explicitly set.
539#
540DefaultIcon /icons/unknown.gif
541
542#
543# AddDescription allows you to place a short description after a file in
544# server-generated indexes. These are only displayed for FancyIndexed
545# directories.
546# Format: AddDescription "description" filename
547#
548AddDescription "GZIP compressed document" .gz
549AddDescription "tar archive" .tar
550AddDescription "GZIP compressed tar archive" .tgz
551
552#
553# ReadmeName is the name of the README file the server will look for by
554# default, and append to directory listings.
555#
556# HeaderName is the name of a file which should be prepended to
557# directory indexes.
558#
559# The server will first look for name.html and include it if found.
560# If name.html doesn't exist, the server will then look for name.txt
561# and include it as plaintext if found.
562#
563ReadmeName README
564HeaderName HEADER
565
566#
567# IndexIgnore is a set of filenames which directory indexing should ignore
568# and not include in the listing. Shell-style wildcarding is permitted.
569#
570IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
571
572#
573# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
574# information on the fly. Note: Not all browsers support this.
575# Despite the name similarity, the following Add* directives have nothing
576# to do with the FancyIndexing customization directives above.
577#
578AddEncoding x-compress Z
579AddEncoding x-gzip gz
580
581#
582# AddLanguage allows you to specify the language of a document. You can
583# then use content negotiation to give a browser a file in a language
584# it can understand. Note that the suffix does not have to be the same
585# as the language keyword --- those with documents in Polish (whose
586# net-standard language code is pl) may wish to use "AddLanguage pl .po"
587# to avoid the ambiguity with the common suffix for perl scripts.
588#
589AddLanguage en .en
590AddLanguage fr .fr
591AddLanguage de .de
592AddLanguage da .da
593AddLanguage el .el
594AddLanguage it .it
595AddLanguage pl .po
596#
597# LanguagePriority allows you to give precedence to some languages
598# in case of a tie during content negotiation.
599# Just list the languages in decreasing order of preference.
600#
601LanguagePriority en pl fr de
602
4af76ed4 603#
604# AddHandler allows you to map certain file extensions to "handlers",
605# actions unrelated to filetype. These can be either built into the server
606# or added with the Action command (see below)
607#
608# If you want to use server side includes, or CGI outside
609# ScriptAliased directories, uncomment the following lines.
610#
611# To use CGI scripts:
612#
613AddHandler cgi-script .cgi
614
615#
616# To use server-parsed HTML files
617#
618AddType text/html .shtml
619AddHandler server-parsed .shtml
620
621#
622# Uncomment the following line to enable Apache's send-asis HTTP file
623# feature
624#
625AddHandler send-as-is asis
626
627#
628# If you wish to use server-parsed imagemap files, use
629#
630AddHandler imap-file map
631
632#
633# To enable type maps, you might want to use
634#
635AddHandler type-map var
636
637#
638# Action lets you define media types that will execute a script whenever
639# a matching file is called. This eliminates the need for repeated URL
640# pathnames for oft-used CGI file processors.
641# Format: Action media/type /cgi-script/location
642# Format: Action handler-name /cgi-script/location
643#
644
645#
646# MetaDir: specifies the name of the directory in which Apache can find
647# meta information files. These files contain additional HTTP headers
648# to include when sending the document
649#
650MetaDir .web
651
652#
653# MetaSuffix: specifies the file name suffix for the file containing the
654# meta information.
655#
656MetaSuffix .meta
657
658#
659# Customizable error response (Apache style)
660# these come in three flavors
661#
662# 1) plain text
663#ErrorDocument 500 "The server made a boo boo.
664# n.b. the (") marks it as text, it does not get output
665#
666# 2) local redirects
667#ErrorDocument 404 /missing.html
668# to redirect to local URL /missing.html
669#ErrorDocument 404 /cgi-bin/missing_handler.pl
670# N.B.: You can redirect to a script or a document using server-side-includes.
671#
672# 3) external redirects
673#ErrorDocument 402 http://some.other_server.com/subscription_info.html
674# N.B.: Many of the environment variables associated with the original
675# request will *not* be available to such a script.
676
7745b7bc 677Alias /errordocs/ "/home/httpd/errordocs/"
678
52e4c839 679<Directory /home/httpd/errordocs/>
680 AllowOverride none
681 Options IncludesNoExec FollowSymLinks
682</Directory>
683
7745b7bc 684ErrorDocument 400 /errordocs/400.shtml
685ErrorDocument 401 /errordocs/401.shtml
686ErrorDocument 403 /errordocs/403.shtml
687ErrorDocument 404 /errordocs/404.shtml
688ErrorDocument 405 /errordocs/405.shtml
689ErrorDocument 406 /errordocs/406.shtml
690ErrorDocument 408 /errordocs/408.shtml
691ErrorDocument 410 /errordocs/410.shtml
692ErrorDocument 411 /errordocs/411.shtml
693ErrorDocument 414 /errordocs/414.shtml
694ErrorDocument 500 /errordocs/500.shtml
695ErrorDocument 503 /errordocs/503.shtml
696
4af76ed4 697# The following directives modify normal HTTP response behavior.
698# The first directive disables keepalive for Netscape 2.x and browsers that
699# spoof it. There are known problems with these browser implementations.
700# The second directive is for Microsoft Internet Explorer 4.0b2
701# which has a broken HTTP/1.1 implementation and does not properly
702# support keepalive when it is used on 301 or 302 (redirect) responses.
703#
704BrowserMatch "Mozilla/2" nokeepalive
705BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
706
707#
708# The following directive disables HTTP/1.1 responses to browsers which
709# are in violation of the HTTP/1.0 spec by not being able to grok a
710# basic 1.1 response.
711#
712BrowserMatch "RealPlayer 4\.0" force-response-1.0
713BrowserMatch "Java/1\.0" force-response-1.0
714BrowserMatch "JDK/1\.0" force-response-1.0
715
4af76ed4 716#
717# Allow remote server configuration reports, with the URL of
718# http://servername/server-info (requires that mod_info.c be loaded).
719# Change the ".your_domain.com" to match your domain to enable.
720#
721#<Location /server-info>
7ba668f5 722# SetHandler server-info
723# Order deny,allow
724# Deny from all
725# Allow from .your_domain.com
4af76ed4 726#</Location>
727
728#
729# There have been reports of people trying to abuse an old bug from pre-1.1
730# days. This bug involved a CGI script distributed as a part of Apache.
731# By uncommenting these lines you can redirect these attacks to a logging
732# script on phf.apache.org. Or, you can record them yourself, using the script
733# support/phf_abuse_log.cgi.
734#
735#<Location /cgi-bin/phf*>
7ba668f5 736# Deny from all
737# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
4af76ed4 738#</Location>
882960bb 739
This page took 0.426809 seconds and 4 git commands to generate.