Summary: | redirect for handbook | ||
---|---|---|---|
Product: | Websites | Reporter: | SpanKY <vapier> |
Component: | Other | Assignee: | Gentoo Infrastructure <infra-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | neysx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
SpanKY
![]() 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? seems like overkill, but if you want to do that, doesnt matter to me 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 :) Done on bluejay: http://bluejay.gentoo.org/proj/en/devrel/handbook 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] I fixed it on loon when bluejay died and loon became our master node |