fix redirect to static content for context-path