Skip to content
🔧

.htaccess-Generator

Netzwerk & Ops · Kostenloses Online-Tool

Redirect-/Cache-/Auth-.htaccess-Regeln generieren.

CoderNewbie-Team

Common Options

Rules

.htaccess
# .htaccess
# Generated by codernewbie.com

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Redirects & Rewrites
RewriteEngine On
Redirect 301 /old-page.html /new-page.html

# Block access to dotfiles
<FilesMatch "^\.">
  Require all denied
</FilesMatch>

# Custom error pages
ErrorDocument 404 /404.html
ErrorDocument 403 /403.html
ErrorDocument 500 /500.html

Apache mod_rewrite

Generiert RewriteRule- und Redirect-Direktiven für Apache HTTP Server.

Mehrere Redirect-Codes

Unterstützt 301, 302, 307 und 308-Statuscodes pro Regel.

Bereit zum Hochladen

Datei als .htaccess herunterladen und in Site-Root hochladen.

So verwendest du .htaccess-Generator

  1. 1Enter the URL, IP address, or network parameter to look up.
  2. 2Click the lookup or test button.
  3. 3Review the detailed results in the output panel.
  4. 4Use the information for your network operations.

Funktionen

  • 100% kostenlos — keine Registrierung, kein Abo, keine Werbung
  • Läuft vollständig im Browser — Daten verlassen niemals dein Gerät
  • Schnell und ressourcenschonend — sofortige Ergebnisse
  • Plattformübergreifend — Desktop, Tablet und Smartphone

Häufige Fragen

Are network lookups real-time?

Yes, IP lookups, DNS queries, and HTTP tests perform live network requests to provide current data.

Is my IP address logged?

The IP Lookup tool queries public geolocation APIs. We do not store your IP address or lookup history.

Verwandte Tools