I was wondering if anyone could help? Basically I've got a set of mod_rewrite rules and they all work well except if I put a trailing slash at the end of the URL it goes crazy. Still show's the page (sometimes) except all of the CSS, JS, etc is not included because the path messes up when there's a trailing slash. The only way to solve it is to put a BASE tag which I would really like to avoid as it brings it's own set of issues. Is there something wrong with my htaccess? I just need it to ignore the trailing slashes.
Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^resetpassword/([^/.]+)/?$ resetPassword.php?resetCode=$1 [L] RewriteRule ^activate/([^/.]+)/?$ activateAccount.php?ACTCode=$1 [L] RewriteRule ^dashboard/?$ dashboard.php [NC,L] RewriteRule ^login/?$ login.php [NC,L] RewriteRule ^register/?$ register.php [NC,L] RewriteRule ^messages/inbox/??$ messagesInbox.php [NC,L] RewriteRule ^messages/archive/??$ messagesArchive.php [NC,L] RewriteRule ^messages/??$ messagesInbox.php [NC,L]