Ok, I just found out that Shindig 2.0 has another directory structure
as mentioned in the "Getting Started" Guide.
The correct URL of the sample container for PHP is:
http://shindig/content/samplecontainer/samplecontainer.html
and for the Java:
http://localhost:8080/samplecontainer/samplecontainer.html

A little hint in the Getting Started Guide would be helpful.

2011/2/5 Kai Schlamp <[email protected]>:
> So now I also installed the Java version of Shindig 2.0 on Tomcat.
> Same problem here ...
> http://shindig/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> works, but http://localhost:8080/gadgets/files/container/sample1.html
> does tell me that the resource is not available.
> Do I have to configure something to make those examples work? The
> "Gettings Started" page
> (http://shindig.apache.org/getting-started.html) tells nothing about a
> further setup.
>
> 2011/2/5 Kai Schlamp <[email protected]>:
>> Hello.
>>
>> I just installed the PHP version of Shindig on Ubuntu 10.04 with
>> Apache2. mod_rewrite and all Shindig dependencies should be fulfilled
>> (at least that is what phpinfo() says).
>>
>> When I go to 
>> http://shindig/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
>> (I setup shindig as ServerName for virtual host) I also get that todo
>> list, so this seems to work.
>>
>> But when going to
>> http://shindig/gadgets/files/samplecontainer/samplecontainer.html are
>> those other gadgets/files URLs I just get a 404 error.
>>
>> I didn't modify anything in the config directory. Any suggestion what
>> could be wrong?
>>
>> Here my full setup (from my internal wiki):
>>
>> Install Apache and PHP (+ some PHP Shindig dependencies)
>>
>> sudo apt-get install apache2-mpm-prefork libapache2-mod-php5
>> php5-common php5-cli php5-curl php5-mcrypt
>>
>> sudo a2enmod rewrite
>>
>> Create file "shindig" in /etc/apache2/sites-available
>>
>> <VirtualHost *:80>
>>        ServerName shindig
>>        ServerAdmin webmaster@localhost
>>
>>        DocumentRoot /var/www/shindig/html
>>        <Directory />
>>                Options FollowSymLinks
>>                AllowOverride All
>>        </Directory>
>>
>>        ErrorLog /var/log/apache2/error.log
>>
>>        # Possible values include: debug, info, notice, warn, error, crit,
>>        # alert, emerg.
>>        LogLevel warn
>>
>>        CustomLog /var/log/apache2/access.log combined
>> </VirtualHost>
>>
>> Enable Shindig site
>>
>> sudo a2ensite shindig
>>
>> Uncomment in /etc/php5/apache2/php.ini
>>
>> always_populate_raw_post_data = On
>>
>> Add to /etc/hosts
>>
>> 127.0.0.1       shindig
>>
>> Restart Apache
>>
>> sudo /etc/init.d/apache2 restart
>>
>>
>> Best regards,
>> Kai
>>
>
>
>
> --
> Dr. med. Kai Schlamp
> Am Fort Elisabeth 17
> 55131 Mainz
> Germany
> Phone +49-177-7402778
> Email: [email protected]
>



-- 
Dr. med. Kai Schlamp
Am Fort Elisabeth 17
55131 Mainz
Germany
Phone +49-177-7402778
Email: [email protected]

Reply via email to