You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by sw...@apache.org on 2024/10/18 06:51:29 UTC
(logging-log4cxx-site) 19/21: Avoid browser cache issues when the link uses 'latest_stable'
This is an automated email from the ASF dual-hosted git repository.
swebb2066 pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx-site.git
commit ca6b356d19a038b90cb17698b32382048e135135
Author: Stephen Webb <sw...@gmail.com>
AuthorDate: Tue Oct 15 14:10:48 2024 +1100
Avoid browser cache issues when the link uses 'latest_stable'
---
.htaccess | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.htaccess b/.htaccess
index fc8b22d0..414528ef 100644
--- a/.htaccess
+++ b/.htaccess
@@ -14,6 +14,8 @@
RewriteCond %{REQUEST_URI} !^/log4cxx/latest_stable(?:/(?:.+)?)?$
RewriteCond %{REQUEST_URI} !^/log4cxx/old_stable(?:/(?:.+)?)?$
RewriteRule ^(.*)$ /log4cxx/1.3.0/$1 [R=temp,L]
- RewriteRule ^/log4cxx/latest_stable(?:/(?:.+)?)?$ /log4cxx/1.3.0/$1 [R=temp,L]
+
+ RewriteCond %{REQUEST_URI} ^/log4cxx/next_stable(?:/(?:.+)?)?$
+ RewriteRule ^(.*)$ /log4cxx/1.3.0/$1 [R=temp,L]
</IfModule>