From 19fc0052b1bab1c01463114dd06475e9b943a192 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Mon, 4 Apr 2016 17:45:16 +0000 Subject: [PATCH] fixing virthost config to work better for qa-stg01 --- files/httpd/qadevel-virtualhost.conf.j2 | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/files/httpd/qadevel-virtualhost.conf.j2 b/files/httpd/qadevel-virtualhost.conf.j2 index 0149c2ef55..cca7a7afa2 100644 --- a/files/httpd/qadevel-virtualhost.conf.j2 +++ b/files/httpd/qadevel-virtualhost.conf.j2 @@ -1,14 +1,22 @@ # this is meant for proxied stuff only, hence the lack of ssl - # Change this to the domain which points to your host. - ServerName {{ item.name }} + # Change this to the domain which points to your host. + ServerName {{ item.name }} - DocumentRoot {{ item.document_root }} + DocumentRoot {{ item.document_root }} - - Options Indexes FollowSymLinks - Require all granted - + ErrorLog "/var/log/httpd/{{ item.name }}.error_log" + CustomLog "/var/log/httpd/{{ item.name }}.access_log" common + + + Options Indexes FollowSymLinks + Require all granted + + + + Options +Indexes + DirectoryIndex default.html +