All pastes #25918 Raw Edit

Mine

public text v1 · immutable
#25918 ·published 2005-10-19 01:48 UTC
rendered paste body
RedirectMatch ^/amphetadesk/(.*)\.htm$                  http://www.disobey.com/amphetadesk/$1
RedirectMatch ^/collected/(.*)\.htm$                    http://www.disobey.com/collected/$1
RedirectMatch ^/ghostsites/(.*)\.htm$                   http://www.disobey.com/ghostsites/$1
RedirectMatch ^/ghostsites/show/(.*)$                   http://www.disobey.com/ghostsites/show_exhibit/$1
RedirectMatch ^/ghostsites/ss/(.*)\.shtml$              http://www.disobey.com/ghostsites/show_exhibit/$1
RedirectMatch ^/ghostsites/ss/(.*)\.jpg$                http://www.disobey.com/ghostsites/show_exhibit/$1
RedirectMatch ^/netslaves.*                             http://www.amazon.com/exec/obidos/ASIN/1581152841/disobeycom
Redirect      /amphetadesk/old_releases/                http://www.disobey.com/amphetadesk/distributed/
Redirect      /noos/Ghyll/                              http://www.gamegrene.com/wiki/
Redirect      /noos/LibDB/                              http://www.libdb.com/
Redirect      /syncasaurus/                             http://www.disobey.com/detergent/2001/
Redirect      /zero                                     http://www.disobey.com/

################################################################################
# Rewriting for legacy URLs. These usually all send into Drupal somehow.       #
################################################################################
RewriteEngine on
RewriteBase /disobey

# 2005-10-18: About pages are handled via Drupal now.
RewriteRule ^about/(index.*|whats.*)?$  http://www.disobey.com/about          [L,R=301]
RewriteRule ^about/(.*)(\.s?html?)$     http://www.disobey.com/about/$1       [L,R=301]

# 2005-10-18: Rewrite ancient text file URLs, and make a /d shorthand.
RewriteRule ^text/devil_shat/ds(97|98|99)(.*)$      http://www.disobey.com/detergent/zines/devil_shat/19$1/ds$1$2  [L,R=301]
RewriteRule ^text/devil_shat/ds(00|01|02)(.*)$      http://www.disobey.com/detergent/zines/devil_shat/20$1/ds$1$2  [L,R=301]
RewriteRule ^text/ghost_sites/gs(96|97|98|99)(.*)$  http://www.disobey.com/detergent/zines/ghost_sites/19$1/gs$1$2 [L,R=301]
RewriteRule ^text/ghost_sites/gs(00|01|02)(.*)$     http://www.disobey.com/detergent/zines/ghost_sites/20$1/gs$1$2 [L,R=301]
RewriteRule ^text/(.*)$                             http://www.disobey.com/detergent/zines/                        [L,R=301]
RewriteRule ^d/(.*)$                                http://www.disobey.com/detergent/$1                            [L,R=301]

# 2005-10-18: DNN archives to the Drupal archive.module.
RewriteRule ^dnn/(.*)/(.*)/index.html$  http://www.disobey.com/archive/$1/$2  [L,R=301]
RewriteRule ^dnn/(.*)/(.*)$             http://www.disobey.com/archive/$1/$2  [L,R=301]
RewriteRule ^dnn/index.xml$             http://www.disobey.com/node/feed      [L,R=301]
RewriteRule ^dnn(/)?(index.*)?$         http://www.disobey.com/               [L,R=301]

# 2005-10-18: Retired sites (Low Bandwidth).
RewriteRule ^low/.*nihil.*$      http://www.disobey.com/detergent/zines/annihilation_fountain/ [L,R=301]
RewriteRule ^low/(.*)$           http://www.disobey.com/detergent/retired/                     [L,R=301]

# standard Drupal handler.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]