--- webroot/.htaccess 2003/07/21 07:23:25 1.3
+++ webroot/.htaccess 2007/07/19 13:28:42 1.9
@@ -1,31 +1,68 @@
-#DirectoryIndex suika intro index
+DirectoryIndex cover intro contents list index
+ReadmeName description
+
+IndexOptions +NameWidth=* +DescriptionWidth=* +TrackModified
+
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
+AddType image/vnd.microsoft.icon .ico
+
+## 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 gone /default.ida
-Redirect 503 /~external-zero/
+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/N2L
+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