I'm trying to change my URL for
http://www.tomttb.com/school/index.php?page=p/logbook/my.php
To
http://www.tomttb.com/school/logbook/my
I now have this:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)$ index.php?page=p/$1/$2.php [L]
It works, he gives me index.php, but the images, stylesheets, etc. won't load because the browser thinks he's in the folder http://www.tomttb.com/school/logbook/my.
How can I solve this?