.htaccess for ssl redirect that works

06/12/18

Permalink 01:57:41 pm, by pat, 23 words, 25 views   English (CA)
Categories: Announcements; Mins. worked: 0

.htaccess for ssl redirect that works

This .htaccess snippet will redirect all traffic to a site to https:

RewriteEngine On
RewriteCond %{HTTP:UVLBHTTPS} !^1$
RewriteRule ^(.*)$ https://web.uvic.ca/SITENAME/$1

Pingbacks:

No Pingbacks for this post yet...

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent, in the server room, the labs and the R&D rooms.

Reports

XML Feeds