# Learnitive www production cutover

The canonical production origin is `https://www.learnitive.com`. This release supports a direct production promotion from `/var/www/learnitive.com` by running the package-root `./run.sh`.

The one-shot root launcher performs Apache/TLS preflight first and starts the production wrapper. The production wrapper runs the full application acceptance path and, before returning success, installs only Learnitive-owned production/redirect vhosts, performs an Apache config test and graceful reload, then verifies the local HTTPS cutover on `127.0.0.1`.

After acceptance:

- `https://www.learnitive.com/*` serves the production application;
- `http://www.learnitive.com/*` redirects to the matching HTTPS www URL;
- `http://learnitive.com/*` and `https://learnitive.com/*` redirect one hop to the matching HTTPS www URL;
- `http://edu.learnitive.com/*` and `https://edu.learnitive.com/*` redirect one hop to the matching HTTPS www URL;
- `/var/www/edu.learnitive.com` remains untouched as a rollback filesystem copy;
- `legacy.learnitive.com` and `preview.learnitive.com` are not claimed or changed by this cutover.

The production package never modifies Interactive Shell application files, systemd units, Docker resources, database, or Apache vhost files. Apache files containing Interactive Shell identity are snapshotted before and after Learnitive vhost activation and must remain byte-for-byte unchanged.
