http://localhost:8888/TrackStudio/
Можно ли сделать так, чтобы доступ был без подкаталога, т.е.
просто http://localhost:8888/

VinS wrote:Вопрос настолько легкий, что никто не хочет отвечать?
Или это написано в документации?
<Call name="addWebApplication">
<Arg>/</Arg>
<Arg>./webapps/TrackStudio</Arg>
<Set name="defaultsDescriptor">org/mortbay/jetty/servlet/webdefault.xml</Set>
</Call>
VinS wrote:Жаль, что в английском варианте, но ничего.
Большое спасибо.
Продолжаю разбираться
VinS wrote:Здравствуйте!
В 4 версии такое не проходит. Можно ли в 4 версии сделать адрес по-умолчанию localhost, а не localhost\trackstudio ?
<Set name="contextPath">/</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/TrackStudio</Set>
<!--
<Call name="addLifeCycle">
<Arg>
<New class="org.mortbay.jetty.deployer.WebAppDeployer">
<Set name="contexts"><Ref id="Contexts"/></Set>
<Set name="webAppDir"><SystemProperty name="jetty.home" default="."/>/webapps</Set>
<Set name="parentLoaderPriority">false</Set>
<Set name="extract">true</Set>
<Set name="allowDuplicates">false</Set>
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>
</New>
</Arg>
</Call>
-->
TrackStudio\webapps\index.html
<html>
<script type="text/javascript">
document.location.replace("TrackStudio");
</script>
</html>
<Set name="contextPath">/</Set>
<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/TrackStudio</Set>
Return to TrackStudio Support [Russian]
Users browsing this forum: No registered users and 2 guests