This is an automated email from the ASF dual-hosted git repository. fmariani pushed a commit to branch internal-rewrite in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit e0bc3ed6aa62d6647aac36695d512c238b2bc4e2 Author: Croway <[email protected]> AuthorDate: Wed Jan 21 12:28:31 2026 +0100 Use internal rewrite on the same host instead of redirect --- static/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/.htaccess b/static/.htaccess index 1ae7247e..d2253834 100644 --- a/static/.htaccess +++ b/static/.htaccess @@ -3,9 +3,9 @@ RewriteEngine on RewriteBase "/" # Content negotiation for LLM-friendly Markdown -# When Accept header requests text/markdown, redirect .html to .md +# When Accept header requests text/markdown, serve .md instead of .html RewriteCond %{HTTP_ACCEPT} text/markdown [NC] -RewriteRule ^(.+)\.html$ /$1.md [R=303,L] +RewriteRule ^(.+)\.html$ $1.md [L] RewriteRule "^security-advisories.data/(.+)$" "security/$1" [R=permanent,L]
