Htaccess File

beefdumplings/requestweek/master/.htaccess

DirectoryIndex request.php index.php

RewriteEngine on
RewriteRule ^(browse|todo|old|admin|feeds)$ /$1/ [R]
RewriteRule ^(browse|todo|old|admin|feeds)/$ /request.php?method=$1 [L]
RewriteRule ^(view|finished)/([0-9]+)$ /$1/$2/ [R]
RewriteRule ^(view|finished)/([0-9]+)/$ /request.php?method=$1&request=$2 [L]
RewriteRule ^spam/([0-9]+)$ /spam/$1/ [R]
RewriteRule ^spam/([0-9]+)/$ /request.php?spam=$1 [L]

RewriteRule ^feed.xml$ /request.php?rss [L]
RewriteRule ^todo.xml$ /request.php?rssTODO [L]
Exit mobile version