I also noted a similar sentence in the README file: "If you change the web_prefix also update the container/container.js file too point to the correct locations"
I didn't find this file; the closest match was config/container.js, and the closest setting is "opensocial-0.8" > "path". Is this the setting that should be changed? 2008/5/20, Chris Chabot <[EMAIL PROTECTED]>: > > Check the config.php file and the 'web_prefix' key in it, i think if you > set that to '/shindig/php' it should work. > > Right now you get an error because it tries to map the URL > (/shindig/php/gadgets/ifr) against it's url <> servlet mapping, which > assumes "/gadgets/ifr" for the gadget renderer event. Configuring the prefix > to "/shindig/php" makes the mapping march the url :) > > -- Chris > > > On May 20, 2008, at 3:23 PM, Erel Segal wrote: > > Thanks, this helped a lot. I use a WAMP server so I didn't create a >> virtual >> server, I just used the full path: >> >> http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml >> >> It seems that Apache found the index.php (I put "abc" on top of it to make >> sure), but the component was not rendered - I got the following HTML: >> >> abc >> <html><body><h1>404 Not Found</h1></body></html> >> >> I don't know what exacly was not found? (I did a full checkout). >> >> >> >> 2008/5/20, Chris Chabot <[EMAIL PROTECTED]>: >> >>> >>> Hi Erel, >>> >>> The easiest way to get up and running (the README is slightly out of data >>> / >>> missing details, should update it): >>> >>> (assuming /var/www/html is where your document root's live) >>> >>> # cd /var/www/html >>> # mkdir shindig >>> # cd shindig >>> # svn co http://svn.apache.org/repos/asf/incubator/shindig/trunk/ . >>> >>> Point your apache to the php dir with a virtual host like: >>> >>> <VirtualHost your_ip:your_port> >>> ServerName your_host >>> DocumentRoot /var/www/html/shindig/php >>> ... other normal settings in vhosts... >>> </VirtualHost> >>> >>> Restart apache, and point your browser to http:// >>> <yourhost>/gadgets/ifr?url= >>> http://www.labpixies.com/campaigns/todo/todo.xml >>> >>> If you have all the requirements (php 5.2.x with the json, mcrypt and >>> curl >>> extentions enabled) you should see something like: >>> >>> >>> http://shindig.chabotc.com/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml >>> >>> Note: shindig php requires the <trunk>/javascript ,/config and /features >>> directories.. thats why you need a full checkout of shindig. If you want >>> to >>> put those somewhere else on your server, edit config.php to reflect their >>> new locations. >>> >>> Hope it helps! >>> >>> -- Chris >>> >>> On May 20, 2008, at 1:33 PM, Erel Segal wrote: >>> >>> Hi, >>> >>>> >>>> I would like to support OpenSocial on my site, so I downloaded Shindig. >>>> My >>>> site is mostly in PHP so I went to the readme file titled "Installing >>>> and >>>> Running The PHP Shindig Gadget Server" ( >>>> http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/README). It >>>> says >>>> "Copy the files to your web root" - what files exactly should I copy? I >>>> tried copying the entire directory tree under "php" but it didn't work - >>>> it >>>> does not contain a file named "ifr". >>>> >>>> Another question: Is it possible to use only the Javascript files that >>>> are >>>> bundled with Shindig, without building Shindig? >>>> >>>> >>> >>> >

