single page application - History.js - subdirectory urls with # not #./ -


i'm building single page application in subdirectory of site , have started using history.js updating url.

the html4 fallback hashes default includes whole path after hash - including subdirectory. if make these relative paths includes ugly "/#./".

i'd know how achieve following.

html5 url

mydomain/mysubdirectory/myhistoryjspath

html4 url

mydomain/mysubdirectory/#/myhistoryjspath

any ideas?

thanks


Comments

Popular posts from this blog

Eclipse formatter for java ending braces -

ruby - Nesting modules inside of a Rails eninge gem -

java - Are there any classes that implement javax.persistence.Parameter<T>? -