I don't understand the problem or how you identified it, however...

I modified

"path" : "http://%host%/rpc";,

to

"path" : "http://%host%/rpc",*

and now I get a Debug backtrace that I don't understand. :p


On 1/3/2011 2:37 PM, Agustin Casiva wrote:
> Yes, now you have another problem.
>
> The page at
> https://start.chaimkrause.com/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xmlran
> insecure content from
> http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js.
> XMLHttpRequest cannot load http://start.chaimkrause.com/rpc. Origin
> https://start.chaimkrause.com is not allowed by Access-Control-Allow-Origin.
> ifr:410<https://start.chaimkrause.com/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml>Uncaught
> TypeError: Cannot read property 'error' of undefined
>
> You have another problem, the gadget try to hit at http://your domain and
> the origin is https://yourdomain.
>
> Change into config/container.js
>
> this parameter
>
> "opensocial" : {
>     // Path to fetch opensocial data from
>     // Must be on the same domain as the gadget rendering server
> *    "path" : "http://%host%/rpc",*
> *
> *
> *for*
> *
>     "path" : "https://%host%/rpc";,
> *
>
>
> On Mon, Jan 3, 2011 at 5:25 PM, Chaim Krause <[email protected]> wrote:
>
>> I was testing different things.
>>
>> OK, I used your .htaccess and I get something back, but it doesn't render
>>
>> You can see my
>>
>> https://start.chaimkrause.com/.htaccess
>>
>> And I get html back from
>>
>>
>> https://start.chaimkrause.com/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
>>
>> but it doesn't render if Firefox or Chrome. Just blank page.
>>
>> BTW, Thanks for the real time help. It is appreciated.
>>
>> On 1/3/2011 2:10 PM, Agustin Casiva wrote:
>>> I see that your .htaccess is wrong, at least you have the config into the
>>> vhost
>>>
>>> https://start.chaimkrause.com/.htaccess
>>>
>>> <https://start.chaimkrause.com/.htaccess>You have
>>>
>>> <IfModule php5_module>
>>>     php_flag magic_quotes_gpc Off
>>>     php_flag always_populate_raw_post_data On
>>> </IfModule>
>>>
>>> Options +FollowSymlinks
>>> RewriteEngine Off
>>> RewriteBase /
>>>
>>>
>>> And You need add this rule for mod_rewrite
>>>
>>> <IfModule mod_rewrite.c>
>>>         RewriteEngine On
>>> RewriteCond %{REQUEST_FILENAME} !-f
>>> RewriteCond %{REQUEST_FILENAME} !-d
>>>         # NOTE: If you added a web_prefix to config, add it here too,
>> e.g.:
>>>         #RewriteRule (.*) /shindig/php/index.php [L]
>>>         RewriteRule (.*) index.php [L]
>>> # for OAuth signatures to work for POSTed data, always_populate_raw_data
>>> needs to be turned on
>>> php_flag always_populate_raw_post_data On
>>>         php_flag magic_quotes_gpc Off
>>> </IfModule>
>>>
>>> Add to the end of your .htaccess file
>>>
>>> On Mon, Jan 3, 2011 at 5:06 PM, Chaim Krause <[email protected]> wrote:
>>>
>>>> phpinfo() shows mod_rewrite is loaded. What else can I do to test?
>>>>
>>>>
>>>>
>>>> On 1/3/2011 2:04 PM, Agustin Casiva wrote:
>>>>> I think that Your configuration for mod_rewrite doesn't works....
>>>>>
>>
>

Reply via email to