Skip to content

Commit 2ae30ed

Browse files
committed
Rename HECVAT-415.html to index.html for GitHub Pages
Makes the site accessible at the repo root URL without needing a filename in the path. Updates all references in README, app.js, and the nginx/apache/Caddy/_headers server configs.
1 parent 1a30172 commit 2ae30ed

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
```
1111
HECVAT-415/
12-
├── HECVAT-415.html — Open this file in your browser to use the form
12+
├── index.html — Open this file in your browser to use the form
1313
├── hecvat-data.js — Question data (332 questions from HECVAT 4.1.5 xlsx)
1414
├── hecvat-app.js — Application logic
1515
└── hecvat.css — Stylesheet
@@ -23,7 +23,7 @@ other three by relative path, so moving them apart will break the tool.
2323
## Getting Started
2424

2525
1. **Unzip** the archive into a folder on your computer.
26-
2. **Open `HECVAT-415.html`** in a modern browser — Chrome, Firefox, Edge, or
26+
2. **Open `index.html`** in a modern browser — Chrome, Firefox, Edge, or
2727
Safari. No internet connection, server, or installation required.
2828
3. Begin on the **Start Here** section. Your answers to the Required Questions
2929
there determine which other sections apply to your product.
@@ -330,7 +330,7 @@ authoritative guidance on question interpretation and submission requirements.
330330

331331
## Hosted Deployment Guide
332332

333-
This tool is designed to run as a local file (`file://`) but can be hosted on a web server. When hosted, you **must** serve the security headers as HTTP response headers — the `<meta>` tags in `HECVAT-415.html` are a fallback, but HTTP headers provide stronger and more reliable enforcement.
333+
This tool is designed to run as a local file (`file://`) but can be hosted on a web server. When hosted, you **must** serve the security headers as HTTP response headers — the `<meta>` tags in `index.html` are a fallback, but HTTP headers provide stronger and more reliable enforcement.
334334

335335
### Server configuration files
336336

@@ -360,7 +360,7 @@ Every server configuration sets these headers:
360360
361361
### Deployment on Netlify or Cloudflare Pages
362362

363-
1. Copy the four tool files (`HECVAT-415.html`, `hecvat-app.js`, `hecvat-data.js`, `hecvat.css`) and the `_headers` file into your repository root.
363+
1. Copy the four tool files (`index.html`, `hecvat-app.js`, `hecvat-data.js`, `hecvat.css`) and the `_headers` file into your repository root.
364364
2. Set your publish directory to the repository root.
365365
3. Deploy. Both platforms automatically apply the `_headers` file.
366366

hecvat-app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
5. Clear & Reset — wipes both localStorage AND
3737
sessionStorage keys, then reloads.
3838
39-
6. CSP — HECVAT-415.html carries a <meta>
39+
6. CSP — index.html carries a <meta>
4040
CSP. If hosted on a web server, the same policy should be
4141
delivered as an HTTP Content-Security-Policy response header
4242
for stronger enforcement (meta CSP cannot cover all cases and
4343
is easier to bypass in some browser configurations).
4444
Current policy: no eval, no inline scripts/styles, no external
45-
origins, no framing. See HECVAT-415.html and the server
45+
origins, no framing. See index.html and the server
4646
configuration guide in README.md.
4747
============================================================ */
4848

hecvat_v20/server-configs/Caddyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ hecvat.yourdomain.edu {
1212
file_server
1313

1414
# Default page
15-
try_files {path} HECVAT-415.html
15+
try_files {path} index.html
1616

1717
# ── Security headers ──────────────────────────────────────────────
1818
# These HTTP headers take precedence over the equivalent <meta> tags
19-
# in HECVAT-415.html and provide stronger enforcement.
19+
# in index.html and provide stronger enforcement.
2020

2121
header {
2222
# Content Security Policy

hecvat_v20/server-configs/_headers

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# HECVAT 4.1.5 — Netlify / Cloudflare Pages headers file
22
#
33
# Place this file at the ROOT of your published site (same level as
4-
# HECVAT-415.html). It is automatically picked up by both:
4+
# index.html). It is automatically picked up by both:
55
# - Netlify (https://docs.netlify.com/routing/headers/)
66
# - Cloudflare Pages (https://developers.cloudflare.com/pages/configuration/headers/)
77
#
88
# These HTTP headers take precedence over the equivalent <meta> tags
9-
# in HECVAT-415.html and provide stronger enforcement.
9+
# in index.html and provide stronger enforcement.
1010

1111
/*
1212
# Content Security Policy
13-
# Mirrors the meta-tag CSP in HECVAT-415.html exactly.
13+
# Mirrors the meta-tag CSP in index.html exactly.
1414
Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'; base-uri 'self'; form-action 'none'; frame-ancestors 'none';
1515

1616
# Clickjacking protection (complements frame-ancestors in CSP)

hecvat_v20/server-configs/apache.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<VirtualHost *:443>
99
ServerName hecvat.yourdomain.edu
1010
DocumentRoot /var/www/hecvat
11-
DirectoryIndex HECVAT-415.html
11+
DirectoryIndex index.html
1212

1313
# --- TLS ---
1414
SSLEngine on
@@ -25,7 +25,7 @@
2525

2626
# ── Security headers ─────────────────────────────────────────────
2727
# These headers are the primary enforcement mechanism.
28-
# They complement the <meta> CSP tag in HECVAT-415.html and
28+
# They complement the <meta> CSP tag in index.html and
2929
# take precedence over it.
3030

3131
# Content Security Policy

hecvat_v20/server-configs/nginx.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ server {
1515
ssl_ciphers HIGH:!aNULL:!MD5;
1616
ssl_prefer_server_ciphers on;
1717

18-
# --- Document root (folder containing HECVAT-415.html) ---
18+
# --- Document root (folder containing index.html) ---
1919
root /var/www/hecvat;
20-
index HECVAT-415.html;
20+
index index.html;
2121

2222
location / {
2323
try_files $uri $uri/ =404;
2424

2525
# ── Security headers ────────────────────────────────────────────
2626
# These headers apply to every response. They take precedence over
27-
# the equivalent <meta> tags in HECVAT-415.html.
27+
# the equivalent <meta> tags in index.html.
2828

2929
# Content Security Policy
30-
# Mirrors the meta-tag CSP in HECVAT-415.html exactly.
30+
# Mirrors the meta-tag CSP in index.html exactly.
3131
# Delivering it as an HTTP header provides stronger enforcement
3232
# (covers preflight requests, multipart responses, and some
3333
# browser quirks that ignore meta-tag CSP).
File renamed without changes.

0 commit comments

Comments
 (0)