You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by peeyush gulati <pe...@gmail.com> on 2008/05/27 18:55:21 UTC

php shindig server

Hi

I was tryng to set up a php shindig server.
Assuming i had all the pre requisite requirements and i opted for not
creating a virtual host rather than defining web_prefix in php/index.php.

On pointing my browser to
http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
I get a 404 error.

Am i missing me. I was wondering why .htacess is not redirecting it to
index.php even if rewrite url is defined there.


-- 
Thanks and Regards
Peeyush Gulati
+91-9916304135

Re: php shindig server

Posted by Ropu <ro...@gmail.com>.
line 99 for the default install

On Wed, May 28, 2008 at 4:32 PM, Federico Rinaldi <fe...@gmail.com>
wrote:

> Hi Ropu, which is the settings that you have to add in
> /config/container.js?
> Becouse I'm also getting "Unsupported feature(s): setprefs, analytics,
> locked-domain" so I guess I'm missing some config, I just changed the
> web_prefix value in config.php...
>
> Thanks!
>
> On Tue, May 27, 2008 at 9:59 PM, Ropu <ro...@gmail.com> wrote:
>
> > have u set up the config.php
> >
> > 'web_prefix' => '',
> >
> >
> > and in /config/container.js?
> >
> >
> > hope this helps
> >
> > ropu
> >
> > On Tue, May 27, 2008 at 9:55 AM, peeyush gulati <peeyushgulati@gmail.com
> >
> > wrote:
> >
> > > Hi
> > >
> > > I was tryng to set up a php shindig server.
> > > Assuming i had all the pre requisite requirements and i opted for not
> > > creating a virtual host rather than defining web_prefix in
> php/index.php.
> > >
> > > On pointing my browser to
> > >
> > >
> >
> http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> > > I get a 404 error.
> > >
> > > Am i missing me. I was wondering why .htacess is not redirecting it to
> > > index.php even if rewrite url is defined there.
> > >
> > >
> > > --
> > > Thanks and Regards
> > > Peeyush Gulati
> > > +91-9916304135
> > >
> >
> >
> >
> > --
> > .-. --- .--. ..-
> > R o p u
> >
>



-- 
.-. --- .--. ..-
R o p u

Re: php shindig server

Posted by Federico Rinaldi <fe...@gmail.com>.
Hi Ropu, which is the settings that you have to add in /config/container.js?
Becouse I'm also getting "Unsupported feature(s): setprefs, analytics,
locked-domain" so I guess I'm missing some config, I just changed the
web_prefix value in config.php...

Thanks!

On Tue, May 27, 2008 at 9:59 PM, Ropu <ro...@gmail.com> wrote:

> have u set up the config.php
>
> 'web_prefix' => '',
>
>
> and in /config/container.js?
>
>
> hope this helps
>
> ropu
>
> On Tue, May 27, 2008 at 9:55 AM, peeyush gulati <pe...@gmail.com>
> wrote:
>
> > Hi
> >
> > I was tryng to set up a php shindig server.
> > Assuming i had all the pre requisite requirements and i opted for not
> > creating a virtual host rather than defining web_prefix in php/index.php.
> >
> > On pointing my browser to
> >
> >
> http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> > I get a 404 error.
> >
> > Am i missing me. I was wondering why .htacess is not redirecting it to
> > index.php even if rewrite url is defined there.
> >
> >
> > --
> > Thanks and Regards
> > Peeyush Gulati
> > +91-9916304135
> >
>
>
>
> --
> .-. --- .--. ..-
> R o p u
>

Re: php shindig server

Posted by Ropu <ro...@gmail.com>.
hi

u need to send more params to the /ifr?

try running it from the sample container or using partuza (
http://code.google.com/p/partuza)

hope this helps

ropu


2008/5/27 Tang Jinwei <ta...@gmail.com>:

> You should add a rewrite rule in your .htaccess file or in your apache
> config file. The .htaccess file redirects all requests that are neither an
> existing file or directory to index.php.
>
> At the meantime, i have another problem of the php shindig server. i have
> done all the things follow the doc here(
> http://incubator.apache.org/shindig/#tab-building), but when i visit
>
> http://my.host/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> ,it
> showed errors like this: "*Unsupported feature(s): setprefs, analytics,
> locked-domain*",then i turned on the debug switch in the config.php file,
> the debug showed an php array,but i can't find the problem is.
>
> hope this helps.
>
> On Wed, May 28, 2008 at 8:59 AM, Ropu <ro...@gmail.com> wrote:
>
> > have u set up the config.php
> >
> > 'web_prefix' => '',
> >
> >
> > and in /config/container.js?
> >
> >
> > hope this helps
> >
> > ropu
> >
> > On Tue, May 27, 2008 at 9:55 AM, peeyush gulati <peeyushgulati@gmail.com
> >
> > wrote:
> >
> > > Hi
> > >
> > > I was tryng to set up a php shindig server.
> > > Assuming i had all the pre requisite requirements and i opted for not
> > > creating a virtual host rather than defining web_prefix in
> php/index.php.
> > >
> > > On pointing my browser to
> > >
> > >
> >
> http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> > > I get a 404 error.
> > >
> > > Am i missing me. I was wondering why .htacess is not redirecting it to
> > > index.php even if rewrite url is defined there.
> > >
> > >
> > > --
> > > Thanks and Regards
> > > Peeyush Gulati
> > > +91-9916304135
> > >
> >
> >
> >
> > --
> > .-. --- .--. ..-
> > R o p u
> >
>
>
>
> --
> 唐劲维
>



-- 
.-. --- .--. ..-
R o p u

Re: php shindig server

Posted by Tang Jinwei <ta...@gmail.com>.
thx for replying :)

i have the complete code, ../features and ../config do exist. the default
locations of the directories defined in the config.php are
*realpath(dirname(__FILE__))
. '/../features/'* and *realpath(dirname(__FILE__)) . '/../config/'* , and i
printed them, the value was correct.

any thing else should i modify? need help:)

On Wed, May 28, 2008 at 1:53 PM, Chris Chabot <ch...@xs4all.nl> wrote:

> Did you do a complete checkout of the shindig code?
>
> Next to the php/ dir it also needs ../features and ../config, see the
> config.php for their default locations of you want to modify where you put
> them.
>
> Without that features directory, it wouldn't know any features for instance
> :)
>
>        -- Chris
>
>
> On May 27, 2008, at 7:04 PM, Tang Jinwei wrote:
>
> showed errors like this: "*Unsupported feature(s): setprefs, analytics,
>> locked-domain*",then i turned on the debug switch in the config.php file,
>> the debug showed an php array,but i can't find the problem is.
>>
>>
>


-- 
唐劲维

Re: php shindig server

Posted by Chris Chabot <ch...@xs4all.nl>.
Did you do a complete checkout of the shindig code?

Next to the php/ dir it also needs ../features and ../config, see the  
config.php for their default locations of you want to modify where you  
put them.

Without that features directory, it wouldn't know any features for  
instance :)

	-- Chris

On May 27, 2008, at 7:04 PM, Tang Jinwei wrote:

> showed errors like this: "*Unsupported feature(s): setprefs,  
> analytics,
> locked-domain*",then i turned on the debug switch in the config.php  
> file,
> the debug showed an php array,but i can't find the problem is.
>


Re: php shindig server

Posted by Tang Jinwei <ta...@gmail.com>.
You should add a rewrite rule in your .htaccess file or in your apache
config file. The .htaccess file redirects all requests that are neither an
existing file or directory to index.php.

At the meantime, i have another problem of the php shindig server. i have
done all the things follow the doc here(
http://incubator.apache.org/shindig/#tab-building), but when i visit
http://my.host/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
,it
showed errors like this: "*Unsupported feature(s): setprefs, analytics,
locked-domain*",then i turned on the debug switch in the config.php file,
the debug showed an php array,but i can't find the problem is.

hope this helps.

On Wed, May 28, 2008 at 8:59 AM, Ropu <ro...@gmail.com> wrote:

> have u set up the config.php
>
> 'web_prefix' => '',
>
>
> and in /config/container.js?
>
>
> hope this helps
>
> ropu
>
> On Tue, May 27, 2008 at 9:55 AM, peeyush gulati <pe...@gmail.com>
> wrote:
>
> > Hi
> >
> > I was tryng to set up a php shindig server.
> > Assuming i had all the pre requisite requirements and i opted for not
> > creating a virtual host rather than defining web_prefix in php/index.php.
> >
> > On pointing my browser to
> >
> >
> http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> > I get a 404 error.
> >
> > Am i missing me. I was wondering why .htacess is not redirecting it to
> > index.php even if rewrite url is defined there.
> >
> >
> > --
> > Thanks and Regards
> > Peeyush Gulati
> > +91-9916304135
> >
>
>
>
> --
> .-. --- .--. ..-
> R o p u
>



-- 
唐劲维

Re: php shindig server

Posted by Ropu <ro...@gmail.com>.
have u set up the config.php

'web_prefix' => '',


and in /config/container.js?


hope this helps

ropu

On Tue, May 27, 2008 at 9:55 AM, peeyush gulati <pe...@gmail.com>
wrote:

> Hi
>
> I was tryng to set up a php shindig server.
> Assuming i had all the pre requisite requirements and i opted for not
> creating a virtual host rather than defining web_prefix in php/index.php.
>
> On pointing my browser to
>
> http://localhost/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
> I get a 404 error.
>
> Am i missing me. I was wondering why .htacess is not redirecting it to
> index.php even if rewrite url is defined there.
>
>
> --
> Thanks and Regards
> Peeyush Gulati
> +91-9916304135
>



-- 
.-. --- .--. ..-
R o p u