Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121002 - redirect for handbook
Summary: redirect for handbook
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-30 19:19 UTC by SpanKY
Modified: 2007-01-03 05:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2006-01-30 19:19:35 UTC
can you please setup a redirect for /proj/en/devrel/handbook/ to handbook.xml
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2006-03-14 14:54:18 UTC
Couldn't you just create an index.xml? Maybe with a few words and links to the ?full=1 and ?full=1&style=printable versions?
Comment 2 SpanKY gentoo-dev 2006-03-14 20:22:15 UTC
seems like overkill, but if you want to do that, doesnt matter to me
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2006-03-23 02:27:12 UTC
What infra can do for you:
. Add a rewrite
. Define the DirectoryIndex as e.g. index.xml index.html handbook.xml gwn.xml
. Add a link that is not overwritten by the rsync (yukky IMO)

What you can do right now:
. Create a simple index.xml like we did for the security handbook (http://www.gentoo.org/doc/en/security/index.xml). I don't think anything as trivial as that is overkill.
. cp handbook.xml index.xml and have 2 identical files (yes, I know).
. mv and replace handbook.xml with a short stub that uses the redirect attribute.

FYI, I know the redirect attribute generates crappy html delayed refresh. It's the best we can do at the moment on the www nodes, but when (if) we upgrade to >=gorg-0.6, then http redirects can be generated instead (Location: "@redirect" in http headers.)

Just pointing out options. What happens, whenever it happens, is between you and infra :)
Comment 4 Xavier Neys (RETIRED) gentoo-dev 2006-09-18 04:08:07 UTC
Done on bluejay:

http://bluejay.gentoo.org/proj/en/devrel/handbook
Comment 5 Xavier Neys (RETIRED) gentoo-dev 2006-09-18 06:50:32 UTC
Done on wren/kiwi as well

Please add the following to /etc/apache2/vhosts.d/www-rewrite.conf on loon. Thanks.

# Fix bug #121002
RewriteRule ^/proj/en/devrel/handbook/$ /proj/en/devrel/handbook/handbook.xml [R=permanent]
Comment 6 Xavier Neys (RETIRED) gentoo-dev 2007-01-03 05:41:54 UTC
I fixed it on loon when bluejay died and loon became our master node