Okay, after some play, here is how:
1. Remove (or rename) index.html in scm-server\var\webapp\docroot
2. Open and edit scm-server\conf\server-config.xml
Rename the "contextPath" for the "scm-webapp" element to "/"
Remove the <New id="docroot"> element with "contextPath"=/
3. Remove the reference to "docroot" in <Set name="handler">
server-config.xml should have <New> and <Set> elements that look like:
<New id="scm-webapp" class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/</Set>
<Set name="war"><SystemProperty name="basedir" default="."/>/var/webapp/scm-webapp.war</Set>
</New>
<Set name="handler">
<New class="org.eclipse.jetty.server.handler.HandlerCollection">
<Set name="handlers">
<Array type="org.eclipse.jetty.server.Handler">
<Item>
<Ref id="scm-webapp" />
</Item>
</Array>
</Set>
</New>
</Set>
Hope that helps anyone who is looking to do the same.
Now you should be able to access your repositories directly:
Awesome.
Thanks,
Brian
On Sunday, June 10, 2012 11:39:50 AM UTC-7, Brian Chavez wrote:
On Sunday, June 10, 2012 11:39:50 AM UTC-7, Brian Chavez wrote:
On Sunday, June 10, 2012 11:39:50 AM UTC-7, Brian Chavez wrote:
On Sunday, June 10, 2012 11:39:50 AM UTC-7, Brian Chavez wrote:
On Sunday, June 10, 2012 11:39:50 AM UTC-7, Brian Chavez wrote: