MDomain dustinandtabitha.com ServerName dustinandtabitha.com ServerAlias www.dustinandtabitha.com RewriteEngine On RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L] ServerName dustinandtabitha.com ServerAlias www.dustinandtabitha.com Include conf.d/ssl.include Header always set \ Strict-Transport-Security "max-age=63072000; includeSubDomains" RewriteEngine On RewriteRule /submit/rsvp http://127.0.0.1:8000/weddingrsvp [P] DocumentRoot /srv/www/dustinandtabitha/htdocs Require all granted