apache2.conf 1.82 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 9 10 11 12
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
13 14 15 16 17 18 19
	<IfVersion >= 2.3>
		Require all denied
	</IfVersion>
	<IfVersion < 2.3>
		Order Deny,Allow
		Deny from all
	</IfVersion>
20 21 22 23 24 25 26 27 28 29 30 31 32 33
</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/
34 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
Include conf/env.conf
38 39 40 41 42
AddHandler fcgid-script .fcgi
LoadModule filter_module /usr/lib/apache2/modules/mod_filter.so
TypesConfig /etc/mime.types
AddLanguage en .en
AddLanguage fr .fr
43 44 45 46
<IfVersion >= 2.3>
	LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so
	<IfModule mpm_event_module>
		StartServers		  1
47 48
		MinSpareThreads		 25
		MaxSpareThreads		 75
49
		ThreadLimit		 64
50 51
		ThreadsPerChild		 25
		MaxRequestWorkers	150
52 53 54
		MaxConnectionsPerChild    0
	</IfModule>
</IfVersion>
55 56
IncludeOptional conf/manager-apache2.X.conf
IncludeOptional conf/portal-apache2.X.conf