Closed
Bug 1351142
Opened 7 years ago
Closed 7 years ago
standardize http->https redirect pattern in virtual-redirect
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Atoll, Assigned: Atoll)
Details
(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/4512])
should be able to copy-paste servername/alias only, no other changes, using 301
<VirtualHost *:80> ServerName xyz ServerAlias abc RewriteEngine On RewriteRule "^/?(.*)" "https://%{HTTP_HOST}/$1" [L,R=308,QSA] </VirtualHost> <VirtualHost *:81> ServerName xyz ServerAlias abc ... </VirtualHost> 308 Permanent tells the browser to maintain whatever HTTP method it was using over http:// so that we can concentrate all intelligence in the HTTPS side, and make the *:80 side a generic redirect. Implemented and deployed in stage, will ship to prod with other changes.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Apache can't load 308 reliably, reduced to R=307 (temp) instead. HSTS will take care of it.
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•