--- webroot/.htaccess 2003/07/19 10:36:24 1.2 +++ webroot/.htaccess 2005/06/10 10:52:24 1.8 @@ -1,23 +1,64 @@ -#DirectoryIndex suika intro index +DirectoryIndex cover intro contents list index +ReadmeName description + AddDefaultCharset iso-2022-jp +AddCharset iso-2022-jp .xhtml .xml +## Currently set by httpd.conf #Header set Content-Style-Type text/css -#Header set Content-Script-Type text/javascript +#Header set Content-Script-Type application/x-javascript #Header add Link "; rel=\"copyright\"" -#XBitHack full +AddType application/xhtml+xml .xhtml +AddType application/xml .xml -Action homeworkchecker /~wakaba/bin/homework -AddHandler homeworkchecker .hwchk +## Homework checker (obsolete) AddIcon (Check,/icons/hand-up) .hwchk +## H2H translator (obsolete but maintained for old documents) Action h2h /~wakaba/bin/h2h AddHandler h2h .h2h .hnf AddIcon (Document,/icons/layout) .h2h .hnf +## Image list Action piclist /okuchuu/piclist SetHandler piclist + +## Gone +ErrorDocument 410 /error/410 + ## TODO: Move to httpd.conf + +## Temporary unavailable +ErrorDocument 503 /error/503 +Redirect 503 /~crimson-beast/ +Redirect 503 /~eternal-zero/ +Redirect 503 /~make-dream/ +Redirect 503 /~rei/ +Redirect 503 /~utubi/ + +## Old URIs +Redirect 301 /shell/ http://suika.fam.cx/s/shell/ +Redirect 301 /uri/ http://suika.fam.cx/uri-res/ +Redirect gone /updatetime.lirs +Redirect gone /updatetime +Redirect 301 /cover http://suika.fam.cx/suika + +## Old announcement URIs +Redirect gone /news-20010526 +Redirect gone /news-20010526.html +Redirect 301 /news-2001-06-23 http://suika.fam.cx/admin/newsrelease/2001/0623 +Redirect 301 /news-2001-06-23.html http://suika.fam.cx/admin/newsrelease/2001/0623 +Redirect 301 /ne0801-2 http://suika.fam.cx/admin/web/announce/2001/0801 +Redirect 301 /ne0801-2.html http://suika.fam.cx/admin/web/announce/2001/0801 +Redirect 301 /ne0801 http://suika.fam.cx/admin/newsrelease/2001/0801 +Redirect 301 /ne0801.html http://suika.fam.cx/admin/newsrelease/2001/0801 +Redirect 301 /ne0810 http://suika.fam.cx/admin/newsrelease/2001/0810-dns +Redirect 301 /ne0810.html http://suika.fam.cx/admin/newsrelease/2001/0810-dns +Redirect 301 /ne0902 http://suika.fam.cx/admin/newsrelease/2001/0902 +Redirect 301 /ne0902.html http://suika.fam.cx/admin/newsrelease/2001/0902 +Redirect 301 /ne20011110 http://suika.fam.cx/admin/newsrelease/2001/1110 +Redirect 301 /ne20011110.html http://suika.fam.cx/admin/newsrelease/2001/1110