Commit e469af41 authored by Tails developers's avatar Tails developers

Add a .htaccess to handle gracefully page moves

parent 5483be25
......@@ -104,7 +104,7 @@ libdir: ''
# environment variables
ENV: {}
# regexp of normally excluded files to include
#include: '^\.htaccess$'
include: '^\.htaccess$'
# regexp of files that should be skipped
exclude: (?-xism:/discussion)
# specifies the characters that are allowed in source filenames
......@@ -179,7 +179,7 @@ pingurl: []
# lockedit plugin
# PageSpec controlling which pages are locked
locked_pages: 'inc/* or download or doc/about/openpgp_keys or sidebar or support or torrents/rss* or index'
locked_pages: '.htaccess or inc/* or download or doc/about/openpgp_keys or sidebar or support or torrents/rss* or index'
# moderatedcomments plugin
# PageSpec matching users or comment locations to moderate
......
......@@ -100,7 +100,7 @@ libdir: ''
# environment variables
ENV: {}
# regexp of normally excluded files to include
#include: '^\.htaccess$'
include: '^\.htaccess$'
# regexp of files that should be skipped
exclude: (?-xism:/discussion)
# specifies the characters that are allowed in source filenames
......@@ -155,7 +155,7 @@ pingurl: []
# lockedit plugin
# PageSpec controlling which pages are locked
locked_pages: 'inc/* or download or doc/about/openpgp_keys or sidebar or support or torrents/rss* or index'
locked_pages: '.htaccess or inc/* or download or doc/about/openpgp_keys or sidebar or support or torrents/rss* or index'
# moderatedcomments plugin
# PageSpec matching users or comment locations to moderate
......
RewriteRule ^bug_reporting doc/first_steps/report_a_bug [R]
RewriteRule ^build contribute/build [R]
RewriteRule ^chat support/chat [R]
RewriteRule ^features doc/about/features [R]
RewriteRule ^found_a_problem support/found_a_problem [R]
RewriteRule ^git contribute/git [R]
RewriteRule ^GnuPG_key doc/about/openpgp_keys [R]
RewriteRule ^license doc/about/license [R]
RewriteRule ^patch contribute/patch [R]
RewriteRule ^talk-dev contribute/talk [R]
RewriteRule ^talk-users support/talk [R]
RewriteRule ^upgrade doc/upgrade [R]
RewriteRule ^customize contribute/customize [R]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment