Re: [Radiant] Set-Cookie: appearing on page

2006-10-04 Thread John Tsombakos
On 10/3/06, John Tsombakos [EMAIL PROTECTED] wrote:
 On 10/2/06, Oliver Baltzer [EMAIL PROTECTED] wrote:

  Try mod_fastcgi, I have no problem with that and Rails. For me fcgid makes
  a lot of trouble in a different non-Rails setup and it would not surprise
  me if it's fcgid that adds those headers at the end of the response.
 

I tried running under Mongrel, and it runs fine. No extra headers.

The odd part is, when (running under Apache/fcgid) clicking the plus
to expand the item, it takes quite a while to respond. The spinner
shows for upward of 20 seconds. There isn't any problem with the
database (mysql) - everything else runs fine and quick.

Is anyone running radiant under apache with fcgid without problems? I
tried posting on the Rails mailing list to see if anyone has any
problems with fcgid / ajax / headers, but as usual I haven't received
any responses.

Thanks
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Set-Cookie: appearing on page

2006-10-03 Thread John Tsombakos
On 10/2/06, Oliver Baltzer [EMAIL PROTECTED] wrote:

 Try mod_fastcgi, I have no problem with that and Rails. For me fcgid makes
 a lot of trouble in a different non-Rails setup and it would not surprise
 me if it's fcgid that adds those headers at the end of the response.

 I personally am in the process of switching all my fastcgi Rails instances
 over to Mongrel as it seems to perform a little better and is much easier
 to manage in many aspects (suexec, process management, load-balancing,
 etc.).


I don't have any problems with fcgid with other Rails apps, just this
one. Looking at the same page on the Radiant demo site, I see all of
the headers, but they are properly in the Header of the response. Just
seems odd why fcgid would pull those items out (and they aren't
consecutive either - if they were the last 3 or 4, then maybe, but
it's pulling like the second, fourth and fifth header item)

I do have lighttpd installed, but not running on the server. Maybe
it's time to figure out how to have this app running on lightty and
have apache proxy requests to it (grr.. I just got Apache to serve up
the app correctly :/ )

Thanks
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Set-Cookie: appearing on page

2006-10-02 Thread John Tsombakos
When I try loading that specific URL for the children item, as I had
mentioned, the header items appear at the bottom of the page. The page
also takes a relativly long time to load too. I'm not sure why it's
taking so long (clicking between items is relativly instant -
expanding the item takes anywhere from 5 to 10 seconds.)
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Set-Cookie: appearing on page

2006-10-02 Thread Oliver Baltzer
On 01-Oct-2006 18:09 -0400, John Tsombakos was heard to say:
 On 10/1/06, John Tsombakos [EMAIL PROTECTED] wrote:
  On 10/1/06, Mislav Marohni? [EMAIL PROTECTED] wrote:
   On 9/30/06, John Tsombakos [EMAIL PROTECTED] wrote:
It's Apache 2.0.55, standard setup with Ubuntu Linux.
  
   Yeah, but that's now complete info. You power Rails with mod_ruby, cgi,
   fastcgi, proxying to mongrel?
 
  Ah, sorry. Apache with fcgid.
 
 
 Well, I tried switching to cgi (in .htaccess) and I don't see the
 headers on the page. Switching back to fcgid shows the headers again.
 So, it seems to be something with fcgid then.

Try mod_fastcgi, I have no problem with that and Rails. For me fcgid makes
a lot of trouble in a different non-Rails setup and it would not surprise
me if it's fcgid that adds those headers at the end of the response.

I personally am in the process of switching all my fastcgi Rails instances
over to Mongrel as it seems to perform a little better and is much easier
to manage in many aspects (suexec, process management, load-balancing,
etc.).

Cheers,
Oliver

-- 
Oliver Baltzer
.webhttp://nobits.org/oliver/
.pgp0x32B54706


signature.asc
Description: Digital signature
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Set-Cookie: appearing on page

2006-10-01 Thread Mislav Marohnić
On 9/30/06, John Tsombakos [EMAIL PROTECTED] wrote:
It's Apache 2.0.55, standard setup with Ubuntu Linux.Yeah, but that's now complete info. You power Rails with mod_ruby, cgi, fastcgi, proxying to mongrel?
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Set-Cookie: appearing on page

2006-10-01 Thread John Tsombakos
On 10/1/06, Mislav Marohnić [EMAIL PROTECTED] wrote:
 On 9/30/06, John Tsombakos [EMAIL PROTECTED] wrote:
  It's Apache 2.0.55, standard setup with Ubuntu Linux.

 Yeah, but that's now complete info. You power Rails with mod_ruby, cgi,
 fastcgi, proxying to mongrel?

Ah, sorry. Apache with fcgid.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Set-Cookie: appearing on page

2006-10-01 Thread John Tsombakos
On 10/1/06, John Tsombakos [EMAIL PROTECTED] wrote:
 On 10/1/06, Mislav Marohnić [EMAIL PROTECTED] wrote:
  On 9/30/06, John Tsombakos [EMAIL PROTECTED] wrote:
   It's Apache 2.0.55, standard setup with Ubuntu Linux.
 
  Yeah, but that's now complete info. You power Rails with mod_ruby, cgi,
  fastcgi, proxying to mongrel?

 Ah, sorry. Apache with fcgid.


Well, I tried switching to cgi (in .htaccess) and I don't see the
headers on the page. Switching back to fcgid shows the headers again.
So, it seems to be something with fcgid then.

Thanks.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Set-Cookie: appearing on page

2006-09-30 Thread Mislav Marohnić
On 9/29/06, John Tsombakos [EMAIL PROTECTED] wrote:
So for some reason, half of the headers are not being interpreted as headers.That's what I thought. What kind of Apache setup do you have?It doesn't look like it originates from Apache... those are the headers set by the application

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Set-Cookie: appearing on page

2006-09-29 Thread Mislav Marohnić
Yeah it might be a weird Ajax thing. You can inspect xmlhttprequests easily, though: just install Firebug for Firefox, open it up (F12) when you enter the admin and go to options (last option, check it).
When you click on the plus-es now you can see the requests in console. Inspect the server response by clicking on them.Your problem doesn't seem to me like a client-side problem because you can insert response headers into the page by an accident. It might be a server problem
On 9/29/06, John Tsombakos [EMAIL PROTECTED] wrote:
I was able to set up a virtual host, using Dyndns's wildcard capability.So my site is mostly working (thought I do have it still in development mode).One thing I'm still seeing, in the Admin pages, when I click the Plus
next to the Articles page (in the default setup), the spinner wheelshows for a long time. Then the children appear, but below the lastchild is:Set-Cookie: _session_id=593f6ac8b238a85961a87259f6e59e87; path=/
Connection: closeTransfer-Encoding: chunkedContent-Type: text/html;charset=utf-80Not sure where to look for this. Looks like some weird RJS thing?Anyone have an idea?Thanks!___
Radiant mailing listPost: Radiant@lists.radiantcms.orgSearch: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Set-Cookie: appearing on page

2006-09-29 Thread Mislav Marohnić
On 9/29/06, Mislav Marohnić [EMAIL PROTECTED] wrote:
Your problem doesn't seem to me like a client-side problem because you can insert response headers into the page by an accident.Sorry. Here I meant to say you CAN'T insert response headers into the page by an accident
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Set-Cookie: appearing on page

2006-09-29 Thread John Tsombakos
On 9/29/06, Mislav Marohnić [EMAIL PROTECTED] wrote:
On 9/29/06, Mislav Marohnić [EMAIL PROTECTED]
 wrote:
Your problem doesn't seem to me like a client-side problem because you can insert response headers into the page by an accident.Sorry. Here I meant to say you CAN'T insert response headers into the page by an accident
It probably is a server problem. When I run via script/server, it runs just fine.Now I have to find _that_ Apache setting Thanks,jt 
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant