# Serve https://localhost/mythoughts/ from the public web root. # # Include this from the site VirtualHost (or paste the Alias/Directory block # into the existing one). Everything outside public/ - lib/, config/, vendor/, # node_modules/ - stays off the document root and is never web-reachable. Alias /mythoughts /var/www/html/mythoughts/public Options FollowSymLinks AllowOverride None Require all granted DirectoryIndex index.php # Vite writes content-hashed asset names, so they are safe to pin. Header set Cache-Control "public, max-age=31536000, immutable" AddOutputFilterByType BROTLI_COMPRESS \ text/html \ text/plain \ text/css \ text/javascript \ application/javascript \ application/json \ application/manifest+json \ image/svg+xml AddOutputFilterByType DEFLATE \ text/html \ text/plain \ text/css \ text/javascript \ application/javascript \ application/json \ application/manifest+json \ image/svg+xml