The .htaccess file :
Order deny,allow
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteEngine on
RewriteRule ^topic/([^/\.]+)/?$ viewtopic.php?topic=$1 [L]
How the forum directory is laid out :
It contains two folders, images and include. The viewtopic page includes a standard header page located in the include folder. This header page contains a link to a css file located: forum/include/mainstyle.css
An example of some view topic css is this:
#MessagesBox .Title {background:url(../Images/forum/CatergoryHeader.PNG); padding:5px; }
#MessagesBox .Title .Name {font-size:12px; width:620px; }
#MessagesBox .ThreadDesc {padding:5px; }
#MessagesBox .Message {background:url(../Images/forum/MsgBack.PNG); font-size:12px; overflow:auto; border-bottom:1px solid #323232;}
So that goes back a directory to the main forum one and then goes into the Images folder.
The page : http://localhost/Test/forum/topic/3/ which is actually http://localhost/Test/forum/viewtopic.php?topic=3 is trying to find the images here :
http://localhost/Test/forum/topic/3/Images/forum/AdminTag.png
Also it isnt locating the css file as that image wasnt in the css file and its the only one with a broken image box. All the div styles are missing etc..
Get the picture, hope that helps and I appreciate you helping me.