You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Michael Ryan (Software Developer)" <Mi...@apollogrp.edu> on 2008/07/10 02:00:32 UTC

trouble setting up PHP version.

I'm trying to setup in php, lining up step by step instructions here...
http://code.google.com/p/open-campfire/wiki/DevelopmentEnvironmentSetup

When I try to test it... 
http://code.google.com/p/open-campfire/wiki/DevelopmentEnvironmentSetup

I get the following...
	Bad Request
	Your browser sent a request that this server could not
understand.

I am working with the latest SVN.

-- 
Michael J. Ryan  --  Software Developer  --  Apollo Group



This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.

RE: trouble setting up PHP version.

Posted by "Michael Ryan (Software Developer)" <Mi...@apollogrp.edu>.
FYI, this was the issue, changing index.php to /shindig/php/index.php
allowed the code to run, only problem now, the stupid content filter at
work is blocking all the gadget xml resources I've tried to test
against.. *grr*

Ex: http://www.labpixies.com/campaigns/todo/todo.xml

-- 
Michael J. Ryan  --  Software Developer  --  Apollo Group


> -----Original Message-----
> From: Michael Ryan (Software Developer)
> [mailto:Michael.Ryan@apollogrp.edu]
> Sent: Wednesday, July 09, 2008 5:21 PM
> To: shindig-dev@incubator.apache.org
> Subject: RE: trouble setting up PHP version.
> 
> 
> Yeah, done for the day, may be the way the mod_rewrite rule is setup
in
> the .htaccess or something, may change it from "/default.php" to
> "/shindig/php/default.php" if the error is coming out of mod_rewrite
> that makes sense.. I'm spent..
> 
> My main goal was walking through the setup of all three areas under
> windows, for others to be able to work on opencampfire... so it's a
bit
> intermingled.. also, it's incomplete, as I still have the java version
> to work through...
> 
> I'll probably break it down a bit... core windows, wamp, php, java,
> .Net
> etc... that way it's easier to follow.. the list/tree was just easier
> for now to work through it all.
> 
> Though most people internally will just get copies of the VM I am
> setting up.
> 
> --
> Michael J. Ryan  --  Software Developer  --  Apollo Group
> 
> 
> 
> > -----Original Message-----
> > From: Chris Chabot [mailto:chabotc@xs4all.nl]
> > Sent: Wednesday, July 09, 2008 5:13 PM
> > To: shindig-dev@incubator.apache.org
> > Subject: Re: trouble setting up PHP version.
> >
> > Hey Michael
> >
> > Phew that's a lot of instructions on those pages, most of which have
> > nothing to do with setting up php shindig on windows :)
> >
> > I'm not familiar with the setup described there, but if i would have
> > to venture a guess, such an error usually means your mod_rewrite is
> > going nuts.. Like when you have a rewrite rule in your virtual host
> > configuration, and it has a .htaccess file too, it kind of bounces
> > between the rewrite rules and apache gives up with such an response.
> >
> > But that's a wild guess... without seeing the setup it's hard to
> > determine. You could try to do some mod rewrite debugging by adding
> > rewrite debugging output to your apache config with:
> >
> > 	RewriteLog "/path/to/file.log"
> > 	RewriteLogLevel 3
> >
> > Or alternatively you could remove your current setup and follow this
> > guide step by step:
> > http://www.chabotc.com/guides/shindig_install/
> >
> > the only thing that is out of date in that guide is that the
> > configuration values moved from shindig/php/config.php to
> shindig/php/
> > config/container.php
> >
> > Good luck & let us know how it turned out!
> >
> > 	-- Chris
> >
> >
> > On Jul 10, 2008, at 2:00 AM, Michael Ryan (Software Developer)
wrote:
> >
> > >
> > > I'm trying to setup in php, lining up step by step instructions
> > > here...
> > > http://code.google.com/p/open-campfire/wiki/
> > > DevelopmentEnvironmentSetup
> > >
> > > When I try to test it...
> > > http://code.google.com/p/open-campfire/wiki/
> > > DevelopmentEnvironmentSetup
> > >
> > > I get the following...
> > > 	Bad Request
> > > 	Your browser sent a request that this server could not
> > > understand.
> > >
> > > I am working with the latest SVN.
> > >
> > > --
> > > Michael J. Ryan  --  Software Developer  --  Apollo Group
> > >
> > >
> > >
> > > This message is private and confidential. If you have received it
> in
> > > error, please notify the sender and remove it from your system.
> 
> 
> This message is private and confidential. If you have received it in
> error, please notify the sender and remove it from your system.

This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.

RE: trouble setting up PHP version.

Posted by "Michael Ryan (Software Developer)" <Mi...@apollogrp.edu>.
Yeah, done for the day, may be the way the mod_rewrite rule is setup in
the .htaccess or something, may change it from "/default.php" to
"/shindig/php/default.php" if the error is coming out of mod_rewrite
that makes sense.. I'm spent..

My main goal was walking through the setup of all three areas under
windows, for others to be able to work on opencampfire... so it's a bit
intermingled.. also, it's incomplete, as I still have the java version
to work through...

I'll probably break it down a bit... core windows, wamp, php, java, .Net
etc... that way it's easier to follow.. the list/tree was just easier
for now to work through it all.

Though most people internally will just get copies of the VM I am
setting up.

-- 
Michael J. Ryan  --  Software Developer  --  Apollo Group



> -----Original Message-----
> From: Chris Chabot [mailto:chabotc@xs4all.nl]
> Sent: Wednesday, July 09, 2008 5:13 PM
> To: shindig-dev@incubator.apache.org
> Subject: Re: trouble setting up PHP version.
> 
> Hey Michael
> 
> Phew that's a lot of instructions on those pages, most of which have
> nothing to do with setting up php shindig on windows :)
> 
> I'm not familiar with the setup described there, but if i would have
> to venture a guess, such an error usually means your mod_rewrite is
> going nuts.. Like when you have a rewrite rule in your virtual host
> configuration, and it has a .htaccess file too, it kind of bounces
> between the rewrite rules and apache gives up with such an response.
> 
> But that's a wild guess... without seeing the setup it's hard to
> determine. You could try to do some mod rewrite debugging by adding
> rewrite debugging output to your apache config with:
> 
> 	RewriteLog "/path/to/file.log"
> 	RewriteLogLevel 3
> 
> Or alternatively you could remove your current setup and follow this
> guide step by step:
> http://www.chabotc.com/guides/shindig_install/
> 
> the only thing that is out of date in that guide is that the
> configuration values moved from shindig/php/config.php to shindig/php/
> config/container.php
> 
> Good luck & let us know how it turned out!
> 
> 	-- Chris
> 
> 
> On Jul 10, 2008, at 2:00 AM, Michael Ryan (Software Developer) wrote:
> 
> >
> > I'm trying to setup in php, lining up step by step instructions
> > here...
> > http://code.google.com/p/open-campfire/wiki/
> > DevelopmentEnvironmentSetup
> >
> > When I try to test it...
> > http://code.google.com/p/open-campfire/wiki/
> > DevelopmentEnvironmentSetup
> >
> > I get the following...
> > 	Bad Request
> > 	Your browser sent a request that this server could not
> > understand.
> >
> > I am working with the latest SVN.
> >
> > --
> > Michael J. Ryan  --  Software Developer  --  Apollo Group
> >
> >
> >
> > This message is private and confidential. If you have received it in
> > error, please notify the sender and remove it from your system.


This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.

Re: trouble setting up PHP version.

Posted by Chris Chabot <ch...@xs4all.nl>.
Hey Michael

Phew that's a lot of instructions on those pages, most of which have  
nothing to do with setting up php shindig on windows :)

I'm not familiar with the setup described there, but if i would have  
to venture a guess, such an error usually means your mod_rewrite is  
going nuts.. Like when you have a rewrite rule in your virtual host  
configuration, and it has a .htaccess file too, it kind of bounces  
between the rewrite rules and apache gives up with such an response.

But that's a wild guess... without seeing the setup it's hard to  
determine. You could try to do some mod rewrite debugging by adding  
rewrite debugging output to your apache config with:

	RewriteLog "/path/to/file.log"
	RewriteLogLevel 3

Or alternatively you could remove your current setup and follow this  
guide step by step:
http://www.chabotc.com/guides/shindig_install/

the only thing that is out of date in that guide is that the  
configuration values moved from shindig/php/config.php to shindig/php/ 
config/container.php

Good luck & let us know how it turned out!

	-- Chris


On Jul 10, 2008, at 2:00 AM, Michael Ryan (Software Developer) wrote:

>
> I'm trying to setup in php, lining up step by step instructions  
> here...
> http://code.google.com/p/open-campfire/wiki/ 
> DevelopmentEnvironmentSetup
>
> When I try to test it...
> http://code.google.com/p/open-campfire/wiki/ 
> DevelopmentEnvironmentSetup
>
> I get the following...
> 	Bad Request
> 	Your browser sent a request that this server could not
> understand.
>
> I am working with the latest SVN.
>
> -- 
> Michael J. Ryan  --  Software Developer  --  Apollo Group
>
>
>
> This message is private and confidential. If you have received it in  
> error, please notify the sender and remove it from your system.