I recently realized that you must be a logged in member in order to download the above attachments. And I do understand that not everyone wishes to register on DaniWeb (tear). The reason I attached the files is because they're rather lengthy and it's easy to just download them and then upload them to your web-server as is. However, for those of you who are unable to do that because you are not registered, the code is available here:
The first is the .htaccess file
[html]Options +FollowSymLinks
RewriteEngine on
RewriteRule ^forum([0-9]+).html$ forumdisplay.php?f=$1 [L]
RewriteRule ^forum([0-9]+)-([0-9]+)-(.*)-(.*)-([0-9]+)-(.*).html$ forumdisplay.php?f=$1&page=$2&sort=$3&order=$4&pp=$5&daysprune=$6 [L]
RewriteRule ^announcement([0-9]+).html$ announcement.php?f=$1 [L]
RewriteRule ^announcement([0-9]+)-([0-9]+).html$ announcement.php?f=$1&announcementid=$2 [L]
RewriteRule ^thread([0-9]+).html$ showthread.php?t=$1 [L]
RewriteRule ^thread([0-9]+)-(.*).html$ showthread.php?t=$1&highlight=$2 [L]
RewriteRule ^nextnewesttothread([0-9]+).html$ showthread.php?t=$1&goto=nextnewest [L]
RewriteRule ^nextoldesttothread([0-9]+).html$ showthread.php?t=$1&goto=nextoldest [L]
RewriteRule ^threadnav([0-9]+)-([0-9]+).html$ showthread.php?t=$1&page=$2&pp=$3 [L]
RewriteRule ^threadnav([0-9]+)-([0-9]+)-([0-9]+).html$ showthread.php?t=$1&page=$2&pp=$3 [L]
RewriteRule ^threadnav([0-9]+)-([0-9]+)-([0-9]+)-(.*).html$ showthread.php?t=$1&page=$2&pp=$3&highlight=$4 [L]
RewriteRule ^threadmode([0-9]+)-linear.html$ showthread.php?t=$1&mode=linear [L]
RewriteRule ^threadmode([0-9]+)-hybrid.html$ showthread.php?t=$1&mode=hybrid [L]
RewriteRule ^threadmode([0-9]+)-threaded.html$ showthread.php?t=$1&mode=threaded [L]
RewriteRule ^threadmode([0-9]+)-linear-(.*).html$ showthread.php?t=$1&highlight=$2&mode=linear [L]
RewriteRule ^threadmode([0-9]+)-hybrid-(.*).html$ showthread.php?t=$1&highlight=$2&mode=hybrid [L]
RewriteRule ^threadmode([0-9]+)-threaded-(.*).html$ showthread.php?t=$1&highlight=$2&mode=threaded [L]
RewriteRule ^post([0-9]+).html$ showthread.php?p=$1
RewriteRule ^post([0-9]+)-([0-9]+).html$ showpost.php?p=$1&postcount=$2 [L]
RewriteRule ^post([0-9]+)-([0-9]+)-([0-9]+)-(.*).html$ showthread.php?p=$1&page=$2&pp=$3&highlight=$4 [L]
RewriteRule ^threadedpost([0-9]+).html$ showthread.php?p=$1 [L]
RewriteRule ^threadedpost([0-9]+)-(.*).html$ showthread.php?p=$1&highlight=$2 [L]
RewriteRule ^postmode([0-9]+)-linear-(.*).html$ showthread.php?p=$1&highlight=$2&mode=linear [L]
RewriteRule ^postmode([0-9]+)-hybrid-(.*).html$ showthread.php?p=$1&highlight=$2&mode=hybrid [L]
RewriteRule ^postmode([0-9]+)-threaded-(.*).html$ showthread.php?p=$1&highlight=$2&mode=threaded [L]
RewriteRule ^postmode([0-9]+)-(.*).html$ showthread.php?p=$1&mode=$2 [L]
RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L]
RewriteRule ^lastpostinthread([0-9]+)-(.*).html$ showthread.php?goto=lastpost&t=$1&highlight=$2 [L]
RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L][/html]