From robby at planetargon.com Fri May 6 14:35:04 2005 From: robby at planetargon.com (Robby Russell) Date: Fri May 6 14:28:53 2005 Subject: [typo] trackback urls Message-ID: <1115404504.1541.61.camel@linus> We at Planet Argon hosting typo blogs and I just noticed something. If we're running typo on a different port and using a proxy to filter through port 80, on the site, the trackback link shows the port. Use the following link to trackback from your own site: http://www.domainname.com:8580/articles/trackback/1 Where should I look to make a fix for this? Is it necessary to have it display the port for the trackback? I don't see any other links in the html that show that. Thanks, -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From robby at planetargon.com Fri May 6 14:39:12 2005 From: robby at planetargon.com (Robby Russell) Date: Fri May 6 14:32:59 2005 Subject: [typo] trackback urls In-Reply-To: <1115404504.1541.61.camel@linus> References: <1115404504.1541.61.camel@linus> Message-ID: <1115404753.1541.63.camel@linus> On Fri, 2005-05-06 at 11:35 -0700, Robby Russell wrote: > We at Planet Argon hosting typo blogs and I just noticed something. > Oops, that came out weird. heh. "We at Planet Argon *our* hosting..." :-) > If we're running typo on a different port and using a proxy to filter > through port 80, on the site, the trackback link shows the port. > > Use the following link to trackback from your own site: > http://www.domainname.com:8580/articles/trackback/1 > > Where should I look to make a fix for this? Is it necessary to have it > display the port for the trackback? > > I don't see any other links in the html that show that. > > Thanks, > > -Robby > > -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From anotherjesse at gmail.com Fri May 6 14:45:11 2005 From: anotherjesse at gmail.com (Jesse Andrews) Date: Fri May 6 14:38:56 2005 Subject: [typo] trackback urls In-Reply-To: <1115404753.1541.63.camel@linus> References: <1115404504.1541.61.camel@linus> <1115404753.1541.63.camel@linus> Message-ID: <8677a6f8050506114552c248c3@mail.gmail.com> in view/article/read.rhtml - <%= server_url_for :controller=>"articles", :action=>"trackback", :id=>@article.id %> server_url_for is the culprit. You can fix it by using relative links (don't include the ip) probably... <%= link_to 'trackback', :controller=>'articles', :action=>'trackback', :id=>@article.id %> that worked for me. On 5/6/05, Robby Russell wrote: > On Fri, 2005-05-06 at 11:35 -0700, Robby Russell wrote: > > We at Planet Argon hosting typo blogs and I just noticed something. > > > > Oops, that came out weird. heh. "We at Planet Argon *our* > hosting..." :-) > > > > If we're running typo on a different port and using a proxy to filter > > through port 80, on the site, the trackback link shows the port. > > > > Use the following link to trackback from your own site: > > http://www.domainname.com:8580/articles/trackback/1 > > > > Where should I look to make a fix for this? Is it necessary to have it > > display the port for the trackback? > > > > I don't see any other links in the html that show that. > > > > Thanks, > > > > -Robby > > > > > -- > /****************************************************** > * Robby Russell, Owner.Developer.Geek > * PLANET ARGON, Open Source Solutions & Web Hosting > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > * www.planetargon.com | www.robbyonrails.com > *******************************************************/ > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From robby at planetargon.com Fri May 6 14:45:56 2005 From: robby at planetargon.com (Robby Russell) Date: Fri May 6 14:39:44 2005 Subject: [typo] trackback urls In-Reply-To: <1115404753.1541.63.camel@linus> References: <1115404504.1541.61.camel@linus> <1115404753.1541.63.camel@linus> Message-ID: <1115405157.1541.71.camel@linus> On Fri, 2005-05-06 at 11:39 -0700, Robby Russell wrote: > On Fri, 2005-05-06 at 11:35 -0700, Robby Russell wrote: > > We at Planet Argon hosting typo blogs and I just noticed something. > > > > Oops, that came out weird. heh. "We at Planet Argon *our* > hosting..." :-) > Okay, I seriously need some coffee and need to keep my mouse away from the send button. :-) s/our/are -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From robby at planetargon.com Fri May 6 14:55:43 2005 From: robby at planetargon.com (Robby Russell) Date: Fri May 6 14:49:32 2005 Subject: [typo] trackback urls In-Reply-To: <8677a6f8050506114552c248c3@mail.gmail.com> References: <1115404504.1541.61.camel@linus> <1115404753.1541.63.camel@linus> <8677a6f8050506114552c248c3@mail.gmail.com> Message-ID: <1115405743.1541.73.camel@linus> Does anyone see a reason why we couldn't submit this as a patch? -Robby On Fri, 2005-05-06 at 14:45 -0400, Jesse Andrews wrote: > in view/article/read.rhtml - > > <%= server_url_for :controller=>"articles", :action=>"trackback", > :id=>@article.id %> > > server_url_for is the culprit. > > You can fix it by using relative links (don't include the ip) probably... > > <%= link_to 'trackback', :controller=>'articles', > :action=>'trackback', :id=>@article.id %> > > that worked for me. > > On 5/6/05, Robby Russell wrote: > > On Fri, 2005-05-06 at 11:35 -0700, Robby Russell wrote: > > > We at Planet Argon hosting typo blogs and I just noticed something. > > > > > > > Oops, that came out weird. heh. "We at Planet Argon *our* > > hosting..." :-) > > > > > > > If we're running typo on a different port and using a proxy to filter > > > through port 80, on the site, the trackback link shows the port. > > > > > > Use the following link to trackback from your own site: > > > http://www.domainname.com:8580/articles/trackback/1 > > > > > > Where should I look to make a fix for this? Is it necessary to have it > > > display the port for the trackback? > > > > > > I don't see any other links in the html that show that. > > > > > > Thanks, > > > > > > -Robby > > > > > > > > -- > > /****************************************************** > > * Robby Russell, Owner.Developer.Geek > > * PLANET ARGON, Open Source Solutions & Web Hosting > > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > > * www.planetargon.com | www.robbyonrails.com > > *******************************************************/ > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list@rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From seth at remor.com Fri May 6 15:43:48 2005 From: seth at remor.com (Seth Hall) Date: Fri May 6 15:37:33 2005 Subject: [typo] trackback urls In-Reply-To: <1115405743.1541.73.camel@linus> References: <1115404504.1541.61.camel@linus> <1115404753.1541.63.camel@linus> <8677a6f8050506114552c248c3@mail.gmail.com> <1115405743.1541.73.camel@linus> Message-ID: We're using server_url_for because you have to send the complete url in a trackback. Otherwise, the receiving server doesn't know where to link to. .Seth On May 6, 2005, at 2:55 PM, Robby Russell wrote: > Does anyone see a reason why we couldn't submit this as a patch? > > -Robby > > On Fri, 2005-05-06 at 14:45 -0400, Jesse Andrews wrote: >> in view/article/read.rhtml - >> >> <%= server_url_for :controller=>"articles", :action=>"trackback", >> :id=>@article.id %> >> >> server_url_for is the culprit. >> >> You can fix it by using relative links (don't include the ip) >> probably... >> >> <%= link_to 'trackback', :controller=>'articles', >> :action=>'trackback', :id=>@article.id %> >> >> that worked for me. >> >> On 5/6/05, Robby Russell wrote: >>> On Fri, 2005-05-06 at 11:35 -0700, Robby Russell wrote: >>>> We at Planet Argon hosting typo blogs and I just noticed something. >>>> >>> >>> Oops, that came out weird. heh. "We at Planet Argon *our* >>> hosting..." :-) >>> >>> >>>> If we're running typo on a different port and using a proxy to >>>> filter >>>> through port 80, on the site, the trackback link shows the port. >>>> >>>> Use the following link to trackback from your own site: >>>> http://www.domainname.com:8580/articles/trackback/1 >>>> >>>> Where should I look to make a fix for this? Is it necessary to have >>>> it >>>> display the port for the trackback? >>>> >>>> I don't see any other links in the html that show that. >>>> >>>> Thanks, >>>> >>>> -Robby >>>> >>>> >>> -- >>> /****************************************************** >>> * Robby Russell, Owner.Developer.Geek >>> * PLANET ARGON, Open Source Solutions & Web Hosting >>> * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 >>> * www.planetargon.com | www.robbyonrails.com >>> *******************************************************/ >>> >>> _______________________________________________ >>> Typo-list mailing list >>> Typo-list@rubyforge.org >>> http://rubyforge.org/mailman/listinfo/typo-list >>> >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list@rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list > -- > /****************************************************** > * Robby Russell, Owner.Developer.Geek > * PLANET ARGON, Open Source Solutions & Web Hosting > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > * www.planetargon.com | www.robbyonrails.com > *******************************************************/ > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Seth Hall Network Security Engineer Phone: 614-292-9721 Ohio State University Enterprise Network Security E-mail: security@osu.edu Web: http://www.net.ohio-state.edu/security/ From patrick at lenz.sh Fri May 6 15:52:43 2005 From: patrick at lenz.sh (Patrick Lenz) Date: Fri May 6 15:46:29 2005 Subject: [typo] trackback urls In-Reply-To: <1115405743.1541.73.camel@linus> References: <1115404504.1541.61.camel@linus> <1115404753.1541.63.camel@linus> <8677a6f8050506114552c248c3@mail.gmail.com> <1115405743.1541.73.camel@linus> Message-ID: <287D3F16-FCA6-4B83-A900-1EC5C773D311@lenz.sh> I actually don't think this is a reasonable option for the general public. This part of the article is supposed to display (in clear text, not a link) the URL people can stick into their weblog editors for tracking back to this particular article. Making this a link complicates matters in my opinion. Robby, for this particular case you should modify server_url_for in app/helpers/application_helper.rb like this: def server_url_for(options = {}) url_for options.update(:only_path => false, :host => @request.host) end This will leave out the port from the URLs returned by server_url_for() Hope this helps. -P. On 06.05.2005, at 20:55, Robby Russell wrote: > Does anyone see a reason why we couldn't submit this as a patch? > > -Robby > > On Fri, 2005-05-06 at 14:45 -0400, Jesse Andrews wrote: > >> in view/article/read.rhtml - >> >> <%= server_url_for :controller=>"articles", :action=>"trackback", >> :id=>@article.id %> >> >> server_url_for is the culprit. >> >> You can fix it by using relative links (don't include the ip) >> probably... >> >> <%= link_to 'trackback', :controller=>'articles', >> :action=>'trackback', :id=>@article.id %> >> >> that worked for me. >> >> On 5/6/05, Robby Russell wrote: >> >>> On Fri, 2005-05-06 at 11:35 -0700, Robby Russell wrote: >>> >>>> We at Planet Argon hosting typo blogs and I just noticed something. >>>> >>>> >>> >>> Oops, that came out weird. heh. "We at Planet Argon *our* >>> hosting..." :-) >>> >>> >>> >>>> If we're running typo on a different port and using a proxy to >>>> filter >>>> through port 80, on the site, the trackback link shows the port. >>>> >>>> Use the following link to trackback from your own site: >>>> http://www.domainname.com:8580/articles/trackback/1 >>>> >>>> Where should I look to make a fix for this? Is it necessary to >>>> have it >>>> display the port for the trackback? >>>> >>>> I don't see any other links in the html that show that. >>>> >>>> Thanks, >>>> >>>> -Robby >>>> >>>> >>>> >>> -- >>> /****************************************************** >>> * Robby Russell, Owner.Developer.Geek >>> * PLANET ARGON, Open Source Solutions & Web Hosting >>> * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 >>> * www.planetargon.com | www.robbyonrails.com >>> *******************************************************/ >>> >>> _______________________________________________ >>> Typo-list mailing list >>> Typo-list@rubyforge.org >>> http://rubyforge.org/mailman/listinfo/typo-list >>> >>> >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list@rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> > -- > /****************************************************** > * Robby Russell, Owner.Developer.Geek > * PLANET ARGON, Open Source Solutions & Web Hosting > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > * www.planetargon.com | www.robbyonrails.com > *******************************************************/ > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -- Patrick Lenz (scoop) patrick@lenz.sh Phone: +49-611-333-4722 Mobile: +49-179-202-6678 [ poocs.net - freshmeat.net - rsmodels.net - topmedia.de - wiesbadeneins.de ] From ben at followben.com Tue May 10 18:07:24 2005 From: ben at followben.com (Ben Stovold) Date: Tue May 10 18:01:12 2005 Subject: [typo] Creating a helper/partial for monthlist Message-ID: <20050510220734.432E339969@barclay.textdrive.com> Folks, Bear with me – I’m no expert Railer, but I’m loving Typo. One thing I’d like to do is create an unordered list of months on my article view in the format “Month Year” (eg. May 2005). Much like the categorylist helper, actually. Problem is, I’m struggling to figure how to pull back an appropriate array for rendering the list items (incl. display name and appropriate url) in my new partial. Is there an ActiveRecord statement that I can use to pull back this info easily? Any clues/ code snippets appreciated. Cheers, Ben. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 09/05/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.7 - Release Date: 09/05/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20050510/38f64f03/attachment-0001.htm From robby at planetargon.com Thu May 12 09:48:16 2005 From: robby at planetargon.com (Robby Russell) Date: Thu May 12 09:41:53 2005 Subject: [typo] Memory usage Message-ID: <1115905696.4541.37.camel@linus> I am noticing that Typo overtime begins to take up a bit of resources. Having restarted apache about 45 mins ago, I am noticing that my blog is already using 51M on the fastcgi process. Is this normal behavior? I am going to keep watching it, but wondering if there could be a memory leak somewhere or is there anything that I can do to have the process restart itself after so much time or usage? -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From robby at planetargon.com Thu May 12 11:23:44 2005 From: robby at planetargon.com (Robby Russell) Date: Thu May 12 11:17:22 2005 Subject: [typo] Memory usage In-Reply-To: <1115905696.4541.37.camel@linus> References: <1115905696.4541.37.camel@linus> Message-ID: <1115911424.4541.39.camel@linus> On Thu, 2005-05-12 at 06:48 -0700, Robby Russell wrote: > I am noticing that Typo overtime begins to take up a bit of resources. > > Having restarted apache about 45 mins ago, I am noticing that my blog is > already using 51M on the fastcgi process. > > Is this normal behavior? > > I am going to keep watching it, but wondering if there could be a memory > leak somewhere or is there anything that I can do to have the process > restart itself after so much time or usage? > > -Robby > I'm still watching the process. A hour and a half since my last email: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 12304 apache 16 0 105M 105M 2372 S 0.0 10.4 1:53 0 dispatch.fcgi -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From anotherjesse at gmail.com Thu May 12 11:37:04 2005 From: anotherjesse at gmail.com (Jesse Andrews) Date: Thu May 12 11:30:39 2005 Subject: [typo] Memory usage In-Reply-To: <1115911424.4541.39.camel@linus> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> Message-ID: <8677a6f805051208373ea2b06a@mail.gmail.com> thats why you need 4G of ram ;) I'll see whats happening with mine a little later.. I remember it filling up the whole thing when I got hit by a boingboing-ing. But I think a lot of that was ram that could have been cleared if needed. JEsse On 5/12/05, Robby Russell wrote: > On Thu, 2005-05-12 at 06:48 -0700, Robby Russell wrote: > > I am noticing that Typo overtime begins to take up a bit of resources. > > > > Having restarted apache about 45 mins ago, I am noticing that my blog is > > already using 51M on the fastcgi process. > > > > Is this normal behavior? > > > > I am going to keep watching it, but wondering if there could be a memory > > leak somewhere or is there anything that I can do to have the process > > restart itself after so much time or usage? > > > > -Robby > > > > I'm still watching the process. A hour and a half since my last email: > > PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU > COMMAND > 12304 apache 16 0 105M 105M 2372 S 0.0 10.4 1:53 0 > dispatch.fcgi > > -Robby > > -- > /****************************************************** > * Robby Russell, Owner.Developer.Geek > * PLANET ARGON, Open Source Solutions & Web Hosting > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > * www.planetargon.com | www.robbyonrails.com > *******************************************************/ > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From seant at superchannel.org Thu May 12 11:41:53 2005 From: seant at superchannel.org (Sean Treadway) Date: Thu May 12 11:35:21 2005 Subject: [typo] Memory usage In-Reply-To: <1115911424.4541.39.camel@linus> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> Message-ID: Hey Robby, There is a known memory leak in the 0.8.5 Ruby FastCGI module. You should verify that you have 0.8.6 installed. -Sean On May 12, 2005, at 5:23 PM, Robby Russell wrote: > On Thu, 2005-05-12 at 06:48 -0700, Robby Russell wrote: > >> I am noticing that Typo overtime begins to take up a bit of >> resources. >> >> Having restarted apache about 45 mins ago, I am noticing that my >> blog is >> already using 51M on the fastcgi process. >> >> Is this normal behavior? >> >> I am going to keep watching it, but wondering if there could be a >> memory >> leak somewhere or is there anything that I can do to have the process >> restart itself after so much time or usage? >> >> -Robby >> >> > > I'm still watching the process. A hour and a half since my last email: > > > PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU > COMMAND > 12304 apache 16 0 105M 105M 2372 S 0.0 10.4 1:53 0 > dispatch.fcgi > > -Robby > > -- > /****************************************************** > * Robby Russell, Owner.Developer.Geek > * PLANET ARGON, Open Source Solutions & Web Hosting > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > * www.planetargon.com | www.robbyonrails.com > *******************************************************/ > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From robby at planetargon.com Thu May 12 11:48:19 2005 From: robby at planetargon.com (Robby Russell) Date: Thu May 12 11:41:58 2005 Subject: [typo] Memory usage In-Reply-To: References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> Message-ID: <1115912900.4541.48.camel@linus> On Thu, 2005-05-12 at 17:41 +0200, Sean Treadway wrote: > Hey Robby, > > There is a known memory leak in the 0.8.5 Ruby FastCGI module. You > should verify that you have 0.8.6 installed. > > -Sean ah... # gem list|grep fcgi fcgi (0.8.5) I take it that fcgi 0.8.6 isn't in the main gem repository yet? -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From robby at planetargon.com Thu May 12 11:54:13 2005 From: robby at planetargon.com (Robby Russell) Date: Thu May 12 11:47:52 2005 Subject: [typo] Memory usage In-Reply-To: <8677a6f805051208373ea2b06a@mail.gmail.com> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> <8677a6f805051208373ea2b06a@mail.gmail.com> Message-ID: <1115913254.4541.52.camel@linus> On Thu, 2005-05-12 at 11:37 -0400, Jesse Andrews wrote: > thats why you need 4G of ram ;) I really hope that I don't need 4G of ram for a typo blog. ;-) -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From bousquet at usc.edu Thu May 12 12:02:09 2005 From: bousquet at usc.edu (Robert Bousquet) Date: Thu May 12 11:55:45 2005 Subject: [typo] Memory usage In-Reply-To: <1115912900.4541.48.camel@linus> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> <1115912900.4541.48.camel@linus> Message-ID: <4955AEE8-567F-41DB-A772-69119814E65A@usc.edu> I downloaded 0.8.6 from http://sugi.nemui.org/pub/ruby/fcgi/ruby- fcgi-0.8.6.tar.gz Then I just compiled and installed into /usr/local: (on Mac OSX) tar xzvf ruby-fcgi-0.8.6.tar.gz cd ruby-fcgi-0.8.6/ ./configure --prefix=/usr/local make sudo make install Not sure what platform you're using but this is what I did. It might help someone. / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / R O B E R T B O U S Q U E T Web Programming Consultant Doheny Office of Technology Support University of Southern California bousquet@usc.edu 213.740.9080 On May 12, 2005, at 8:48 AM, Robby Russell wrote: > On Thu, 2005-05-12 at 17:41 +0200, Sean Treadway wrote: > >> Hey Robby, >> >> There is a known memory leak in the 0.8.5 Ruby FastCGI module. You >> should verify that you have 0.8.6 installed. >> >> -Sean >> > > ah... > > # gem list|grep fcgi > fcgi (0.8.5) > > > I take it that fcgi 0.8.6 isn't in the main gem repository yet? > > -Robby > > -- > /****************************************************** > * Robby Russell, Owner.Developer.Geek > * PLANET ARGON, Open Source Solutions & Web Hosting > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > * www.planetargon.com | www.robbyonrails.com > *******************************************************/ > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20050512/362bbe97/attachment.htm From robby at planetargon.com Thu May 12 12:06:40 2005 From: robby at planetargon.com (Robby Russell) Date: Thu May 12 12:00:18 2005 Subject: [typo] Memory usage In-Reply-To: <1115912900.4541.48.camel@linus> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> <1115912900.4541.48.camel@linus> Message-ID: <1115914000.4541.64.camel@linus> On Thu, 2005-05-12 at 08:48 -0700, Robby Russell wrote: > On Thu, 2005-05-12 at 17:41 +0200, Sean Treadway wrote: > > Hey Robby, > > > > There is a known memory leak in the 0.8.5 Ruby FastCGI module. You > > should verify that you have 0.8.6 installed. > > > > -Sean > > ah... > > # gem list|grep fcgi > fcgi (0.8.5) > > > I take it that fcgi 0.8.6 isn't in the main gem repository yet? Quick question. I just installed fcgi 0.8.6 from src (not from RubyGems). Will Typo automatically use this rather than the one found in gems? -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From jason at jasonhoffman.org Thu May 12 12:25:08 2005 From: jason at jasonhoffman.org (Jason Hoffman) Date: Thu May 12 12:18:35 2005 Subject: [typo] Memory usage In-Reply-To: <1115914000.4541.64.camel@linus> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> <1115912900.4541.48.camel@linus> <1115914000.4541.64.camel@linus> Message-ID: <73B41169-A9BF-4B50-A11B-57020BA40886@jasonhoffman.org> >> ah... >> >> # gem list|grep fcgi >> fcgi (0.8.5) >> >> >> I take it that fcgi 0.8.6 isn't in the main gem repository yet? > > Quick question. I just installed fcgi 0.8.6 from src (not from > RubyGems). Will Typo automatically use this rather than the one > found in > gems? > > -Robby > You have to uninstall the gem, then I do (put the correct paths in for your fcgi.h file) curl -O http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz tar xvzf ruby-fcgi-0.8.6.tar.gz cd ruby-fcgi-0.8.6/ ruby install.rb config -- --with-fcgi-include=/usr/local/include -- with-fcgi-lib=/usr/local/lib ruby install.rb setup ruby install.rb install cd ../ rm -rf ruby-fcgi-0.8.6 - Jason From robby at planetargon.com Fri May 13 11:17:16 2005 From: robby at planetargon.com (Robby Russell) Date: Fri May 13 11:10:53 2005 Subject: [typo] Memory usage In-Reply-To: <73B41169-A9BF-4B50-A11B-57020BA40886@jasonhoffman.org> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> <1115912900.4541.48.camel@linus> <1115914000.4541.64.camel@linus> <73B41169-A9BF-4B50-A11B-57020BA40886@jasonhoffman.org> Message-ID: <1115997436.4541.109.camel@linus> On Thu, 2005-05-12 at 09:25 -0700, Jason Hoffman wrote: > >> ah... > >> > >> # gem list|grep fcgi > >> fcgi (0.8.5) > >> > >> > >> I take it that fcgi 0.8.6 isn't in the main gem repository yet? > > > > Quick question. I just installed fcgi 0.8.6 from src (not from > > RubyGems). Will Typo automatically use this rather than the one > > found in > > gems? > > > > -Robby > > > > You have to uninstall the gem, then I do (put the correct paths in > for your fcgi.h file) > > curl -O http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz > tar xvzf ruby-fcgi-0.8.6.tar.gz > cd ruby-fcgi-0.8.6/ > ruby install.rb config -- --with-fcgi-include=/usr/local/include -- > with-fcgi-lib=/usr/local/lib > ruby install.rb setup > ruby install.rb install > cd ../ > rm -rf ruby-fcgi-0.8.6 > > - Jason > _ Okay, did this... and am looking in top right now at my blogs fcgi process: 4248 apache 16 0 108M 108M 2336 S 0.0 10.7 2:05 0 dispatch.fcgi FCGI 0.8.5 was removed, 0.8.6 was installed and still seeing a high usage of memory. Has anyone else had issues like this? -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From tobias.luetke at gmail.com Fri May 13 11:40:03 2005 From: tobias.luetke at gmail.com (Tobias Luetke) Date: Fri May 13 11:33:35 2005 Subject: [typo] Memory usage In-Reply-To: <1115997436.4541.109.camel@linus> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> <1115912900.4541.48.camel@linus> <1115914000.4541.64.camel@linus> <73B41169-A9BF-4B50-A11B-57020BA40886@jasonhoffman.org> <1115997436.4541.109.camel@linus> Message-ID: <9963c1bd05051308405989c506@mail.gmail.com> Those are very interesting findings, I did the mistake of assuming it was the fcgi memory leak as well. Are you able to run some other tests? I would love to know if you get similar memory leaks in lighttpd. Also: you do run in production mode, right? On 5/13/05, Robby Russell wrote: > On Thu, 2005-05-12 at 09:25 -0700, Jason Hoffman wrote: > > >> ah... > > >> > > >> # gem list|grep fcgi > > >> fcgi (0.8.5) > > >> > > >> > > >> I take it that fcgi 0.8.6 isn't in the main gem repository yet? > > > > > > Quick question. I just installed fcgi 0.8.6 from src (not from > > > RubyGems). Will Typo automatically use this rather than the one > > > found in > > > gems? > > > > > > -Robby > > > > > > > You have to uninstall the gem, then I do (put the correct paths in > > for your fcgi.h file) > > > > curl -O http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz > > tar xvzf ruby-fcgi-0.8.6.tar.gz > > cd ruby-fcgi-0.8.6/ > > ruby install.rb config -- --with-fcgi-include=/usr/local/include -- > > with-fcgi-lib=/usr/local/lib > > ruby install.rb setup > > ruby install.rb install > > cd ../ > > rm -rf ruby-fcgi-0.8.6 > > > > - Jason > > _ > Okay, did this... and am looking in top right now at my blogs fcgi > process: > > 4248 apache 16 0 108M 108M 2336 S 0.0 10.7 2:05 0 > dispatch.fcgi > > FCGI 0.8.5 was removed, 0.8.6 was installed and still seeing a high > usage of memory. > > Has anyone else had issues like this? > > -Robby > -- > /****************************************************** > * Robby Russell, Owner.Developer.Geek > * PLANET ARGON, Open Source Solutions & Web Hosting > * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 > * www.planetargon.com | www.robbyonrails.com > *******************************************************/ > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Tobi http://www.snowdevil.ca - Snowboards that don't suck http://www.hieraki.org - Open source book authoring http://blog.leetsoft.com - Technical weblog From robby at planetargon.com Fri May 13 11:59:55 2005 From: robby at planetargon.com (Robby Russell) Date: Fri May 13 11:53:51 2005 Subject: [typo] Memory usage In-Reply-To: <9963c1bd05051308405989c506@mail.gmail.com> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> <1115912900.4541.48.camel@linus> <1115914000.4541.64.camel@linus> <73B41169-A9BF-4B50-A11B-57020BA40886@jasonhoffman.org> <1115997436.4541.109.camel@linus> <9963c1bd05051308405989c506@mail.gmail.com> Message-ID: <1115999995.4541.111.camel@linus> On Fri, 2005-05-13 at 17:40 +0200, Tobias Luetke wrote: > Also: you do run in production mode, right? Actually, it's not in production mode. I'll try that. -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From robby at planetargon.com Sat May 14 20:01:33 2005 From: robby at planetargon.com (Robby Russell) Date: Sat May 14 19:55:13 2005 Subject: [typo] Memory usage In-Reply-To: <1115999995.4541.111.camel@linus> References: <1115905696.4541.37.camel@linus> <1115911424.4541.39.camel@linus> <1115912900.4541.48.camel@linus> <1115914000.4541.64.camel@linus> <73B41169-A9BF-4B50-A11B-57020BA40886@jasonhoffman.org> <1115997436.4541.109.camel@linus> <9963c1bd05051308405989c506@mail.gmail.com> <1115999995.4541.111.camel@linus> Message-ID: <1116115293.4541.159.camel@linus> On Fri, 2005-05-13 at 08:59 -0700, Robby Russell wrote: > On Fri, 2005-05-13 at 17:40 +0200, Tobias Luetke wrote: > > Also: you do run in production mode, right? > > Actually, it's not in production mode. I'll try that. > > -Robby > Oops. Of all things, I managed to drop my db and went and looked at the backup of my typo db... and it's empty (seems I made a typo on my typo db backup script) I am now trying to build a script to import a RSS feed that I had cached in my RSS reader. (so I don't lose everything in my blog so far...) Wish me luck. :-/ doh, -Robby -- /****************************************************** * Robby Russell, Owner.Developer.Geek * PLANET ARGON, Open Source Solutions & Web Hosting * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * www.planetargon.com | www.robbyonrails.com *******************************************************/ From typo at isolated-designs.net Mon May 16 02:04:14 2005 From: typo at isolated-designs.net (Justin Palmer) Date: Mon May 16 01:57:49 2005 Subject: [typo] Apache Config Message-ID: I'm running into some problems, well actually i'm running into every problem it seems. The answer to this might be obvious for some of you, but not not to me... I'm receiving a 500 error when trying to get Typo installed in a sub- directory. This isn't a Typo specific problem, but I assume you guys might can steer me in the right direction ;-) . I have my rails apps under: /home/caged/apps/... I am aliasing the directory "/blog" to "/home/caged/apps/typo" in my apache conf. I have followed the docs here: http://wiki.rubyonrails.com/rails/show/ HowToUseRailsWithAliasedURLs on how to use mod_alias with rails. I set my RewriteBase to /blog. Here is my apache conf http://rafb.net/paste/results/6QPewu11.html. In my apache error logs I'm receiving the error: [Mon May 16 02:00:08 2005] [error] [client 209.50.252.138] Directory index forbidden by rule: /var/www/html/ This rule is at the very top of my configuration, but I 'thought' it would be overridden by the rules in my vhost directives at the bottom. This doesn't seem to be the case. Any idea on what could be the problem and how to go about fixing it? Cheers, -Justin Palmer Encytemedia.com From bousquet at usc.edu Mon May 16 03:17:38 2005 From: bousquet at usc.edu (Robert Bousquet) Date: Mon May 16 03:10:59 2005 Subject: [typo] Apache Config In-Reply-To: References: Message-ID: > Any idea on what could be the problem and how to go about fixing it? Not really :) but I can tell you how I do it. I run my typo blog in a /blog subdirectory and here's the steps I took: 1) I added this to httpd.conf: Alias /blog /path/to/typo/public Options ExecCGI FollowSymlinks AllowOverride All 2) In .htaccess I changed this line: RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] to this: RewriteRule ^(.*)$ /blog/dispatch.fcgi [QSA,L] This worked for me so I can vouch for it. I'm not sure about the wiki suggestions you found. / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / R O B E R T B O U S Q U E T Web Programming Consultant Doheny Office of Technology Support University of Southern California bousquet@usc.edu 213.740.9080 From typo at isolated-designs.net Mon May 16 21:16:22 2005 From: typo at isolated-designs.net (Justin Palmer) Date: Mon May 16 21:09:56 2005 Subject: [typo] Apache Config In-Reply-To: References: Message-ID: Hi Robert, I believe this is about the same as what i've got with the exception you append /blog onto your dispatch and I'm using Rewritebase. Although I tried that as well to eliminate any possible solutions/problems. I've been working on this for almost two days straight trying to solve this problem, but I'm about at the end of my rope. I still haven't found the solution. I think I'm getting further, but I still receive the same error. I know the alias is working because I can call the /blog/500.html file directly and it works. Here is what I'm at now in terms of my apache error log: [Mon May 16 21:04:23 2005] [notice] Digest: generating secret for digest authentication ... [Mon May 16 21:04:23 2005] [notice] Digest: done [Mon May 16 21:04:24 2005] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads. [Mon May 16 21:04:24 2005] [notice] FastCGI: process manager initialized (pid 8512) [Mon May 16 21:04:26 2005] [notice] Apache/2.0.48 (Fedora) configured -- resuming normal operations [Mon May 16 21:04:27 2005] [error] [client 209.50.252.138] Directory index forbidden by rule: /var/www/html/ [Mon May 16 21:04:28 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 11553) [Mon May 16 21:04:32 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 16193) [Mon May 16 21:04:35 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 19528) [Mon May 16 21:04:38 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 19542) [Mon May 16 21:04:41 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 19551) [Mon May 16 21:04:44 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 19872) [Mon May 16 21:04:47 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 20288) [Mon May 16 21:04:50 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 23040) [Mon May 16 21:04:53 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 23586) [Mon May 16 21:04:56 2005] [warn] FastCGI: scheduled the start of the last (dynamic) server "/home/caged/apps/typo/public/dispatch.fcgi" process: reached dynamicMaxClassProcs (10) [Mon May 16 21:04:56 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 24096) I thought the directory index error might be due to the problem that inside a rule I had: AllowOverride None I changed this to AllowOverride All to no avail. I've tried everything I know to try, and I'm about ready to throw in the towel unfortunately. I'm going to copy this to the Rails list as well to see if anyone there might have a solution. -Justin On May 16, 2005, at 2:17 AM, Robert Bousquet wrote: >> Any idea on what could be the problem and how to go about fixing it? >> > > Not really :) but I can tell you how I do it. I run my typo blog > in a /blog subdirectory and here's the steps I took: > > > 1) I added this to httpd.conf: > > Alias /blog /path/to/typo/public > > Options ExecCGI FollowSymlinks > AllowOverride All > > > > 2) In .htaccess I changed this line: > > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > > to this: > > RewriteRule ^(.*)$ /blog/dispatch.fcgi [QSA,L] > > > This worked for me so I can vouch for it. I'm not sure about the > wiki suggestions you found. > > > > / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / > R O B E R T B O U S Q U E T > Web Programming Consultant > Doheny Office of Technology Support > University of Southern California > bousquet@usc.edu > 213.740.9080 > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > From bousquet at usc.edu Tue May 17 04:59:34 2005 From: bousquet at usc.edu (Robert Bousquet) Date: Tue May 17 04:52:52 2005 Subject: [typo] Apache Config In-Reply-To: References: Message-ID: Does it work if you use dispatch.cgi rather than FCGI? If it does, then you have an FCGI config problem most likely. Robert On May 16, 2005, at 6:16 PM, Justin Palmer wrote: > Hi Robert, > I believe this is about the same as what i've got with the > exception you append /blog onto your dispatch and I'm using > Rewritebase. Although I tried that as well to eliminate any > possible solutions/problems. > I've been working on this for almost two days straight trying to > solve this problem, but I'm about at the end of my rope. I still > haven't found the solution. > > I think I'm getting further, but I still receive the same error. > I know the alias is working because I can call the /blog/500.html > file directly and it works. > > Here is what I'm at now in terms of my apache error log: > > [Mon May 16 21:04:23 2005] [notice] Digest: generating secret for > digest authentication ... > [Mon May 16 21:04:23 2005] [notice] Digest: done > [Mon May 16 21:04:24 2005] [notice] mod_python: Creating 4 session > mutexes based on 150 max processes and 0 max threads. > [Mon May 16 21:04:24 2005] [notice] FastCGI: process manager > initialized (pid 8512) > [Mon May 16 21:04:26 2005] [notice] Apache/2.0.48 (Fedora) > configured -- resuming normal operations > [Mon May 16 21:04:27 2005] [error] [client 209.50.252.138] > Directory index forbidden by rule: /var/www/html/ > [Mon May 16 21:04:28 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 11553) > [Mon May 16 21:04:32 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 16193) > [Mon May 16 21:04:35 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 19528) > [Mon May 16 21:04:38 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 19542) > [Mon May 16 21:04:41 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 19551) > [Mon May 16 21:04:44 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 19872) > [Mon May 16 21:04:47 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 20288) > [Mon May 16 21:04:50 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 23040) > [Mon May 16 21:04:53 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 23586) > [Mon May 16 21:04:56 2005] [warn] FastCGI: scheduled the start of > the last (dynamic) server "/home/caged/apps/typo/public/ > dispatch.fcgi" process: reached dynamicMaxClassProcs (10) > [Mon May 16 21:04:56 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 24096) > > I thought the directory index error might be due to the problem > that inside a rule I had: > AllowOverride None > > I changed this to AllowOverride All to no avail. > > I've tried everything I know to try, and I'm about ready to throw > in the towel unfortunately. I'm going to copy this to the Rails > list as well to see if > anyone there might have a solution. > > > -Justin > > > On May 16, 2005, at 2:17 AM, Robert Bousquet wrote: > > >>> Any idea on what could be the problem and how to go about fixing it? >>> >>> >> >> Not really :) but I can tell you how I do it. I run my typo blog >> in a /blog subdirectory and here's the steps I took: >> >> >> 1) I added this to httpd.conf: >> >> Alias /blog /path/to/typo/public >> >> Options ExecCGI FollowSymlinks >> AllowOverride All >> >> >> >> 2) In .htaccess I changed this line: >> >> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] >> >> to this: >> >> RewriteRule ^(.*)$ /blog/dispatch.fcgi [QSA,L] >> >> >> This worked for me so I can vouch for it. I'm not sure about the >> wiki suggestions you found. >> >> >> >> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / >> R O B E R T B O U S Q U E T >> Web Programming Consultant >> Doheny Office of Technology Support >> University of Southern California >> bousquet@usc.edu >> 213.740.9080 >> _______________________________________________ >> Typo-list mailing list >> Typo-list@rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> >> >> >> > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From rsimplicio at gmail.com Tue May 17 17:39:30 2005 From: rsimplicio at gmail.com (Robert Simplicio) Date: Tue May 17 17:32:53 2005 Subject: [typo] Problem with svn version 270 on TextDrive Message-ID: <6b06c3d2050517143963e5d259@mail.gmail.com> Maybe it's just me, but I've tried just about everything I can think of to get typo up and running on my domain. My configuration is lighttpd using FastCGI. When I fire up Lighttpd, I'm not getting an error, but when I check my processes the FastCGI child that Lighttpd spawned has died, and I can't find an entry in either the log in my rails root for typo or under lighttpd. I have Hieraki successfully running under the same setup, but even after looking through dispatch.fcgi, environment.rb, double-checking my database.yml, etc. I'm having no luck. I did a checkout of the svn repository to ensure it wasn't an upload issue with Windows vs. FreeBSD, etc. Any ideas? Thanks in advance Robert Simplicio http://simplicio.com Lighttpd: The painless way | Now available at http://hieraki.simplicio.comand http://manuals.textdrive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20050517/bd59a3bf/attachment-0001.htm From anoop at ranganath.com Wed May 25 01:19:02 2005 From: anoop at ranganath.com (Anoop Ranganath) Date: Wed May 25 01:12:24 2005 Subject: [typo] not using azure Message-ID: <6DE1E11C-4DF9-403F-8302-535972217EED@ranganath.com> I was really happy with the old wordpress style theme of Typo. I recently upgrade my system to trunk (270) and have found that only Azure works. If I change articles.rhtml from azure to typo, the resulting page renders pretty horribly. Does anybody have any idea what's going on? Anoop From tobias.luetke at gmail.com Wed May 25 08:51:23 2005 From: tobias.luetke at gmail.com (Tobias Lutke) Date: Wed May 25 08:44:35 2005 Subject: [typo] not using azure In-Reply-To: <6DE1E11C-4DF9-403F-8302-535972217EED@ranganath.com> References: <6DE1E11C-4DF9-403F-8302-535972217EED@ranganath.com> Message-ID: <9963c1bd05052505517ade5e23@mail.gmail.com> Hey. Before the next release we will include a theming system which lets you switch back and forth between kubrick and azure as well as any custom themes. On 5/25/05, Anoop Ranganath wrote: > I was really happy with the old wordpress style theme of Typo. I > recently upgrade my system to trunk (270) and have found that only > Azure works. If I change articles.rhtml from azure to typo, the > resulting page renders pretty horribly. > > Does anybody have any idea what's going on? > > Anoop > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Tobi http://www.snowdevil.ca - Snowboards that don't suck http://typo.leetsoft.com - Open source weblog engine http://blog.leetsoft.com - Technical weblog From bodhi at keshiki.net Sat May 28 11:28:50 2005 From: bodhi at keshiki.net (bodhi) Date: Sat May 28 11:21:57 2005 Subject: [typo] ecto + apache proxypass = no uploads? Message-ID: <01da2a6193f10a568f333e7a8060b77f@keshiki.net> Hi all, this isnt really a typo issue, but maybe some others have come across it... i have typo setup on textdrive under lighttpd (proxied through apache), and when i try to upload files with ecto, i get a HTTP 412 (Precondition Failed?!) error from apache, lighttpd never even sees the request. if i configure ecto to go directly to the lighttpd port, it works fine, but then i have to edit the posts and remove the port number from the html links. has anyone else come across this problem? help! bodhi From jason at jasonhoffman.org Sat May 28 21:49:42 2005 From: jason at jasonhoffman.org (Jason Hoffman) Date: Sat May 28 21:42:52 2005 Subject: [typo] ecto + apache proxypass = no uploads? In-Reply-To: <01da2a6193f10a568f333e7a8060b77f@keshiki.net> References: <01da2a6193f10a568f333e7a8060b77f@keshiki.net> Message-ID: On May 28, 2005, at 8:28 AM, bodhi wrote: > Hi all, this isnt really a typo issue, but maybe some others have > come across it... > i have typo setup on textdrive under lighttpd (proxied through > apache), and when i try to upload files with ecto, i get a HTTP 412 > (Precondition Failed?!) error from apache, lighttpd never even sees > the request. if i configure ecto to go directly to the lighttpd > port, it works fine, but then i have to edit the posts and remove > the port number from the html links. has anyone else come across > this problem? help! > > bodhi That's mod_security hitting the upload, just send your details into support@textdrive.com and it'll just take a couple minutes to see exactly what rule's hitting it. - Jason From list at ohtogo.com Mon May 30 20:47:22 2005 From: list at ohtogo.com (Trey Beck) Date: Mon May 30 20:41:22 2005 Subject: [typo] Typo as a lightweight CMS? Message-ID: I'm wondering how I might go about using typo as a lightweight cms. For example, I'd like to have the regular "bloggish" content of the sort that typo already supports, but also have some "static" pages like "about us", "contact us" and so on. And ideally, I'd like to be able to manage that content via xmlrpc also. What I might be asking is whether it's possible to run more than one blog with typo... Typo looks sweet -- I look forward to playing around with it. To everyone who's contributed, many thanks! Trey From anotherjesse at gmail.com Mon May 30 23:49:13 2005 From: anotherjesse at gmail.com (Jesse Andrews) Date: Mon May 30 23:42:13 2005 Subject: [typo] Typo as a lightweight CMS? In-Reply-To: References: Message-ID: <8677a6f805053020493b1c56bc@mail.gmail.com> One thing you can do is use categories for different sections. Jesse On 5/30/05, Trey Beck wrote: > I'm wondering how I might go about using typo as a lightweight cms. > For example, I'd like to have the regular "bloggish" content of the > sort that typo already supports, but also have some "static" pages > like "about us", "contact us" and so on. And ideally, I'd like to be > able to manage that content via xmlrpc also. > > What I might be asking is whether it's possible to run more than one > blog with typo... > > Typo looks sweet -- I look forward to playing around with it. To > everyone who's contributed, many thanks! > > Trey > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From jay.r.smith at gmail.com Tue May 31 08:47:16 2005 From: jay.r.smith at gmail.com (Jay Smith) Date: Tue May 31 08:40:19 2005 Subject: [typo] Install help Message-ID: <69cebec050531054741ca077a@mail.gmail.com> Hi all, Complete newbie here. Just started with Ruby, Rails and now Typo. Now that you've all run away I'll ask the last 3 of you: I have managed to start the WEBrick server and have browsed to http://localhost:3000 However I then get an error. The title of the page says: "Action Controller: Exception Caught" and the rest of the page says: "Routing Error Illegal controller path for route default: articles" Any ideas what I've done wrong? :) Cheers Jay From tobias.luetke at gmail.com Tue May 31 09:54:51 2005 From: tobias.luetke at gmail.com (Tobias Luetke) Date: Tue May 31 09:47:50 2005 Subject: [typo] Install help In-Reply-To: <69cebec050531054741ca077a@mail.gmail.com> References: <69cebec050531054741ca077a@mail.gmail.com> Message-ID: <9963c1bd050531065462a000d@mail.gmail.com> Hey Jay, I'm not 100% sure but I think you need to start webrick from the root of the application. I have seen this error before when trying to run the server script from within the scripts folder. try to go to your typo directory and do "./scripts/server" or "ruby scripts\server" if you are on windows. On 5/31/05, Jay Smith wrote: > Hi all, > > Complete newbie here. Just started with Ruby, Rails and now Typo. Now > that you've all run away I'll ask the last 3 of you: > > I have managed to start the WEBrick server and have browsed to > http://localhost:3000 > > However I then get an error. The title of the page says: "Action > Controller: Exception Caught" and the rest of the page says: "Routing > Error > Illegal controller path for route default: articles" > > Any ideas what I've done wrong? :) > > Cheers > Jay > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Tobi http://www.snowdevil.ca - Snowboards that don't suck http://typo.leetsoft.com - Open source weblog engine http://blog.leetsoft.com - Technical weblog From xavier.defrang at gmail.com Tue May 31 10:31:52 2005 From: xavier.defrang at gmail.com (Xavier) Date: Tue May 31 10:24:51 2005 Subject: [typo] Typo as a lightweight CMS? In-Reply-To: <8677a6f805053020493b1c56bc@mail.gmail.com> References: <8677a6f805053020493b1c56bc@mail.gmail.com> Message-ID: Or just create a 'static' controller with one action per static page, then just put your static content in app/static/action_name.rhtml and use routes.rb to have cute URLs. That way you can also leverage all the layout mechanism. This 'hack' of course won't scale if you plan to add dozens of pages but for a typical 'about' and 'contact' pages it should do the trick. Cheers, On 5/31/05, Jesse Andrews wrote: > One thing you can do is use categories for different sections. > > Jesse > > On 5/30/05, Trey Beck wrote: > > I'm wondering how I might go about using typo as a lightweight cms. > > For example, I'd like to have the regular "bloggish" content of the > > sort that typo already supports, but also have some "static" pages > > like "about us", "contact us" and so on. And ideally, I'd like to be > > able to manage that content via xmlrpc also. > > > > What I might be asking is whether it's possible to run more than one > > blog with typo... > > > > Typo looks sweet -- I look forward to playing around with it. To > > everyone who's contributed, many thanks! > > > > Trey > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list@rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > _______________________________________________ > Typo-list mailing list > Typo-list@rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From xavier.defrang at gmail.com Tue May 31 10:32:39 2005 From: xavier.defrang at gmail.com (Xavier) Date: Tue May 31 10:25:39 2005 Subject: [typo] Typo as a lightweight CMS? In-Reply-To: References: <8677a6f805053020493b1c56bc@mail.gmail.com> Message-ID: oops, I meant app/view/static/action_name.rhtml but you guessed it... On 5/31/05, Xavier wrote: > Or just create a 'static' controller with one action per static page, > then just put your static content in app/static/action_name.rhtml and > use routes.rb to have cute URLs. That way you can also leverage all > the layout mechanism. > > This 'hack' of course won't scale if you plan to add dozens of pages > but for a typical 'about' and 'contact' pages it should do the trick. > > Cheers, > > On 5/31/05, Jesse Andrews wrote: > > One thing you can do is use categories for different sections. > > > > Jesse > > > > On 5/30/05, Trey Beck wrote: > > > I'm wondering how I might go about using typo as a lightweight cms. > > > For example, I'd like to have the regular "bloggish" content of the > > > sort that typo already supports, but also have some "static" pages > > > like "about us", "contact us" and so on. And ideally, I'd like to be > > > able to manage that content via xmlrpc also. > > > > > > What I might be asking is whether it's possible to run more than one > > > blog with typo... > > > > > > Typo looks sweet -- I look forward to playing around with it. To > > > everyone who's contributed, many thanks! > > > > > > Trey > > > > > > _______________________________________________ > > > Typo-list mailing list > > > Typo-list@rubyforge.org > > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list@rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > >