Yup, I followed the directions in the README:

"<VirtualHost your_ip:your_port>
         ServerName your.host
         DocumentRoot /var/www/html/shindig
         ... other normal settings in vhosts...
    <Directory>
      AllowOverride All
    </Directory>
  </VirtualHost>"

I also linked /etc/apache2/mods-available/rewrite.load
to /etc/apache2/mods-enabled/rewrite.load and rebooted apache.

I see that the index.php script is actually returning 404:

 // Unhandled event, display simple 404 error
  header("HTTP/1.0 404 Not Found");
  echo "<html><body><h1>404 Not Found</h1></body></html>";


On Fri, 2009-09-11 at 05:36 -0300, Rodrigo Moraes wrote:
> On Fri, Sep 11, 2009 at 4:01 AM, Yonas wrote:
> > I'm new to shindig, and I'm trying to install 0.8.1 on Ubuntu Jaunty.
> >
> > This directory doesn't exist:
> >
> > /gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> >, were they wrong?
> > there's a /test/gadgets/, but no /test/gadgets/ifr.
> >
> > Is the documentation out of date?
> >
> > Cheers,
> > Yonas
> 
> That directory doesn't exist indeed. All requests are mapped to
> index.php using mod_rewrite (apache). Take a look at the .htaccess
> file in the root dir. You must allow the mod_rewrite directives to be
> executed in your VirtualHost configuration, if it is not yet
> (AllowOverride All or something like that).
> 
> Anyway, I passed this phase and tried to access
> /gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml. The
> error I got was:
> 
> Fatal error: Cannot redeclare class HttpUtil in
> /Users/moraes/www/shindig/src/gadgets/HttpUtil.php on line 24
> 
> ...which is hard to debug because the line points to where the class
> is declared, and there's no traceback to see where it was included for
> the second time. I searched the code, fixed the double include, and
> got a GadgetSpecParserError - probably it failed to fetch the gadget
> and tried to parse an empty string. This, I believe, is a problem on
> my side - I probably miss a dependency for the external url fetch, or
> it is not well configured, I'll check that another time.
> 
> (btw I tried this with the 1.0 download, not svn)
> 
> And a side note, I'm working on a open source container in Python, to
> be deployed in App Engine. Shindig is helping me a lot to understand
> the specs. If you have interest in the project, please drop me a line.
> 
> -- rodrigo

Reply via email to