summaryrefslogtreecommitdiffstats
path: root/Services/apache/httpd.conf
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 14:39:12 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 14:39:12 +0100
commit151b31b6f47fb3d96afdd66138ff40d92cac6202 (patch)
treec9d3acd3354a0dcb8e65a641a6583669c55acd01 /Services/apache/httpd.conf
parent18a451ed0758a4f9736fd4ac68d3c51e4ea8d773 (diff)
downloadphpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.gz
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.bz2
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.xz
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.zip
mise en place du service apache
Diffstat (limited to 'Services/apache/httpd.conf')
-rw-r--r--Services/apache/httpd.conf15
1 files changed, 13 insertions, 2 deletions
diff --git a/Services/apache/httpd.conf b/Services/apache/httpd.conf
index 8eab200..ef55e71 100644
--- a/Services/apache/httpd.conf
+++ b/Services/apache/httpd.conf
@@ -2,7 +2,18 @@
# This file will be copied into /etc/httpd/conf.d/sx.conf and loaded when httpd start
#
ServerAdmin cl@startx.fr
-<Directory "/var/www/html">
+ErrorLog "/data/logs/httpd_error.log"
+
+<IfModule log_config_module>
+ CustomLog "/data/logs/httpd_access.log" combined
+</IfModule>
+
+Alias / /data/www
+<Directory "/data/www">
+ AddDefaultCharset UTF-8
AllowOverride All
+ Order Allow,Deny
+ Allow from All
+ Require all granted
DirectoryIndex index.html home.html
-</Directory>
+</Directory> \ No newline at end of file