diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-03-16 10:41:39 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-03-16 10:41:39 +0100 |
commit | 9c9e9ca8c10ffa3e294c5d113e49d664380e9f9f (patch) | |
tree | 83ebd08ea4a4ca44e7a005d8049f5fe1c57b6dd2 | |
parent | 7bcfaf8fd433cd7bdff0accaf186a038770c430e (diff) |
apm-web: New package, split off php-pecl-apm
-rw-r--r-- | php-pecl-apm.httpd | 22 | ||||
-rw-r--r-- | php-pecl-apm.nginx | 26 | ||||
-rw-r--r-- | php-pecl-apm.spec | 4 |
3 files changed, 0 insertions, 52 deletions
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@ - -<Directory @SHARE@/@ALIAS@/> - AddDefaultCharset UTF-8 - - <IfModule mod_authz_core.c> - # Apache 2.4 - Require local - </IfModule> - <IfModule !mod_authz_core.c> - # Apache 2.2 - Order Deny,Allow - Deny from All - Allow from 127.0.0.1 - Allow from ::1 - </IfModule> -</Directory> 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 |