[ 
https://issues.apache.org/jira/browse/SHINDIG-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610657#action_12610657
 ] 

Chris Chabot commented on SHINDIG-427:
--------------------------------------

public static $PROXY_URL = "/gadgets/proxy?url=";

With PHP Shindig you can configure under which URL you have shindig installed 
with the 'web_prefix' param, so when your using some 'hard coded url' you 
should always do:

$proxyUrl = Config::get('web_prefix).ContentRewriteFeature::$PROXY_URL;

Otherwise it'll break for people who don't have shindig running under / :)

> Content-Rewrite
> ---------------
>
>                 Key: SHINDIG-427
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-427
>             Project: Shindig
>          Issue Type: New Feature
>          Components: Gadget Rendering Server (PHP)
>            Reporter: Jorge Condomí
>         Attachments: content-rewrite-feature.patch
>
>
> Add the Content-Rewrite feature to the Gadget Rendering Servlet and the Proxy 
> servlet
> http://orkutdeveloper.blogspot.com/2008/06/rewriting-returns-to-sandbox.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to