Because these will fail when the web client is not present, such
as when only the -server package is installed.

Signed-off-by: Cleber Rosa <[email protected]>
---
 apache/apache-conf     | 3 ---
 apache/apache-web-conf | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/apache/apache-conf b/apache/apache-conf
index 5c7a8ee..79f93a2 100644
--- a/apache/apache-conf
+++ b/apache/apache-conf
@@ -1,6 +1,3 @@
-DocumentRoot /usr/local/autotest/apache/www
-RedirectMatch ^/$ /afe
-
 <IfVersion >= 2.4>
    <Location />
       Require all granted
diff --git a/apache/apache-web-conf b/apache/apache-web-conf
index 2f0a4dc..f3e0f9b 100644
--- a/apache/apache-web-conf
+++ b/apache/apache-web-conf
@@ -1,3 +1,6 @@
+DocumentRoot /usr/local/autotest/apache/www
+RedirectMatch ^/$ /afe
+
 # Include files relevant to the web client code
 Include "autotest.d/afe-directives"
 Include "autotest.d/embedded-spreadsheet-directives"
-- 
1.7.11.7

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to