From 71c7be5e3b47861de9511354d82cf7c38c746b76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 29 Oct 2013 21:29:26 +0200 Subject: [PATCH] multi apache version config --- php-xcache.spec | 3 ++- xcache-apache.conf | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/php-xcache.spec b/php-xcache.spec index c8c531c..2ff96c4 100644 --- a/php-xcache.spec +++ b/php-xcache.spec @@ -6,7 +6,7 @@ Summary: %{modname} - PHP opcode cacher Summary(pl.UTF-8): %{modname} - buforowanie opcodów PHP Name: %{php_name}-%{modname} Version: 3.0.1 -Release: 1 +Release: 3 License: BSD Group: Development/Languages/PHP Source0: http://xcache.lighttpd.net/pub/Releases/%{version}/xcache-%{version}.tar.bz2 @@ -41,6 +41,7 @@ Summary: WEB interface for xCache Group: Libraries Requires: %{name} = %{version}-%{release} Requires: webapps +Requires: webserver(access) Requires: webserver(php) >= 5.0 %description web diff --git a/xcache-apache.conf b/xcache-apache.conf index aa3e788..bb6ad4d 100644 --- a/xcache-apache.conf +++ b/xcache-apache.conf @@ -5,5 +5,12 @@ Alias /xcache /usr/share/xcache - Allow from 127.0.0.1 + # Apache 2.x + + Allow from 127.0.0.1 + + # Apache 2.4 + + Require local + -- 2.44.0