https://github.com/kambrium/apache-referrer-spam-blacklist
This script generates a .htaccess file based on the referrer spam blacklist from https://github.com/matomo-org/referrer-spam-blacklist
https://github.com/kambrium/apache-referrer-spam-blacklist
apache blacklist htaccess httpd-conf referrer-spam
Last synced: 26 days ago
JSON representation
This script generates a .htaccess file based on the referrer spam blacklist from https://github.com/matomo-org/referrer-spam-blacklist
- Host: GitHub
- URL: https://github.com/kambrium/apache-referrer-spam-blacklist
- Owner: kambrium
- License: cc0-1.0
- Created: 2018-04-02T09:56:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T17:22:25.000Z (about 7 years ago)
- Last Synced: 2025-04-18T08:40:10.270Z (about 1 month ago)
- Topics: apache, blacklist, htaccess, httpd-conf, referrer-spam
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
apache-referrer-spam-blacklist
==============================About
-----
This script generates a .htaccess file based on the referrer spam blacklist from [https://github.com/matomo-org/referrer-spam-blacklist](https://github.com/matomo-org/referrer-spam-blacklist). If you prefer to use `httpd.conf`, just copy the content of the generated `.htaccess` file to your `httpd.conf`.Usage
-----
1. Clone (or download) [Matomo's referrer-spam-blacklist](https://github.com/matomo-org/referrer-spam-blacklist) and [this repository](https://github.com/kambrium/apache-referrer-spam-blacklist).```
git clone https://github.com/matomo-org/referrer-spam-blacklist.git && git clone https://github.com/kambrium/apache-referrer-spam-blacklist.git
```2. Change to the directory `apache-referrer-spam-blacklist`, set permissions and execute the script. The `.htaccess` file should be created in the directory `apache-referrer-spam-blacklist`.
```
cd apache-referrer-spam-blacklist
chmod u+x apache-referrer-spam-blacklist.sh
./apache-referrer-spam-blacklist.sh
```License
-------
CC0 1.0 Universal