2017 © Pedro Peláez
 

library yii2-deny-trash

Adds a ban on access by ip address, in accordance with the rules

image

mrssoft/yii2-deny-trash

Adds a ban on access by ip address, in accordance with the rules

  • Friday, April 27, 2018
  • by mrs2000
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 89 % Grown

The README.md

yii2-deny-trash

Adds a ban on access by ip address, in accordance with the rules, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist mrssoft/yii2-deny-trash "*"

or add, (*4)

"mrssoft/yii2-deny-trash": "*"

to the require section of your composer.json file., (*5)

Usage

Configuration:, (*6)

'components' => [
    ...
    'log' => [
        'targets' => [
        [
            'class' => 'mrssoft\denytrash\DenyTrashTarget',
            'levels' => ['error'],
            'serverType' => 'Apache',
            'excludeIp' => ['195.206.45.15'],
            'enabled' => true,
        ],
   ]
   ....
]

.htaccess:, (*7)

...
order deny,allow
...

Setting rules

Setting rules in a file options.json, (*8)

The Versions

27/04 2018

1.0.2

1.0.2.0

Adds a ban on access by ip address, in accordance with the rules

  Sources   Download

The Requires

 

by Melnikov Ruslan

05/03 2018

dev-master

9999999-dev

Adds a ban on access by ip address, in accordance with the rules

  Sources   Download

The Requires

 

by Melnikov Ruslan

05/03 2018

1.0.1

1.0.1.0

Adds a ban on access by ip address, in accordance with the rules

  Sources   Download

The Requires

 

by Melnikov Ruslan

05/03 2018

1.0.0

1.0.0.0

Adds a ban on access by ip address, in accordance with the rules

  Sources   Download

The Requires

 

by Melnikov Ruslan