From 884df671a1bd744d3bc004cd8a6f2b5838d24b7b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 11 May 2026 10:17:53 +0200 Subject: feat: initial commit — Apache autoindex theme with matrix rain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - gen_web_hook.sh: generates _header.html/_footer.html per repo/category/package dir - .assets/matrix-rain.js: danix2-engine matrix rain, header-scoped (65% width, right-aligned) - Category headers include gradient accent pill with category name - htaccess: autoindex config, MIME types, cache headers, IndexIgnore .assets - vhost.conf: Apache VirtualHost template (values masked for public repo) - CLAUDE.md: repo architecture docs Co-Authored-By: Claude Sonnet 4.6 --- vhost.conf | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 vhost.conf (limited to 'vhost.conf') diff --git a/vhost.conf b/vhost.conf new file mode 100644 index 0000000..03fef31 --- /dev/null +++ b/vhost.conf @@ -0,0 +1,33 @@ + + ServerName YOUR_DOMAIN + DocumentRoot /path/to/pkgrepo + + SSLEngine On + + ErrorLog "/var/log/apache2/packages_error_log" + CustomLog "/var/log/apache2/packages_access_log" common + + + Require all granted + Options +Indexes + AllowOverride All + + + # All IndexOptions, HeaderName, ReadmeName are managed in .htaccess + + Include /etc/letsencrypt/options-ssl-apache.conf + SSLCertificateFile /etc/letsencrypt/live/YOUR_DOMAIN/fullchain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/YOUR_DOMAIN/privkey.pem + + +# ── Required Apache modules ─────────────────────────────────────────────────── +# Check what's active: apache2ctl -M | grep -E 'autoindex|headers|php|proxy' +# +# a2enmod autoindex <- directory listings +# a2enmod headers <- Cache-Control headers in .htaccess +# +# PHP -- pick one: +# mod_php: a2enmod php8.4 +# php-fpm: a2enmod proxy_fcgi setenvif && a2enconf php8.4-fpm +# +# systemctl reload apache2 \ No newline at end of file -- cgit v1.2.3