Skip to main content
Ctrl+K
Logo image
  • Home
  • Documentation
  • FAQ
  • Users
  • Developers
  • Download
  • Bugs
  • Recent Changes
  • .rst

Configuration

Contents

  • Configuration
    • Redirect Hostname
    • Forcing HTTPS
  • References

Configuration#

Redirect Hostname#

RewriteCond %{HTTP_HOST} ^pki.fedoraproject.org
RewriteRule ^(.*)$ https://www.dogtagpki.org/$1 [R=301,L]

Forcing HTTPS#

RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
RewriteRule ^(.*)$ https://www.dogtagpki.org/$1 [R=301,L]

References#

  • Apache HTTP Server Tutorial: .htaccess files

  • Apache Module mod_rewrite

  • Redirecting and Remapping with mod_rewrite

  • PHP

  • MediaWiki

Contents
  • Configuration
    • Redirect Hostname
    • Forcing HTTPS
  • References

By Dogtag PKI Team

© Copyright 2023, Dogtag PKI Team.