More follow-up.
At this site: http://sites.google.com/site/anashkb/shindig-php
I found out about the .htaccess file in the shindig home dir that needed to me
modified to match my http.conf rule locating the shindig document root. this
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /shindig/index.php [L]
php_flag always_populate_raw_post_data On
php_flag magic_quotes_gpc Off
</IfModule>
is what maps all the PHP scripts to index.php, which is the file configured in
httpd.conf to be served at a directory/ request
in this directive:
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
So I can see that my original request, that the default/sample gadget is not in
the build was misinformed and I'm starting to see how PHP scripts are called to
get to a gadget, but in my install the "ifr?" request is still being returned
with a 404.
From: Chris Markham
Sent: Wednesday, March 17, 2010 4:11 PM
To: '[email protected]'
Subject: FW: Default (sample?) gadgets directory not in PHP build
Follow-up:
Reading the index.php script I see the $servletMap array and note that the
GadgetRenderingServlet script is called by the /gadgets/ifr URI. But this is
only in the src/ directory. Is there a make or some official step to get the
described URL to work?
This tutorial video:
http://code.google.com/p/shindig-dnd/downloads/detail?name=GadgetContainerTutorial.mov
doesn't show any extra magic necessary, but all I get is the 404 so "ifr" isn't
being properly interpreted by... "gadgets/"?
From: Chris Markham
Sent: Wednesday, March 17, 2010 3:47 PM
To: '[email protected]'
Subject: Default (sample?) gadgets directory not in PHP build
Greetings,
Throughout the Shindig documentation there is instruction to load a sample/test
gadget to confirm your server is properly installed and configured.
I believe I have the software correctly installed (1.1.1-B5 and I looked at the
1.0 distro as well) as I get to the fall-through "404" return from the root
index.php, but I get that 404 precisely because there is no "gadgets"
top-level directly, so the test URL:
http://<your.host>/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
Fails on parsing the document path: ./gadgets/ifr as not only is there no
"ifr" gadget (of any form, php, html, etc.)
but there's also no default "gadgets/" containing directory.
Is there another part to the distro that needs to be laid upon the shindig
dirs, or are you supposed to create your own ifr gadget from...src/? Don't see
anything there, either. What's the next step?
drwxr-xr-x 2 wiki wiki 4096 Nov 17 15:24 certs
drwxr-xr-x 2 wiki wiki 4096 Mar 17 14:47 config
-rw-r--r-- 1 wiki wiki 498 Nov 17 15:25 DISCLAIMER
drwxr-xr-x 2 wiki wiki 4096 Nov 17 15:24 docs
drwxr-xr-x 4 wiki wiki 4096 Nov 17 15:24 external
drwxr-xr-x 4 wiki wiki 4096 Nov 17 15:25 features
-rw-r--r-- 1 wiki wiki 5740 Mar 17 14:03 index.php
drwxr-xr-x 5 wiki wiki 4096 Nov 17 15:24 javascript
-rw-r--r-- 1 wiki wiki 17414 Nov 17 15:24 LICENSE
-rwxrwxrwt 1 wiki wiki 975 Nov 17 15:24 NOTICE
-rwxrwxrwt 1 wiki wiki 5520 Nov 17 15:36 README
drwxr-xr-x 5 wiki wiki 4096 Nov 17 15:24 src
drwxr-xr-x 6 wiki wiki 4096 Nov 17 15:24 test