mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
Add a (disabled by default) .htaccess file to block out robots and other link scanning agents.
This commit is contained in:
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]
|
||||
Reference in New Issue
Block a user