Line # Revision Author
1 3 ahitrov@rambler.ru
2 ServerType standalone
3 ServerName @HTTPD_SERVER@
4 ServerAdmin @SERVER_ADMIN@
5 UseCanonicalName off
6 ServerSignature on
7
8 ResourceConfig /dev/null
9 AccessConfig /dev/null
10
11 ServerSignature Off
12 ServerTokens Prod
13
14 PidFile @PROJECT_VAR@/run/httpd.pid
15 LogLevel @HTTPD_ELOG_LEVEL@
16 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Via}i\" %T" combined
17
18 <IfDefine RSYSLOG>
19 ErrorLog "| exec @LOGGER@ -h @RSYSLOG_HOST@ -j @PROJECT_LC@ -p user.err >&- 2>&-"
20 CustomLog "| exec @LOGGER@ -h @RSYSLOG_HOST@ -j @PROJECT_LC@ -p user.info >&- 2>&-" combined
21 </IfDefine>
22
23 <IfDefine CRONOLOG>
24 ErrorLog "| exec @LOCAL@/bin/cronolog -S @PROJECT_VAR@/log/error_log @PROJECT_VAR@/log/@CRONOLOG_FORMAT@httpd.error >&- 2>&-"
25 CustomLog "| exec @LOCAL@/bin/cronolog -S @PROJECT_VAR@/log/access_log @PROJECT_VAR@/log/@CRONOLOG_FORMAT@httpd.access >&- 2>&-" combined
26 </IfDefine>
27
28 <IfDefine FILELOG>
29 ErrorLog @PROJECT_VAR@/log/error_log
30 CustomLog @PROJECT_VAR@/log/access_log combined
31 </IfDefine>
32
33 Listen @HTTPD_PORT@
34 ListenBacklog @LISTEN_BACK_LOG@
35
36 MinSpareServers @MIN_SPARE_SERVERS@
37 MaxSpareServers @MAX_SPARE_SERVERS@
38 StartServers @START_SERVERS@
39 MaxClients @MAX_CLIENTS@
40 MaxRequestsPerChild @MAX_REQUESTS_PER_CHILD@
41 <IfModule @SPARE_REAPER_DELAY_FAKEMOD@.c>
42 SpareReaperDelay @SPARE_REAPER_DELAY@
43 </IfModule>
44
45 DocumentRoot @HTTPD_DOCS@
46
47 Alias /contenido/@PROJECT@ @MASON_COMP@/contenido/@PROJECT@
48 Alias /i @MASON_COMP@/i
49 Alias /contenido @CORE_COMP@/contenido
50
51 Timeout 600
52 KeepAlive off
53 HostnameLookups off
54
55 Options Includes
56
57 PerlRequire @CONF@/mod_perl/startup.pl
58 PerlRequire @CONF@/mason/handler.pl
59
60 PerlModule Apache::Status
61
62 #��������� ����� handlers
63 PerlChildInitHandler Contenido::Apache::child_init
64 PerlChildExitHandler Contenido::Apache::child_exit
65
66 <Location />
67 order allow,deny
68 allow from all
69
70 SetHandler perl-script
71 PerlHandler @PROJECT@::Mason
72 PerlCleanupHandler Contenido::Apache::cleanup
73 PerlCleanupHandler Apache::SizeLimit
74 </Location>
75
76 <FilesMatch "\.(msn)$">
77 Order allow,deny
78 Deny from all
79 </FilesMatch>
80
81 <Location /i>
82 SetHandler default-handler
83 </Location>
84
85 <Location /images>
86 SetHandler default-handler
87 </Location>
88
89 <Location /binary>
90 SetHandler default-handler
91 </Location>
92
93 <Location /contenido>
94 order allow,deny
95 allow from all
96
97 AuthName "@PROJECT_NAME@: Contenido"
98 AuthType Basic
99 Require valid-user
100 PerlAuthenHandler Contenido::Apache::authentication
101
102 SetHandler perl-script
103 PerlHandler @PROJECT@::Mason
104 PerlCleanupHandler Contenido::Apache::cleanup
105 PerlCleanupHandler Apache::SizeLimit
106 </Location>
107
108 <Location /contenido/i>
109 order allow,deny
110 allow from all
111 Satisfy any
112 SetHandler default-handler
113 </Location>
114
115 ExtendedStatus on
116 <Location /server-status>
117 SetHandler server-status
118 </Location>
119
120 #PerlSetVar StatusOptionsAll On
121 #<Location /perl-status>
122 # SetHandler perl-script
123 # PerlHandler Apache::Status
124 #</Location>
125
126 Include @CONF@/apache/mime.conf
127 TypesConfig @CONF@/apache/mime.types
128 AddCharset koi8-r js htm html shtml txt xml
129
130 Include @CONF@/apache/httpd_project.conf
131