# Subdomain document root (e.g. public_html/pboregister). The app lives in
# ./pbo-portal because its links use the /pbo-portal/ prefix.
DirectoryIndex index.php index.html
RedirectMatch 301 ^/$ /pbo-portal/

# Force HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} !=https
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
