apache2.conf 1.96 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 debug
8
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
9 10 11 12 13
LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so
LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so
<Directory />
	Options FollowSymLinks
	AllowOverride None
14 15 16 17 18 19 20
	<IfVersion >= 2.3>
		Require all denied
	</IfVersion>
	<IfVersion < 2.3>
		Order Deny,Allow
		Deny from all
	</IfVersion>
21 22 23 24 25 26 27 28 29 30 31 32 33 34
</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
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/
35 36 37
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
38
PerlPassEnv LLNG_DEFAULTCONFFILE
39
Include conf/env.conf
40 41 42 43 44
AddHandler fcgid-script .fcgi
LoadModule filter_module /usr/lib/apache2/modules/mod_filter.so
TypesConfig /etc/mime.types
AddLanguage en .en
AddLanguage fr .fr
45 46 47 48
<IfVersion >= 2.3>
	LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so
	<IfModule mpm_event_module>
		StartServers		  1
49 50
		MinSpareThreads		 25
		MaxSpareThreads		 75
51
		ThreadLimit		 64
52 53
		ThreadsPerChild		 25
		MaxRequestWorkers	150
54 55 56
		MaxConnectionsPerChild    0
	</IfModule>
</IfVersion>
Xavier Guimard's avatar
Xavier Guimard committed
57 58
Include conf/manager-apache2.X.conf
Include conf/portal-apache2.X.conf
Xavier Guimard's avatar
Xavier Guimard committed
59
Include conf/handler-apache2.X.conf
Xavier Guimard's avatar
Xavier Guimard committed
60
Include conf/test-apache2.X.conf