url resolving with script prefix defined