Question: Currently I use a .htaccess redirect to send a (nice) url **/offices/london/whatever** to my script (nasty url) **/db/db.pl?offices-london-whatever**

i want the browser url to be nice, with the 301 redirect it isn't so i tried with the RewriteRule but the browser url is still the nasty one.

e.g. RewriteRule Offices/London/(.\*)$ /db/db.pl?Offices-London-$1 [NC]

it all navigates, i get the pages i want with either method, but i want the nice url not the nasty one for both the user browser and SEO. presently i only get the nasty url

any clues what i am doing wrong?

Answer: 
Files that your HTML point to (CSS, JS, links) are searched relative to the document's path.

E.g. if your document's URL is `http://localhost/foo/testpage.html`, in this case you must put mentioned `base.js` in `http://localhost/foo/o3djs/`, etc. So, if your localhost is at C:\Server (assuming you use some Windows-like environment), the file must be called C:\Server\foo\o3djs\base.js.
Also make sure you include all the other files needed by the API, most of them can be found here: <http://o3d.googlecode.com/svn/trunk/samples_webgl/o3djs/>