demo: "Try it" is its own page on the .com, in the landing page's style (#117)

Captain Bob, 2026-11-06: "I want the try it as it's very own page and
use the landing page we designed earlier ... as a baseline."

The landing page is the .com's Main.WebHome. The Try-it page follows
it: a floating box -- Your Machine, in place of Quick Facts -- a linked
title, == sections, {{info}} and {{warning}}. It goes at TryIt on the
.com (/bin/view/TryIt/), with the console embedded and links back to
the landing page and the source.

The page is on the .com now, so apache-demo.conf lets the .com frame
the console (frame-ancestors), and the demo's host is
try.starshipos-f18.com.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GE3SDvQn5EoxdGufk84zz2
This commit is contained in:
rajames
2026-11-06 20:47:35 +00:00
co-authored by Claude Opus 5.5
parent 672d275f5c
commit 475dac67ef
3 changed files with 68 additions and 25 deletions
+5 -5
View File
@@ -2,14 +2,14 @@
# name, the certificate paths and the XWiki allowed to embed it are Captain Bob's to set.
# a2enmod proxy proxy_http proxy_wstunnel headers ssl rewrite
<VirtualHost *:443>
ServerName try.strshipos.com
ServerName try.starshipos-f18.com
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/try.strshipos.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/try.strshipos.com/privkey.pem
SSLCertificateFile /etc/letsencrypt/live/try.starshipos-f18.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/try.starshipos-f18.com/privkey.pem
# The terminal may be framed by the XWiki's "Try it" page, and by nothing else.
# The terminal may be framed by the "Try it" page on the .com (TryIt), and by nothing else.
Header always unset X-Frame-Options
Header always set Content-Security-Policy "frame-ancestors https://www.starshipos-f18.org https://starshipos-f18.org"
Header always set Content-Security-Policy "frame-ancestors https://starshipos-f18.com https://www.starshipos-f18.com"
ProxyPreserveHost On
RewriteEngine On