|
ErrorDocument 400 default
|
|
ErrorDocument 404 default
|
|
ErrorDocument 403 default
|
|
ErrorDocument 500 default
|
|
|
|
DirectoryIndex display.pl display.pl wala.pl index.html index.shtml
|
|
|
|
Options +FollowSymLinks
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteRule ^([0-9]{4}/[0-9]{1,2}/[1-9][0-9]{0,1}/[a-z_]+)/?$ /display.pl?$1
|
|
|
|
RewriteRule ^([0-9]{4}/[0-9]{1,2}/[1-9][0-9]{0,1})/?$ /display.pl?$1
|
|
|
|
RewriteRule ^([0-9]{4}/[0-9]{1,2}/[1-9][0-9]{0,1}/[a-z_]+)/?$ /display.pl?$1
|
|
|
|
RewriteRule ^([0-9]{4}/[0-9]{1,2})/?$ /display.pl?$1
|
|
|
|
RewriteRule ^([0-9]{4}/[0-9]{1,2}/[a-z_]+)/?$ /display.pl?$1
|
|
|
|
RewriteRule ^([0-9]{4}/[a-z_]+)/?$ /display.pl?$1
|
|
|
|
RewriteRule ^([0-9]{4})/?$ /display.pl?$1
|
|
|
|
# all of these plus any sub-entries should be
|
|
# redirected to display.pl
|
|
RewriteRule ^(new|feed|all|meta|music|resume|colophon|hack|winfield|chapbook)([a-z_/]+?)/?$ /display.pl?$1$2
|
|
RewriteRule ^(new|feed|all|meta|music|resume|colophon|hack|winfield|chapbook)/?$ /display.pl?$1
|
|
|
|
RewriteRule ^([0-9]{4}|meta|hack|colophon|chapbook)(/.*)/?$ archives/$1$2
|
|
|
|
RewriteRule ^wiki/([A-Za-z_',/]+)$ /wala/wala.pl?$1
|