All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login

All New Login

All gists matching topic Rules

Recently created
Least recently created
Recently updated
Least recently updated
Erreur32's Avatar

Erreur32 / blocage_bot_apache.md

0 likes
0 forks
1 files
Last active 1 month ago
Apache Deny Rules bots

RewriteEngine On

Exclude ACME challenge

RewriteCond %{REQUEST_URI} ^/.well-known/acme-challenge RewriteRule ^ - [L]

Whitelist your IP

RewriteCond %{REMOTE_ADDR} ^XX.XXX.XX.XXX$ RewriteRule .* - [L]

Erreur32's Avatar

Erreur32 / apache-better-blocking-common-rules.md

0 likes
0 forks
4 files
Last active 1 month ago
Apache Common Rules Secu
1 <VirtualHost *:80>
2 ## Note this is heavily reduced just to show the relevant lines
3 ## Expires and security options have been removed
4 ## Don't just paste this - but refer to it along with your customisations
5
6 ServerName www.example.com
7
8 DocumentRoot /var/www/example.com/live/htdocs
9
10 <Directory /var/www/example.com/live/htdocs>
Newer Older

Powered by Opengist ⋅ Load: 22ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文