This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Files ~ "\.php$"> | |
order deny,allow | |
deny from all | |
SetEnvIf User-Agent "Googlebot" allowlist | |
SetEnvIf User-Agent "msnbot" allowlist | |
SetEnvIf User-Agent "bingbot" allowlist | |
SetEnvIf User-Agent "Applebot" allowlist | |
SetEnvIf User-Agent "facebookexternalhit" allowlist | |
SetEnvIf User-Agent "facebookplatform" allowlist | |
SetEnvIf User-Agent "Twitterbot" allowlist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Files ~ "\.php$"> | |
Require all denied | |
SetEnvIf User-Agent "Googlebot" allowlist | |
SetEnvIf User-Agent "msnbot" allowlist | |
SetEnvIf User-Agent "bingbot" allowlist | |
SetEnvIf User-Agent "Applebot" allowlist | |
SetEnvIf User-Agent "facebookexternalhit" allowlist | |
SetEnvIf User-Agent "facebookplatform" allowlist | |
SetEnvIf User-Agent "Twitterbot" allowlist | |
require env allowlist |
OlderNewer