Update directive urls

Directives can now work on a server with a path:
`http://webserver/path/to/site/`.