blob: 4f4985244b6f383495bc8f67a6accdb169ff2846 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
# $Header: /var/cvsroot/gentoo/admin/www.gentoo.org/conf/apache.conf,v 1.14 2003/09/24 12:27:03 klieber Exp $
# This file contains options which affect the main apache server and all
# virtual hosts running on this machine. If this machine is running as only
# www.gentoo.org you should use this file as the main apache conf file.
#
# If this server is handling other virtual hosts besides www.gentoo.org,
# include only the virtual host specific configurations by adding this
# line to the end of /etc/apache/conf/apache.conf:
#
# Include /etc/apache/conf/gentoo/admin/www.gentoo.org/conf/vhost.conf
#
# For the second case, you should also read the options below and use any
# as you feel are appropriate.
ServerType standalone
ServerRoot /etc/apache
User apache
Group apache
PidFile /var/run/apache.pid
ScoreBoardFile /etc/apache/apache.scoreboard
ResourceConfig /dev/null
AccessConfig /dev/null
LoadModule access_module modules/mod_access.so
LoadModule alias_module modules/mod_alias.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule config_log_module modules/mod_log_config.so
LoadModule dir_module modules/mod_dir.so
LoadModule info_module modules/mod_info.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule status_module modules/mod_status.so
ClearModuleList
AddModule mod_access.c
AddModule mod_alias.c
AddModule mod_autoindex.c
AddModule mod_cgi.c
AddModule mod_dir.c
AddModule mod_info.c
AddModule mod_log_config.c
AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_rewrite.c
AddModule mod_setenvif.c
AddModule mod_so.c
AddModule mod_status.c
Port 80
Listen 80
Timeout 300
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 20
MaxSpareServers 40
StartServers 20
MaxClients 150
MaxRequestsPerChild 500
ServerName www.gentoo.org
ServerAdmin www@gentoo.org
DocumentRoot /home/httpd/gentoo/xml/htdocs
UseCanonicalName On
HostnameLookups Off
ServerSignature On
AccessFileName .htaccess
ErrorLog logs/error_log
CustomLog logs/access_log combined env=!VLOG
LogLevel warn
<IfModule mod_dir.c>
DirectoryIndex index.xml index.html
</IfModule>
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
DefaultType text/plain
<IfModule mod_mime.c>
TypesConfig conf/mime.types
</IfModule>
<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
AddType text/xml rdf
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
</IfModule>
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
<IfDefine PERL>
LoadModule perl_module extramodules/libperl.so
AddModule mod_perl.c
PerlModule AxKit
SetHandler perl-script
PerlHandler Apache::AxKit::StyleChooser::PathInfo AxKit
#PerlTypeHandler Apache::AxKit::StyleChooser::FileSuffix
#SetHandler AxKit
AddHandler axkit .xml .xsp .rdf
AxCacheDir /tmp
AxGzipOutput On
AxDebugLevel 0
AxAddPlugin Apache::AxKit::StyleChooser::QueryString
AxAddPlugin Apache::AxKit::Plugin::QueryStringCache
AxAddXSPTaglib AxKit::XSP::Util
AxAddXSPTaglib AxKit::XSP::IfParam
AxAddXSPTaglib AxKit::XSP::Param
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
<AxStyleName #default>
AxAddProcessor text/xsl /xsl/guide.xsl
</AxStyleName>
<AxStyleName printable>
AxAddProcessor text/xsl /xsl/guide-print.xsl
</AxStyleName>
</IfDefine>
<IfDefine GZIP>
LoadModule gzip_module extramodules/mod_gzip.so
AddModule mod_gzip.c
Include conf/addon-modules/mod_gzip.conf
LogFormat "%h %l %u %t \"%r\" %>s %b %b mod_gzip: %{mod_gzip_compression_ratio}npct." gzip
</IfDefine>
<IfModule mod_status.c>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 216.110.76.37 216.110.80.169
</Location>
ExtendedStatus On
</IfModule>
<IfModule mod_info.c>
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from 127.0.0.1 68.193.228.200
</Location>
</IfModule>
<IfModule mod_perl.c>
<Location /perl-status>
SetHandler perl-script
Order deny,allow
Deny from all
PerlHandler Apache::Status
Allow from 127.0.0.1 68.193.228.200
</Location>
</IfModule>
NameVirtualHost *
Include /etc/apache/conf/gentoo/admin/www.gentoo.org/conf/vhost.conf
|