asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/ - 2.2: site/ -> archive/site/ - 2.3: src/lab/ -> archive/lab/ - 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
This commit is contained in:
parent
416fe2f180
commit
e47a9f4401
173 changed files with 11 additions and 5 deletions
30
archive/packs/apache/apache-autoindex.conf
Normal file
30
archive/packs/apache/apache-autoindex.conf
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# ASW Apache Autoindex — config snippet
|
||||
#
|
||||
# Enables ASW-styled directory listings.
|
||||
# Apache's HeaderName/ReadmeName inject custom HTML before/after the file table.
|
||||
#
|
||||
# Paste this into your VirtualHost block or a <Directory> block.
|
||||
# Adjust paths to match your setup.
|
||||
|
||||
# ── Autoindex settings ───────────────────────────────────────────────────────
|
||||
|
||||
Options +Indexes
|
||||
IndexOptions FancyIndexing HTMLTable SuppressRules SuppressColumnSorting
|
||||
IndexOptions +NameWidth=* +DescriptionWidth=* +Charset=UTF-8
|
||||
|
||||
# Custom header/footer HTML injected around the file table
|
||||
HeaderName /autoindex/autoindex-header.html
|
||||
ReadmeName /autoindex/autoindex-footer.html
|
||||
|
||||
# Suppress the default Apache header (H1 "Index of /path")
|
||||
# — our header file provides the title
|
||||
IndexOptions +SuppressHTMLPreamble
|
||||
|
||||
# Serve the custom header/footer files
|
||||
Alias /autoindex/ /home/exedev/projects/agentic-semantic-web/packs/apache/
|
||||
|
||||
<Directory /home/exedev/projects/agentic-semantic-web/packs/apache/>
|
||||
Options None
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
27
archive/packs/apache/apache-errors.conf
Normal file
27
archive/packs/apache/apache-errors.conf
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# ASW Apache Error Pages — config snippet
|
||||
#
|
||||
# Paste this into your VirtualHost block or httpd.conf.
|
||||
# Adjust the DocumentRoot alias path to where your errors/ directory lives.
|
||||
#
|
||||
# Assumes asw.css is served at /asw/asw.css
|
||||
# (serve the agentic-semantic-web repo root as /asw/ — see README.md)
|
||||
|
||||
# ── Error pages ──────────────────────────────────────────────────────────────
|
||||
|
||||
ErrorDocument 400 /errors/400.html
|
||||
ErrorDocument 401 /errors/401.html
|
||||
ErrorDocument 403 /errors/403.html
|
||||
ErrorDocument 404 /errors/404.html
|
||||
ErrorDocument 500 /errors/500.html
|
||||
ErrorDocument 502 /errors/502.html
|
||||
ErrorDocument 503 /errors/503.html
|
||||
|
||||
# Serve the ASW errors/ directory.
|
||||
# Adjust the path to where your agentic-semantic-web checkout lives.
|
||||
Alias /errors/ /home/exedev/projects/agentic-semantic-web/errors/
|
||||
|
||||
<Directory /home/exedev/projects/agentic-semantic-web/errors/>
|
||||
Options None
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
3
archive/packs/apache/autoindex-footer.html
Normal file
3
archive/packs/apache/autoindex-footer.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
</main>
|
||||
</body>
|
||||
</html>
|
||||
49
archive/packs/apache/autoindex-header.html
Normal file
49
archive/packs/apache/autoindex-header.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/asw/asw.css">
|
||||
<title>Directory Listing</title>
|
||||
<style>
|
||||
body { display: flex; flex-direction: column; min-height: 100vh; }
|
||||
main { flex: 1; padding: 2rem; max-width: 80ch; margin: 0 auto; width: 100%; }
|
||||
|
||||
/* Apache autoindex outputs a <table> — style it to match ASW */
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-family: var(--asw-font-mono);
|
||||
font-size: var(--asw-text-sm);
|
||||
}
|
||||
table th {
|
||||
text-align: left;
|
||||
padding: 0.5rem 0.75rem;
|
||||
border-bottom: 1px solid var(--asw-border);
|
||||
color: var(--asw-text-muted);
|
||||
font-weight: 500;
|
||||
font-size: var(--asw-text-xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
table td {
|
||||
padding: 0.4rem 0.75rem;
|
||||
border-bottom: 1px solid var(--asw-border-subtle);
|
||||
color: var(--asw-text-secondary);
|
||||
}
|
||||
table tr:hover td { background: var(--asw-bg-hover); }
|
||||
table td:first-child a {
|
||||
color: var(--asw-accent);
|
||||
text-decoration: none;
|
||||
}
|
||||
table td:first-child a:hover { text-decoration: underline; }
|
||||
/* parent directory link */
|
||||
table td img { display: none; } /* hide Apache's default icons */
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<ul><li><a href="/"><strong>Home</strong></a></li></ul>
|
||||
</nav>
|
||||
<main>
|
||||
<h1>Directory listing</h1>
|
||||
Loading…
Add table
Add a link
Reference in a new issue