try {
httpService.unregister(webdavPath(alias));
httpService.unregister(remotingPath(alias));
- httpService.unregister(filesPath(alias));
+ if (NodeConstants.HOME.equals(alias))
+ httpService.unregister(filesPath(alias));
if (log.isDebugEnabled())
log.debug("Unregistered servlets for repository '" + alias + "'");
} catch (Exception e) {
}
private String filesPath(String alias) {
- return NodeConstants.PATH_FILES + "/" + alias;
+ return NodeConstants.PATH_FILES;
}
// private Subject subjectFromRequest(HttpServletRequest request,