htaccess文件生成器可帮助你为 .htaccess文件生成必要的代码以保护目录。
Title for auth prompt
Location of .htpasswd
Enter corresponding URLs of your site. Leave empty for none.
404 - Not Found
403 - Forbidden
500 - Internal Server Error
401 - Unauthorized
Alowed domains. One per line, without http:// and www.
Some firewalls and antiviruses delete user referer information sent by browser. If you will disallow blank referers, some visitors will be blocked on your site. It is recommended转allow it.
Extensions转protect. Space separated, without dot, leave empty for all.
Blocked domains/hitbots. One per line, leave empty for none.
Redirect blocked hits转this URL. Leave empty for none
Blocked IP. One per line, leave empty for none.
Fill URL fields for needed languages. Leave the field empty for none.
Fill URL fields for needed device types. Leave the field empty for none.
on this domain