diff --git a/viewvc-fcgi.conf b/viewvc-fcgi.conf
index c3f60d5..a2fd927 100644
--- a/viewvc-fcgi.conf
+++ b/viewvc-fcgi.conf
@@ -3,6 +3,14 @@ Alias /viewvc-static __datadir__/viewvc/templates/docroot
Options -Indexes
- Order allow,deny
- Allow from 127.0.0.1
+
+ # Apache 2.4
+ Require local
+
+
+ # Apache 2.2
+ Order allow,deny
+ Allow from 127.0.0.1
+ Allow from ::1
+
diff --git a/viewvc-wsgi.conf b/viewvc-wsgi.conf
index ae32d65..4fe0725 100644
--- a/viewvc-wsgi.conf
+++ b/viewvc-wsgi.conf
@@ -3,6 +3,14 @@ Alias /viewvc-static __datadir__/viewvc/templates/docroot
Options -Indexes
- Order allow,deny
- Allow from 127.0.0.1
+
+ # Apache 2.4
+ Require local
+
+
+ # Apache 2.2
+ Order allow,deny
+ Allow from 127.0.0.1
+ Allow from ::1
+
diff --git a/viewvc.spec b/viewvc.spec
index e48f383..4639691 100644
--- a/viewvc.spec
+++ b/viewvc.spec
@@ -2,7 +2,7 @@
Name: viewvc
Version: 1.1.17
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Browser interface for CVS and SVN version control repositories
Group: Development/Tools
@@ -142,6 +142,9 @@ with decent performance when run under Apache.
%attr(0700,apache,apache) %{_localstatedir}/spool/viewvc
%changelog
+* Wed Oct 31 2012 Bojan Smojver - 1.1.17-2
+- fix bug #871492
+
* Fri Oct 26 2012 Bojan Smojver - 1.1.17-1
- bump up to 1.1.17