apache2.conf 2.22 KB
Newer Older
1 2 3 4 5 6
PidFile conf/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
HostnameLookups Off
7
LogLevel perl:debug
8
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
9 10
LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so
LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so
11
LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
12 13 14
<IfDefine UseSSL>
	LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
</IfDefine>
15 16 17
<Directory />
	Options FollowSymLinks
	AllowOverride None
18 19 20 21 22 23 24
	<IfVersion >= 2.3>
		Require all denied
	</IfVersion>
	<IfVersion < 2.3>
		Order Deny,Allow
		Deny from all
	</IfVersion>
25 26 27
</Directory>
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
28
LogFormat "%v:%p %h %l %{Lm-Remote-User}o %t \"%r\" %>s %O" llng
29 30 31 32 33 34 35 36 37 38 39
ErrorLog conf/apache2.log
CustomLog conf/apache2.log vhost_combined

LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
LoadModule env_module /usr/lib/apache2/modules/mod_env.so
LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so
FcgidConnectTimeout 20
FcgidProcessTableFile conf/fcgid_shm
FcgidIPCDir conf/
40 41 42
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
LoadModule setenvif_module /usr/lib/apache2/modules/mod_setenvif.so
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
Xavier Guimard's avatar
Xavier Guimard committed
43
PerlPassEnv LLNG_DEFAULTCONFFILE
44
Include conf/env.conf
45 46 47 48 49
AddHandler fcgid-script .fcgi
LoadModule filter_module /usr/lib/apache2/modules/mod_filter.so
TypesConfig /etc/mime.types
AddLanguage en .en
AddLanguage fr .fr
50 51 52 53
<IfVersion >= 2.3>
	LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so
	<IfModule mpm_event_module>
		StartServers		  1
54 55
		MinSpareThreads		 25
		MaxSpareThreads		 75
56
		ThreadLimit		 64
57 58
		ThreadsPerChild		 25
		MaxRequestWorkers	150
59 60 61
		MaxConnectionsPerChild    0
	</IfModule>
</IfVersion>
62 63 64
<IfDefine UseSSL>
	Include ssl.conf
</IfDefine>
Xavier Guimard's avatar
Xavier Guimard committed
65 66
Include conf/manager-apache2.X.conf
Include conf/portal-apache2.X.conf
Xavier Guimard's avatar
Xavier Guimard committed
67
Include conf/handler-apache2.X.conf
Xavier Guimard's avatar
Xavier Guimard committed
68
Include conf/test-apache2.X.conf