Welcome to WebmasterWorld Guest from 22.214.171.124
My RewriteRule (which works fine):
RewriteRule ^category([0-9]*)/index\.html$ index.php?c=$1 [L]
The .htaccess file is located in the "forum" folder.
The problem is with the images and CSS files which cannot be found.
My images are here:
From the error log, this is how the server tries to access them:
"File does not exist: /home/myusername/public_html/forum/category1/images/copylogoright.gif"
What should I do? Help!
<img src="/forum/images/file.jpg" />
<img src="images/file.jpg" />
Like TGecho said, the user agent thinks it is in the directory that is displayed in the address field, which does not really exist when using mod_rewrite with dynamic URLs.
Welcome to WebmasterWorld [webmasterworld.com]!
This should fix the images, but you didn't say where your css is:
RewriteRule ^forum/category1/images/(.*)$ /forum/images/$1 [L]