[ 
https://issues.apache.org/jira/browse/RAVE-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174030#comment-13174030
 ] 

David del Pozo González commented on RAVE-388:
----------------------------------------------

I eventually solved this issue. There was a problem with the redirection made 
from the Apache Server to the Apache Tomcat 6.x

I used "ProxyPass" directive in that way:
ProxyPass /portal http://miserver.com:5580/portal
ProxyPassReverse /portal http://miserver.com:5580/portal

But the "ProxyPreserveHost" was not enabled, so Rave was retrieving the 
internal port (5580) instead the port of the original request (80). The problem 
was solved by adding the directive to the Apache configuration file:
ProxyPreserveHost On

Sorry so much for the inconveniences :(, the issue hadn't any relationship with 
Rave project.

Thank you for your help! :)
                
> 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 Server, 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


Reply via email to