Almost-minimal filesystem based blog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
1.1 KiB

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