This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple Jforum Installations with a single war file  RSS feed

 
Akash Singla
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have 2 clients for which I want to Install Jforum on a single server.

The simplest thing that I could have done is:
Create 2 directories forum1 and forum2 under webapps and put the jforum.war file into both.

Now configure the virtual hosts such that
http://forum.firstClient.com -> points to webapps/forum1
http://forum.secondClient.com -> points to webapps/forum2

Is there an way that I can achieve this from the single War file? Does JForum supports this???

Thanks in Advance
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, JForum can't do that out of the box. And while it would be easy to configure all servlets and filters in web.xml twice for different URLs, it looks as if the path to the config directory is not configurable - so both servlets would use the same settings (and the same css, images and templates directories).

Maybe one of these forum softwares does it: http://java-source.net/open-source/forum-software
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!