[jboss-user] [JBoss Portal] - Making eXo Platform available at the root URL using Apache

biscuit do-not-reply at jboss.com
Fri Nov 18 10:34:53 EST 2011

biscuit [http://community.jboss.org/people/biscuit] created the discussion

"Making eXo Platform available at the root URL using Apache"

To view the discussion, visit: http://community.jboss.org/message/637207#637207

I have been asked to front an eXo Platform installation (running on Tomcat) with Apache HTTPD in such a way that URLs that are normally available at:

      http://myserver:port/portal/private/myportal http://myserver:port/portal/private/myportal

are made available at:

      http://myserver/ http://myserver/

I have made some progress with lots of ProxyPass and ProxyPassReverse directives mapping /public, /eXoResources, etc to their corresponding ajp:// URLs, before having a final catch--all entry:

     ProxyPass  / ajp://localhost:8009/portal/private/myportal/
     ProxyPassReverse / ajp://localhost:8009/portal/private/myportal/

But it still gets stuck on various bits of JavaScript and so-on which are generated on the Tomcat side and refer to the Tomcat URL. There are various properties that can be set to control how this JavaScript gets generated:


However, documentation on eXoPlatform's website is a bit sparse and the only thing I can find is  http://wiki.exoplatform.org/xwiki/bin/view/Portal/Changing%20eXo%20URL this, which seems to avoid modifying configuration on the Tomcat side, and instead relies on Apache doing massses of in-line modification of Tomcat's responses using mod_substitute, which I really don't like the look of.

So I have a few questions:

* Is this approach fundamentally flawed - is it actually possible to achieve what we want or does it introduce ambiguity into the URLs (eg what do we do with the few /public/ URLs we have)?
* Will the above properties help?
* Is the use of mod_substitute the only way of achieving this?

Thanks in advance for any help!


Reply to this message by going to Community

Start a new discussion in JBoss Portal at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111118/56b79e5c/attachment.html 

More information about the jboss-user mailing list