summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/apache/bcfg2.conf2
-rw-r--r--misc/bcfg2.spec1
2 files changed, 2 insertions, 1 deletions
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}