From 9c9e9ca8c10ffa3e294c5d113e49d664380e9f9f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Mar 2015 10:41:39 +0100 Subject: apm-web: New package, split off php-pecl-apm --- php-pecl-apm.httpd | 22 ---------------------- php-pecl-apm.nginx | 26 -------------------------- php-pecl-apm.spec | 4 ---- 3 files changed, 52 deletions(-) delete mode 100644 php-pecl-apm.httpd delete mode 100644 php-pecl-apm.nginx diff --git a/php-pecl-apm.httpd b/php-pecl-apm.httpd deleted file mode 100644 index 6878614..0000000 --- a/php-pecl-apm.httpd +++ /dev/null @@ -1,22 +0,0 @@ -# APM (Alternative PHP Monitor) -# -# Allows only localhost by default -# - -Alias /@ALIAS@ @SHARE@/@ALIAS@ - - - AddDefaultCharset UTF-8 - - - # Apache 2.4 - Require local - - - # Apache 2.2 - Order Deny,Allow - Deny from All - Allow from 127.0.0.1 - Allow from ::1 - - diff --git a/php-pecl-apm.nginx b/php-pecl-apm.nginx deleted file mode 100644 index fcde469..0000000 --- a/php-pecl-apm.nginx +++ /dev/null @@ -1,26 +0,0 @@ -# APM (Alternative PHP Monitor) -# -# Allows only localhost by default -# - -location = /@ALIAS@ { - alias @SHARE@/@ALIAS@/; -} - -location /@ALIAS@/ { - root @SHARE@; - index index.php index.html; - - location ~ ^/@ALIAS@/(.+\.php)$ - { - allow 127.0.0.1; - allow ::1; - deny all; - - try_files $uri =404; - fastcgi_intercept_errors on; - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_pass php-fpm; - } -} diff --git a/php-pecl-apm.spec b/php-pecl-apm.spec index 9f1695a..b72bbe2 100644 --- a/php-pecl-apm.spec +++ b/php-pecl-apm.spec @@ -42,10 +42,6 @@ Version: 2.0.2 Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz -# Webserver configuration files -Source1: %{pkg_name}.httpd -Source2: %{pkg_name}.nginx - # Disable the extension and drivers by default Patch0: %{proj_name}-config.patch # Upstream patches -- cgit