similar to: Combating site suckers

Displaying 20 results from an estimated 3000 matches similar to: "Combating site suckers"

2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really difficult. This appears to be the process: - stop apache - stop lighttpd - stop scgi - make sure scgi still isn''t running (it sometimes does) - if it is, kill it - delete all session files (they often cause permission errors) - start scgi - start apache - start lighttpd - cross
2005 Nov 21
10
Anybody using SCGI in production?
Or does anybody prefer fastcgi/fcgi? I''m using webrick for development, but plan on using scgi when I switch to production (because it appears to be an update to fastcgi, and I couldn''t get fastcgi working anyhow). thanks csn __________________________________ Yahoo! Mail - PC Magazine Editors'' Choice 2005 http://mail.yahoo.com
2006 Feb 08
1
routing: requiring requirements for non-existent params?
With this route: map.connect ''items/:subject/:id'', :controller=>''items'', :action=>''show_redirect'', :requirements => {:subject => /.+/, :id => /\d+/} Is it possible to have it match these URLs: items/biology/123 items/chemistry/234 items/math/456 But not these: items/new items/list ... The problem is that :requirements only
2006 Feb 23
5
Help with SCGI please :(
Hi, While learning Ruby and Rails, I decided I just as well learn Linux along the way... It''s been fun, but I''m stuck at one of those exasperating moments... I hope someone can help me :) I installed Ruby 1.8.4 on Fedora Core 4, then Rails, then lighty, and then SCGI. I used yum to install lighty... and it already comes with mod_scgi. I created my first application in
2006 Feb 15
0
Lighty/SCGI: not found: /dispatch.scgi
I have a ton of these in my Lighty error log: 2006-02-15 15:55:53: (connections.c.1383) Warning: Either the error-handler returned status 404 or the error-handler itself was not found: /dispatch.scgi 2006-02-15 15:55:53: (connections.c.1385) returning the original status 404 2006-02-15 15:55:53: (connections.c.1387) If this is a rails app: check your production.log And I guess it''s
2006 May 26
0
SCGI + Lighttpd + SSL crashes - fine without SSL
[ERR][17968] Handling client: can''t convert nil into String Hi, We decided to go with SCGI + Lighttpd for Rails at our company and had no problems with the initial setup. Everything ran fine and was fast. However, problems occurred when we tried to rebuild Lighty with SSL capabilities. With this build, even with SSL off in the config file the application fails on the first request.
2006 Mar 21
2
Lighty+Mongrel unresponsive after so many requests
I transferred a site from Lighty+SCGI to Lighty+Mongrel, and now I''m having problems with it becoming unresponsive. It works fine for about 10-15 minutes, but then attempts to access the site just stall forever. Nothing is written in any of lighty''s or mongrel''s logs. Here''s my lighty config: $HTTP["host"] =~ "www.xyz.com" {
2006 Feb 23
5
Running apps in subdirectories using lighty/scgi
Hi, So thanks to Zed I was able to get lighty/scgi and a Rails app running. I know this might not be the best place to post this, but I guessed there may be several others with similar experiences here. So, the following step is to have several apps each in its on subdirectory. I tried the following to no avail: $HTTP["url"] =~ "^/tango/" { server.document-root =
2005 Nov 06
11
Ideal Rails / Apache config?
Hi All, Just about to set up RoR on our server and was wondering what the ideal setup for RoR is these days? Apache 1? Apache 2? fCgi? Any guidance would be helpful! Thanks, -Adam
2005 Dec 28
4
undefined method `include''
I''m getting this error in Rails: undefined method `include'' for #<MenusController:0x408efd1c> The offending code is: require "rexml/document" include REXML I see there may be a problem with GCC 4 on OSX, but I''m using Redhat with GCC 3.2. http://weblog.rubyonrails.org/articles/2005/12/22/is-gcc-4-0-incompatible-with-ruby-on-os-x-and-elsewhere
2006 Jan 11
2
map.connect - redirect with 302?
Is it possible to write map.connect rules in route.rb that externally redirect (HTTP 302) to other actions? thanks csn __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2006 Jan 21
4
Ruby processes consuming 1,000 megs of swap space
Hi all. The subject pretty much says it. I''m running on a VPS-style shared server at pipespring.com. I''ve got Typo setup, and have been running it fine for about a month. However, today I got an e-mail from my host saying they disabled Ruby (chmod 000) because it was using waaay too much swap space. I haven''t changed anything with my server at all (Rails or otherwise)
2006 Feb 13
2
categories and admin/categories - different controllers and templates?
Is there some way to have these two sets of URLs use totally different controllers and templates? categories/list categories/show/1 admin/categories/list admin/categories/edit/1 admin/categories/destroy/1 admin/categories/update/1 Besides, of course, using different controller names ;). The first URL is publicly accessible, while the second contains admin functions. Also, with the second,
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows: Windows XP SP2 lighty ruby 1.8.x rails 1.1 scgi I have everything working fairly well, but with one minor exception: the actions that I have defined as follows are not found. class MytestController < ApplicationController def index render_text "Hello Nurse!" end def dilbert render_text "Dilbert
2006 Feb 09
2
select options for HABTM?
I''ve looked through the docs and the wiki and can''t figure out how to go about generating select options and the update function for an item that has a HABTM relationship. I have a ''parks'' table and the park model has a HABTM to the ''states'' table. On the park edit page, I''d like a multiple select box to appear with all states show,
2006 Feb 04
4
Page caching feeds and cache file extensions
I have a feeds controller which generates RSS and Atom pages. I put ''caches_page :show'' in it. The problem is that the pages are saved with an html extension. As a result, browsers display the cached feeds as HTML rather than XML, and feed validators complain. There''s an option to set ''Base.page_cache_extension'' globally, but I don''t want
2006 Apr 05
0
[SPAM] Problem with scaffolding on test setup
Yet another newbie question here. My setup is thus: I have lighty running with scgi (working fine) on windows XP sp 2. Rails 1.1 and ruby 1.8.x. The server and scgi are working. I know this because I can get a test page to work easily enough. I did the following: ruby script\generate model Recipe [following the Rolling with Rails Tutorial] ruby script\generate controller Recipe I also
2006 Jan 20
3
Process watchdogging anyone ?
Hi ! I have Lighttpd and SCGI clusters running my applications. I self-host at RimuHosting, but I find that my processes die sometimes. I''m not a Linux administrator, so I simply want some kind of watchdogging process to ensure my stuff keeps on truckin''. I found Watchdog::Process on CPAN, but it won''t install. There''s some kind of error. Launchd would be
2006 Jan 11
2
Handling ''recognition failed''?
How can I handle ''recognition failed'' errors so they act like typical 404 errors? By displaying a message, page and/or redirecting. thanks csn __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
I''ve run into a problem on one of my development machines. I''m trying to run multiple rails apps on one dev machine that runs Windows. Problem is that is seems that I can only run one scgi_service at a time, meaning that only one of my apps will function at a time. Anyone know how I can get around this, other than getting a *nix box (which I should have soon, hopefully) ?