[moksha] Fix our apache config for 2.4 (#871430)
Luke Macken
lmacken at fedoraproject.org
Tue Jan 8 17:21:24 UTC 2013
commit cdb1bd33ba4c8a3800f1205b61fe67927ea32075
Author: Luke Macken <lmacken at redhat.com>
Date: Tue Jan 8 12:13:38 2013 -0500
Fix our apache config for 2.4 (#871430)
...Fix-our-apache-config-for-2.4-rhbz-871430.patch | 27 ++++++++++++++++++++
moksha.spec | 8 +++++-
2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/0001-Fix-our-apache-config-for-2.4-rhbz-871430.patch b/0001-Fix-our-apache-config-for-2.4-rhbz-871430.patch
new file mode 100644
index 0000000..e123721
--- /dev/null
+++ b/0001-Fix-our-apache-config-for-2.4-rhbz-871430.patch
@@ -0,0 +1,27 @@
+From 4a383faac2cb6bc3c9dc7cfc996fcd6fe503d3bc Mon Sep 17 00:00:00 2001
+From: Luke Macken <lmacken at redhat.com>
+Date: Tue, 8 Jan 2013 11:59:42 -0500
+Subject: [PATCH] Fix our apache config for 2.4 (rhbz#871430)
+
+
+diff --git a/production/apache/moksha.conf b/production/apache/moksha.conf
+index aabfb83..c71e531 100644
+--- a/production/apache/moksha.conf
++++ b/production/apache/moksha.conf
+@@ -28,9 +28,10 @@ WSGIScriptAlias / /usr/share/moksha/production/apache/moksha.wsgi
+ <Directory /usr/share/moksha/production/apache/>
+ # If weird segfaults occur sometimes, give this a shot
+ WSGIApplicationGroup %{GLOBAL}
+-Order deny,allow
+-Allow from all
++
++# Alternative e.g. "Require ip 192.168.10"
++Require local
++
+ </Directory>
+
+ </VirtualHost>
+-
+--
+1.8.1
+
diff --git a/moksha.spec b/moksha.spec
index 4d6b64b..6ff8b1d 100644
--- a/moksha.spec
+++ b/moksha.spec
@@ -3,13 +3,15 @@
Name: moksha
Version: 1.0.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A platform for creating real-time web applications
Group: Applications/Internet
License: ASL 2.0
URL: https://fedorahosted.org/moksha
Source0: http://pypi.python.org/packages/source/m/%{name}/%{name}-%{version}.tar.gz
+Patch0: 0001-Fix-our-apache-config-for-2.4-rhbz-871430.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -52,6 +54,7 @@ This package contains an Apache mod_wsgi configuration for Moksha.
%prep
%setup -q
+%patch0 -p1 -b .rhbz871430
%build
%{__sed} -i -e 's/$VERSION/%{version}/g' docs/conf.py
@@ -127,6 +130,9 @@ fi
%doc docs/_build/html
%changelog
+* Tue Jan 08 2013 Luke Macken <lmacken at redhat.com> - 1.0.0-4
+- Fix our apache config for 2.4 (#871430)
+
* Wed Sep 19 2012 Ralph Bean <rbean at redhat.com> - 1.0.0-3
- Removed old sitelib ownership now owned by python-moksha-common.
More information about the scm-commits
mailing list