/[suikacvs]/webroot/admin/news/httpd.conf
Suika

Contents of /webroot/admin/news/httpd.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Nov 11 12:57:46 2001 UTC (23 years ago) by wakaba
Branch: MAIN
Changes since 1.2: +0 -22 lines
*** empty log message ***

1 wakaba 1.2
2     ErrorDocument 401 /error/401
3     ErrorDocument 403 /error/403
4     ErrorDocument 404 /error/404
5     ErrorDocument 500 /error/500
6    
7    
8     #
9     # Customize behaviour based on the browser
10     #
11     <IfModule mod_setenvif.c>
12    
13     SetEnv LANG ja_JP.eucJP
14    
15     #
16     # The following directives modify normal HTTP response behavior.
17     # The first directive disables keepalive for Netscape 2.x and browsers that
18     # spoof it. There are known problems with these browser implementations.
19     # The second directive is for Microsoft Internet Explorer 4.0b2
20     # which has a broken HTTP/1.1 implementation and does not properly
21     # support keepalive when it is used on 301 or 302 (redirect) responses.
22     #
23     BrowserMatch "Mozilla/2" nokeepalive
24     BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
25    
26     #
27     # The following directive disables HTTP/1.1 responses to browsers which
28     # are in violation of the HTTP/1.0 spec by not being able to grok a
29     # basic 1.1 response.
30     #
31     BrowserMatch "RealPlayer 4\.0" force-response-1.0
32     BrowserMatch "Java/1\.0" force-response-1.0
33     BrowserMatch "JDK/1\.0" force-response-1.0
34    
35     </IfModule>
36     # End of browser customization directives
37    
38     #
39     # Allow server status reports, with the URL of http://servername/server-status
40     # Change the ".your_domain.com" to match your domain to enable.
41     #
42     <Location "/admin/web.ad/status">
43     SetHandler server-status
44     </Location>
45    
46     #
47     # Allow remote server configuration reports, with the URL of
48     # http://servername/server-info (requires that mod_info.c be loaded).
49     # Change the ".your_domain.com" to match your domain to enable.
50     #
51     #<Location "/admin/web.ad/info">
52     # SetHandler server-info
53     # Order deny,allow
54     # Deny from all
55     # Allow from .your_domain.com
56     #</Location>
57    
58     <IfModule mod_perl.c>
59     <Location /admin/web.ad/perl-status>
60     SetHandler perl-script
61     PerlHandler Apache::Status
62     </Location>
63     </IfModule>
64    
65    
66    
67     #
68     # There have been reports of people trying to abuse an old bug from pre-1.1
69     # days. This bug involved a CGI script distributed as a part of Apache.
70     # By uncommenting these lines you can redirect these attacks to a logging
71     # script on phf.apache.org. Or, you can record them yourself, using the script
72     # support/phf_abuse_log.cgi.
73     #
74     #<Location /cgi-bin/phf*>
75     # Deny from all
76     # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
77     #</Location>
78    
79     #
80     # Proxy Server directives. Uncomment the following lines to
81     # enable the proxy server:
82     #
83     #<IfModule mod_proxy.c>
84     # ProxyRequests On
85    
86     # <Directory proxy:*>
87     # Order deny,allow
88     # Deny from all
89     # Allow from .your_domain.com
90     # </Directory>
91    
92     #
93     # Enable/disable the handling of HTTP/1.1 "Via:" headers.
94     # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
95     # Set to one of: Off | On | Full | Block
96     #
97     # ProxyVia On
98    
99     #
100     # To enable the cache as well, edit and uncomment the following lines:
101     # (no cacheing without CacheRoot)
102     #
103     # CacheRoot "/usr/local/apache/proxy"
104     # CacheSize 5
105     # CacheGcInterval 4
106     # CacheMaxExpire 24
107     # CacheLastModifiedFactor 0.1
108     # CacheDefaultExpire 1
109     # NoCache a_domain.com another_domain.edu joes.garage_sale.com
110    
111     #</IfModule>
112     # End of proxy directives.
113    
114     ### Section 3: Virtual Hosts
115     #
116     # VirtualHost: If you want to maintain multiple domains/hostnames on your
117     # machine you can setup VirtualHost containers for them. Most configurations
118     # use only name-based virtual hosts so the server doesn't need to worry about
119     # IP addresses. This is indicated by the asterisks in the directives below.
120     #
121     # Please see the documentation at <URL:http://www.apache.org/docs/vhosts/>
122     # for further details before you try to setup virtual hosts.
123     #
124     # You may use the command line option '-S' to verify your virtual host
125     # configuration.
126    
127     #
128     # Use name-based virtual hosting.
129     #
130     #NameVirtualHost *
131    
132     #
133     # VirtualHost example:
134     # Almost any Apache directive may go into a VirtualHost container.
135     # The first VirtualHost section is used for requests without a known
136     # server name.
137     #
138     #<VirtualHost *>
139     # ServerAdmin webmaster@dummy-host.example.com
140 wakaba 1.1 # DocumentRoot /www/docs/dummy-host.example.com
141     # ServerName dummy-host.example.com
142     # ErrorLog logs/dummy-host.example.com-error_log
143     # CustomLog logs/dummy-host.example.com-access_log common
144     #</VirtualHost>
145    
146     ## apache/conf/httpd.conf ends here.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24