From db749a208ebc48004ef5d26a31d3dda295424c7f Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Thu, 21 Mar 2013 09:18:19 -0500 Subject: debian: Fix bcfg2-web apache configuration Signed-off-by: Sol Jerome --- misc/apache/bcfg2.conf | 2 +- misc/bcfg2.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/apache/bcfg2.conf b/misc/apache/bcfg2.conf index 6cd5addf5..b8409a513 100644 --- a/misc/apache/bcfg2.conf +++ b/misc/apache/bcfg2.conf @@ -4,7 +4,7 @@ # WSGIScriptAlias /bcfg2 "/usr/share/bcfg2/reports.wsgi" - WSGISocketPrefix /var/run/httpd/wsgi + WSGISocketPrefix /var/run/apache2/wsgi WSGIDaemonProcess Bcfg2.Server.Reports processes=1 threads=10 WSGIProcessGroup Bcfg2.Server.Reports diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index 40fb787a3..c40f0eb63 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -311,6 +311,7 @@ cp -r tools/* %{buildroot}%{_defaultdocdir}/bcfg2-server-%{version} cp -r build/sphinx/html/* %{buildroot}%{_defaultdocdir}/bcfg2-doc-%{version} %{__install} -d %{buildroot}%{apache_conf}/conf.d +sed -i "s/apache2/httpd/g" misc/apache/bcfg2.conf %{__install} -m 644 misc/apache/bcfg2.conf %{buildroot}%{apache_conf}/conf.d/wsgi_bcfg2.conf %{__mkdir_p} %{buildroot}%{_localstatedir}/cache/%{name} -- cgit v1.2.3-1-g7c22