projects
/
pgweb-old.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
663411b
)
Add redirect for access to "version 9" docs to "version 9.0"
author
Magnus Hagander
<magnus@hagander.net>
Mon, 13 Dec 2010 12:31:19 +0000
(12:31 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 13 Dec 2010 12:31:19 +0000
(12:31 +0000)
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2780
8f5c7a92
-453e-0410-a47f-
ad33c8a6b003
portal/tools/htaccess/docs
patch
|
blob
|
blame
|
history
diff --git
a/portal/tools/htaccess/docs
b/portal/tools/htaccess/docs
index 9583e7488937d256b3ad6d652865edd6a03acc58..0893c47518bcb540cc4b880430c749e30a190492 100644
(file)
--- a/
portal/tools/htaccess/docs
+++ b/
portal/tools/htaccess/docs
@@
-10,6
+10,9
@@
RewriteRule ^(current)/?$ /docs/current/static/ [R,L]
RewriteRule ^7.3/interactive/(.*)$ /docs/7.3/static/$1 [R,L]
+# Accidentally leaked "/9/" URLs, rewrite those to proper 9.0
+RewriteRule ^9/(.*)$ /docs/9.0/$1 [R,L]
+
RewriteRule ^techdocs.* http://wiki.postgresql.org [R,L]
RewriteRule ^faqs.FAQ.html http://wiki.postgresql.org/wiki/FAQ [R,L]