Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Multiple Jforum Installations with a single war file

 
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
 
Rancher
Posts: 43016
76
  • 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
 
I love a good mentalist. And so does this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic