A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

Htaccess generator
approsto

Htaccess generator

Use this tool to automatically generate a .htaccess file with desired configuration.

Generated .htaccess

  • Authentication
  • Custom error pages
  • Image hotlink protection
  • Block IP and domains
  • Redirect by language
  • Redirect by mobile device
  • Miscellaneous

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 to allow it.

Extensions to protect. Space separated, without dot, leave empty for all.

Blocked domains/hitbots. One per line, leave empty for none.

Redirect blocked hits to 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