mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Add a (disabled by default) .htaccess file to block out robots and other link scanning agents.
This commit is contained in:
parent
59d2b6f9fc
commit
b90260a0e1
3
.htaccess.disabled
Normal file
3
.htaccess.disabled
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview) [NC]
|
||||||
|
RewriteRule .* - [R=403,L]
|
Loading…
Reference in New Issue
Block a user