Files
configpolicy/roles/websites/tabitha/files/tabitha.httpd.conf
Dustin C. Hatch 7034d5fec0 websites/tabitha: Redirect to HLC, use mod_md cert
Tabitha has effectively decommissioned her _tabitha.biz_ website.  She
wants it to redirect to the Hatch Learning Center site instead.
2025-07-23 11:40:25 -05:00

25 lines
504 B
Plaintext

MDomain tabitha.biz
<VirtualHost _default_:80>
ServerName tabitha.biz
ServerAlias www.tabitha.biz
RewriteEngine On
RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L]
</VirtualHost>
<VirtualHost _default_:443>
ServerName tabitha.biz
ServerAlias www.tabitha.biz
Include conf.d/ssl.include
<IfModule mod_headers.c>
Header always set \
Strict-Transport-Security "max-age=63072000; includeSubDomains"
</IfModule>
RewriteEngine On
RewriteRule .* https://hatchlearningcenter.org/ [R,L]
</VirtualHost>