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

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

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