2017 © Pedro Peláez
 

library cloudflare

A ZF2 plugin to fix global variables when using CloudFlare

image

stuki/cloudflare

A ZF2 plugin to fix global variables when using CloudFlare

  • Monday, September 15, 2014
  • by tom_anderson
  • Repository
  • 1 Watchers
  • 0 Stars
  • 426 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

CloudFlare Module for ZF2

This module adjusts the global variables $_SERVER['REMOTE_ADDR'], $_SERVER['HTTPS'], and $_SERVER['HTTP_X_FORWARDED_PROTO'] to their correct values when using CloudFlare., (*1)

Install

php composer.phar require "stuki/cloudflare": "dev-master"

Enable module in config/application.config.php:, (*2)

return array(
    'modules' => array(
        'Stuki\\CloudFlare',
        ...
    ),

.htaccess

Included in this repo are .htaccess rewrite rules to allow only CloudFlare apps to connect to your application and redirect all other traffic sources to your CloudFlare hosted domain., (*3)

The Versions

15/09 2014

dev-master

9999999-dev http://www.github.com/StukiOrg/CloudFlare

A ZF2 plugin to fix global variables when using CloudFlare

  Sources   Download

proprietary

The Requires

 

cloud cloudflare flare

15/09 2014

1.0.0

1.0.0.0 http://www.github.com/StukiOrg/CloudFlare

A ZF2 plugin to fix global variables when using CloudFlare

  Sources   Download

proprietary

The Requires

 

cloud cloudflare flare