[
https://issues.apache.org/jira/browse/RAVE-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172260#comment-13172260
]
Jesse Ciancetta commented on RAVE-388:
--------------------------------------
Hmm -- I just setup an instance of Rave behind Apache with mod_proxy last week
and didn't run into any issues. All I needed to do was edit
rave.shindig.properties in the Shindig webapp and portal.properties in the Rave
webapp -- I've included diffs of the files I modified below for your reference.
For those that are still having issues -- could you please tell us exactly what
files you're editing (maybe just provide us diffs if possible), what hosts and
ports you want things to run on, and detailed descriptions of whats going wrong?
The diffs I'm including were used to get Rave running at:
http://myserver.example.com/portal
and Shindig running at:
http://myserver.example.com
Here are the diffs from my setup (note the blank port value for shindig.port
since I'm using port 80):
diff --recursive pre-modifications/ROOT/WEB-INF/classes/rave.shindig.properties
ROOT/WEB-INF/classes/rave.shindig.properties
24,25c24,25
< shindig.host=localhost
< shindig.port=8080
---
> shindig.host=myserver.example.com
> shindig.port=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --recursive pre-modifications/portal/WEB-INF/classes/portal.properties
portal/WEB-INF/classes/portal.properties
26c26
< portal.opensocial_engine.root=localhost:8080
---
> portal.opensocial_engine.root=myserver.example.com
> Bad construction of widgets' URL in Rave Portal
> -----------------------------------------------
>
> Key: RAVE-388
> URL: https://issues.apache.org/jira/browse/RAVE-388
> Project: Rave
> Issue Type: Bug
> Components: rave-portal
> Affects Versions: 0.7-INCUBATING
> Environment: GNU/Linux, Apache Tomcat 6.x
> Reporter: David del Pozo González
> Labels: configuration, properties
> Fix For: 0.7-INCUBATING
>
>
> I deployed Rave in an Apache Tomcat 6.x which uses the port 5580. I have an
> Apache server in another machine which redirects the request from Internet to
> the server in which is installed Rave (example from miserver.com to
> 192.168.1.32:5580).
> So I configured the portal.properties like this:
> portal.opensocial_engine.protocol=http
> portal.opensocial_engine.root=miserver.com:80
> portal.opensocial_engine.gadget_path=/gadgets
> But when I login, the widgets are not found (404) because Rave searches in
> the URL http://miserver.com:5580/gadgets..... instead of
> http://miserver.com/gadgets..... despite I specified the port 80. Without
> specifying the port (portal.opensocial_engine.root=miserver.com) I have the
> same problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira