aspose file tools*
The moose likes JForum and the fly likes Multiple Jforum Installations with a single war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Multiple Jforum Installations with a single war file" Watch "Multiple Jforum Installations with a single war file" New topic
Author

Multiple Jforum Installations with a single war file

Akash Singla
Greenhorn

Joined: Jul 22, 2009
Posts: 27
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
Marshal

Joined: Mar 22, 2005
Posts: 42282
    
  64
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


Ping & DNS - my free Android networking tools app
 
 
subject: Multiple Jforum Installations with a single war file