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

Reply via email to