[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Condense Chronicles rewrite rules, expand to 2022



Hi Jonathan,

one line is great, but still we have to adjust it every year.
I would like to have some more generic rule, maybe like this:


RewriteCond %{REQUEST_URI} ^/(News(/weekly)?/[0-9]{4})/(.*)$ [NC]
RewriteCond /path/to/root/%1 !-d
RewriteRule ^/(News.*)$ https://chronicles.debian.org/www/$1 [R=301,L]


It would be awesome if you can test if this would work.

-- 
best reards Thomas


Reply to: