summaryrefslogtreecommitdiffstats
path: root/Services/apache/httpd.conf
diff options
context:
space:
mode:
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