mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
Merge pull request #63 from squarefractal/htaccess-work
Add a (disabled by default) .htaccess file to block out robots and other link scanning agents.
This commit is contained in:
commit
9593ba7039
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