.htaccess-byggare
.htaccess301
.htaccess-byggare: Bearbeta .htaccess lokalt i webbläsaren utan uppladdning med exakt Apache-utdata.
Praktiskt exempel
Apache mod_rewrite / RFC 9110Indata
force-https
non-www
301 /legacy-docs /docs
302 /beta /app
block-dotfiles
spa-fallbackUtdata
RewriteEngine On
# Force HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
# Redirect www to apex domain
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L,NE]
RewriteRule ^legacy-docs/?$ /docs [R=301,L,NE]
...NetFmt
100 % lokalt · Ingen uppladdning
Bearbeta .htaccess lokalt i webbläsaren utan uppladdning med exakt Apache-utdata.
IP och subnät
.htaccess till Apache.
DNS, e-post och routing
Utdata: Apache.
Linux och DevOps
Kopiera / Ladda ner.
.htaccess-byggare
- 1Indata: .htaccess (Öppna fil).
- 2Kör: .htaccess → Apache.
- 3Utdata: Apache (Kopiera / Ladda ner).
FAQ
100 % lokalt · Ingen uppladdning (.htaccess)?
Bearbeta .htaccess lokalt i webbläsaren utan uppladdning med exakt Apache-utdata.
.htaccess-byggare (.htaccess → Apache)?
Bearbeta .htaccess lokalt i webbläsaren utan uppladdning med exakt Apache-utdata. (.htaccess → Apache).
Nästa steg (Apache)?
Nästa steg: NetFmt (Apache).