aronkerr/no-ie

A module for blocking access to an application if the user agent is Internet Explorer.

Installs: 117

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:HTML

dev-master 2015-09-21 18:42 UTC

This package is not auto-updated.

Last update: 2024-04-13 13:57:14 UTC


README

Introduction

A ZF2 module that keeps users from accessing an application if they are using Internet Explorer. If a user using Internet Explorer attempts to access the application a status code 406 will be returned and a custom 406 error template will be displayed. The message returned is designed to look like exactly like the normal IE errors and explains that IE doesn't properly support internet standards. The user is given to options to correct the error, go back or download Google Chrome.

Requirements

Features / Goals

  • Keep users who use Internet Explorer for accessing the application [COMPLETE]

Installation

Main Setup

By cloning project

  1. Clone this project into your ./vendor/ directory.

With composer

  1. Add this project in your composer.json:
"require": {
  "aronkerr/no-ie": "dev-master"
}
  1. Now tell composer to download NoIE by running the command:
$ php composer.phar update

Post Installation

  1. Move the files contained in this projects public directory to your ./public directory.
  2. Enable the module in your applicatiion.config.php file.
<?php
return array(
  'modules' => array(
    // ...
    'NoIE'
  ),
  // ...
);