discourse-legacysite-perl/site/racecalendar/mod_rewrite.txt

16 lines
721 B
Plaintext
Raw Normal View History

2024-06-17 12:42:14 +00:00
<VirtualHost *>
ServerName forum.slowtwitch.com
DocumentRoot /srv/www/htdocs/trifind
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^/racereports/(.*)-([0-9]+).html$ /indivreport.php?report=$2
RewriteRule ^/racereports/page([0-9]+).html$ /racereports.php?page=$1
RewriteRule ^/editprofile/(.*).html$ /editprofile.php?username1=$1
RewriteRule ^/profiles/(.*).html$ /profile.php?username1=$1
RewriteRule ^/blogs/(.*)-([0-9]+).html$ /indivblog.php?blog=$2
RewriteRule ^/(.*)/(.*)-([0-9]+).html$ /individual.php?uid=$3
RewriteRule ^/state/(.*).html$ /statelist.php?state=$1
RewriteRule ^/blogs/page([0-9]+).html$ /blog.php?page=$1
RewriteRule ^/(.*).html$ /$1.php
</VirtualHost>