No the README seems alright.,it mentions 2 alternatives:

One is that you create a <VirtualHost> ... </VirtualHost> configuration, set it's document root too /path/to/shindig/php, and point your browser at http://virtualHostName/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml

The second alternative, is if you don't want to create a virtual host, so say your document root is /var/www/html, you checked out shindig to /var/www/html/shindig, then you need to set your 'web_prefix' in your configuration to /shindig/php, and goto http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml

So either those cases are perfectly valid ..

Maybe it's the mod_rewrite that's throwing you off? (ie if your trying to ask: "/gadgets/ifr" doesn't exist), that's because any URL is redirected to /index.php, if you take a look at that file: http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/index.php You'll see that it see's what URL it has received, and instances the class that deals with that action (see the $servletMap mapping for the URL <> Class mapping).

Hope that clears things up for you :)

        -- Chris

On Jun 30, 2008, at 9:15 PM, Tim Jones wrote:

Please excuse a newbee to both shindig and php if I have overlooked the obvious, but in the php/README it suggests that there should be a gadgets
subdirectory under shindig/php:
e.g.

http://your.host/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml


However in the code checked out as in the instructions (i.e. from
http://svn.apache.org/repos/asf/incubator/shindig/trunk/) there is no such
directory.

Could you let me know how to fix this or point me to an example to study
which will work please?

Thanks for your time,

Tim

Reply via email to