• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Multiple Jforum Installations with a single war file

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic