📜  .htaccess 防止使用无效字符的请求 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:25.527000             🧑  作者: Mango

代码示例1
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} !^[A-Z]{3,9}\ [a-zA-Z0-9\.\+_/\-\?\=\&]+\ HTTP/ [NC]
RewriteRule .* - [F,NS,L]