Commit dc3f660d authored by Matt Tucker's avatar Matt Tucker Committed by matt

Adding overview page for HTTP Binding to prevent directory listing.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6709 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6be75835
......@@ -274,8 +274,10 @@ public final class HttpBindManager {
}
private WebAppContext createWebAppContext() {
return new WebAppContext(JiveGlobals.getHomeDirectory() + File.separator +
WebAppContext context = new WebAppContext(JiveGlobals.getHomeDirectory() + File.separator +
"resources" + File.separator + "spank", "/");
context.setWelcomeFiles(new String[]{"index.html"});
return context;
}
private void doEnableHttpBind(boolean shouldEnable) {
......
<html>
<head><title>Wildfire HTTP Binding Service</title></head>
<body><font face="Arial, Helvetica"><b>Wildfire <a href="http://www.xmpp.org/extensions/xep-0124.html">HTTP Binding</a> Service</b></font></body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment