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