• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Fronting with Apache HTTPD

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I wonder if it is possible to front JForum with a different url than the servlet that JForum is installed at. Hard to explain in words so here is my setup:

I call apache on http://localhost/forum/ it correctly forwards to Tomcat and I get the text from the forum base page but all pictures and links there are broken since they use /JForum-2.1.6/ as base (servlet context) not just /forum/. (I thought that if I put forum url to http://localhost/forum/ it would be respected by the JForum servlet now it seems to use the servlet context)

I my my Apache httpd.conf I have
<Location /forum/>
ProxyPass ajp://localhost:8009/JForum-2.1.6/
</Location>

Maybe I could fix it with a better Apache config but I can't find any setup infor for mod_jk1 on windows for v2.2+ any tip is most welcome

PS An idea would be to have a separate servlet context variable in the admin configuration
[originally posted on jforum.net by osundblad]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your context will have to be called "/jforum" as well. There is no other way to do that.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we are also trying to front jforum on apache. the only problem is after the message post redirect, it goes to the tomcat url instead of apache. any ideas on this one? i'm beginning to think it is a tomcat configuration issue.

thanks!

t
[originally posted on jforum.net by tzurkan]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!