All pastes #921835 Raw Edit

Someone

public text v1 · immutable
#921835 ·published 2008-02-28 11:24 UTC
rendered paste body
#       Pretty URLs mod
#       http://code.google.com/p/prettyurls/
#       .htaccess file generated automatically on: February 27, 2008, 14:20

RewriteEngine on
RewriteBase /forum/

#       Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]^M
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]

#       Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]

#RewriteBase /forum/

# Main blog listing
RewriteRule ^blog/$ ./index.php?action=blog
# Viewing a blog
RewriteRule ^blog/([A-Za-z0-9\-_]+)/$ ./index.php?action=blog&sa=view_blog&name=$1
# A post in the blog
RewriteRule ^blog/([A-Za-z0-9\-_]+)/post-([0-9]+).html$ ./index.php?action=blog&sa=view_post&id=$2&blog_name=$1 [QSA]