Tools

.htaccess Generator

Generate .htaccess rules for redirects, security, caching

URL Rewriting

Redirects

Security Headers

Prevent directory listing
Block dot files
X-Content-Type-Options: nosniff

Browser Caching

Gzip Compression

Custom Error Pages

CORS

Basic Authentication

.htaccess Output

# ─── Security Headers ───
Options -Indexes

<FilesMatch "^\.">
  Order Allow,Deny
  Deny from all
</FilesMatch>
Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin-when-cross-origin"

More tools like .htaccess Generator

View all