php-shindig uses mod_rewrite for it's url parsing:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/.htaccess

which also has the note:

        # NOTE: If you added a web_prefix to config, add it here too, e.g.:
        #RewriteRule (.*) /shindig/php/index.php [L]

If you then look at index.php:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/index.php

You'll see in $servletMap that the {$web_prefix}/gadgets/ifr is mapped to
the GadgetRenderingServlet class:
$servletMap = array(
    Config::get('web_prefix') . '/gadgets/files' => 'FilesServlet',
    Config::get('web_prefix') . '/gadgets/js' => 'JsServlet',
    Config::get('web_prefix') . '/gadgets/proxy' => 'ProxyServlet',
    Config::get('web_prefix') . '/gadgets/makeRequest' => 'ProxyServlet',
    Config::get('web_prefix') . '/gadgets/ifr' => 'GadgetRenderingServlet',
    Config::get('web_prefix') . '/gadgets/metadata' => 'MetadataServlet',
    Config::get('web_prefix') . '/social/rest' => 'DataServiceServlet',
    Config::get('web_prefix') . '/social/rpc' => 'JsonRpcServlet',
    Config::get('web_prefix') . '/public.crt' => 'CertServlet',
    Config::get('web_prefix') . '/public.cer' => 'CertServlet'
);

Most likely either the web_prefix isn't set correctly in the .htaccess,
shindig's configuration, or mod_rewrite isn't enabled or you need to set
AllowOverride All for the directory in apache's configuration.

If all of that fails, try turning on mod_rewrite logging and it should be
easy to trace where it's going wrong.

   -- Chris




On Thu, Dec 11, 2008 at 10:03 AM, Ayan <[EMAIL PROTECTED]> wrote:

>
> hi
> facing a strange problem.
>
> I am following this manual -
> http://incubator.apache.org/shindig/#php
>
> downloaded the SVN.
> I followed the procedure - b.Run with an existing host
>
> For that, I have set the value of 'web_prefix' to '/shindig/php' in /
> php/config/container.php
>
> Now, when I hit -
>
> http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> (http://your.host/shindig/php/gadgets/ifr?url=http://www.labpixies.com/
> campaigns/todo/todo.xml<http://your.host/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml>
> )
>
> It gives me "NOT FOUND" ERROR.
>
> When I investigate, I found that under /php there no  /gadgets/ nor /
> gadgets/ifr
>
> I re-downloaded the Shindig but no help. Still there is nothing call  /
> gadgets/ nor /gadgets/ifr
>
> What I am missing ??
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to