Package list python-castellan / 9cb455f
allow redirects in .htaccess files on the static web servers As part of allowing projects to establish redirects when they move documentation pages around, we need to let them use .htaccess files. We only want to allow Redirect and RedirectMatch directives, though. This change restricts the directives on docs.o.o and adds them on the static servers used for drafts published during a build (to allow testing of the redirects). For more details see: Change-Id: I256d69f08499549e9e21179eb89f49cda79f7ac7 rajat29 4 years ago
2 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 redirectmatch 301 ^/castellan/([^/]+)/usage.html$ ^/user/index.html
1 redirectmatch 301 ^/castellan/([^/]+)/testing.html$ ^/contributor/testing.html
2 redirectmatch 301 ^/castellan/([^/]+)/installation.html$ ^/install/index.html
6363 # html_last_updated_fmt = '%b %d, %Y'
6464 html_last_updated_fmt = '%Y-%m-%d %H:%M'
66 # Add any paths that contain "extra" files, such as .htaccess or
67 # robots.txt.
68 html_extra_path = ['_extra']
6670 # Grouping the document tree into LaTeX files. List of tuples
6771 # (source start file, target name, title, author, documentclass
6872 # [howto/manual]).