Ajout : vm_hosted : rule_apache2_configure .
[lhc/ateliers.git] / etc / apache2 / apache2.conf
diff --git a/etc/apache2/apache2.conf b/etc/apache2/apache2.conf
new file mode 100644 (file)
index 0000000..12fba30
--- /dev/null
@@ -0,0 +1,37 @@
+AccessFileName .htaccess
+AddDefaultCharset UTF-8
+DefaultType None
+ErrorDocument 404 default
+ErrorLog ${APACHE_LOG_DIR}/error.log
+<Files ~ "^\.ht">
+ # NOTE: The following lines prevent .htaccess and .htpasswd files
+ #       from being viewed by Web clients.
+       Order allow,deny
+       Deny from all
+       Satisfy all
+ </Files>
+Group ${APACHE_RUN_GROUP}
+HostnameLookups Off
+KeepAlive On
+KeepAliveTimeout 15
+LockFile ${APACHE_LOCK_DIR}/accept.lock
+       # XXX: the accept serialization lock file MUST BE STORED ON A LOCAL DISK.
+LogFormat "%{User-agent}i" agent
+LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat "%h %l %u %t \"%r\" %>s %O" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
+LogLevel warn
+       # NOTE: possible values include: debug, info, notice, warn, error, crit, alert, emerg.
+MaxKeepAliveRequests 100
+PidFile ${APACHE_PID_FILE}
+#ServerRoot "/var/www"
+Timeout 300
+User  ${APACHE_RUN_USER}
+
+Include mods-enabled/*.load
+Include mods-enabled/*.conf
+Include httpd.conf
+Include ports.conf
+Include conf.d/
+Include sites-enabled/*.conf