This is an automated email from the ASF dual-hosted git repository.

swebb2066 pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
     new 111572aa Avoid browser cache issues when the link uses 'latest_stable'
111572aa is described below

commit 111572aaba83582c6325dce89a762df8c2722cb0
Author: Stephen Webb <[email protected]>
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>

Reply via email to