similar to: Getting Mongrel to execute scripts?

Displaying 20 results from an estimated 200000 matches similar to: "Getting Mongrel to execute scripts?"

2006 Aug 02
1
mongrel to execute ruby script?
Hello, I''ve spent a couple of hours now searching for (what I thought) was pretty straightforward. I''m using mongrel together with RoR and need to execute a .rb file located in my public folder (cgi style). But mongrel just can''t do that out-of-the-box - or am I missing something? I really don''t get how I''m supposed to configure mongrel for this
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to webrick and mongrel. How can I do this same thing using Lighty and Mongrel? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
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" {
2007 Aug 13
1
Getting it right - Mongrel Upgrade - Cap 2.0
I just got the fire to clean up how our app is deployed and upgrading mongrel. Currently, our app is being deployed in a user''s home directory. This has caused some problems regards to user/group permissions... We decided we were going to move everything to /var/www/app which led me to the whole general layout of our deployment and some questions. ENV Ruby 1.8.5p12 Rails 1.2.3 Mongrel
2006 Mar 16
3
Lighty+Mongrel: Limiting persistent db connections?
I''m not sure if it''s due to setting up multiple mongrel servers and proxying them with lighty, but something is keeping postgres connections around. I only have a couple Rails apps running on a new server, with not a whole lot of traffic, yet today I actually maxed out my connection limit of 100 for postgres. How do I turn off persistent connections in Mongrel? Joe --
2006 Aug 27
2
Mongrel not creating pid file
Here''s my config: :debug: false :daemon: true - mongrel :log_file: log/mongrel.log :pid_file: log/mongrel.pid :environment: development And I start Mongrel with: mongrel_rails -C config/mongrel.yml It starts up fine, and creates and logs to the log file, but I haven''t seen it create a pid file yet. Any idea why? BTW, why does Mongrel generate a config with vars like :var:
2007 Apr 26
2
newbie question about mongrel
Hi, I am very new to ruby, rails, and mongrel, so this may not make any sense, but i figured i would ask it anyways. I have been given the task of determining if rails is a good transition for our company. While my preliminary tests have been successful (i.e. installing mongrel, deploying a test app, etc), i have to figure out how to run our existing cgi scripts under our new environment.
2006 Nov 30
1
Restarting mongrel cluster from other directories
I want to restart my Mongrels from crontab periodically to free up memory. I tried this: [admin at mudcrapce ~]$ mongrel_rails cluster::restart -C /var/www/apps/mudcrapce/current/config/mongrel_cluster.yml Restarting 5 Mongrel servers... mongrel_rails restart -P log/mongrel.3040.pid !!! PID file log/mongrel.3040.pid does not exist. Not running? mongrel::restart reported an error. Use
2006 Aug 13
1
[Mongrel?] Reload on file upload stalls process
If I just click the submit button on a file upload page, it works fine, but if I click the browsers reload button on the submitted page (yeah, I should redirect after a successful submission), the Mongrel ruby process maxes out the CPU and never finishes (requiring stopping the mongrels and killing the cpu-maxing ones). Any idea why it does this? Joe -- Posted via
2007 Mar 13
1
Fwd: Re: Basic authentication with Apache and Mongrel
There is a big difference if you are not running a pure rails site. I am doing auth apache-side because I serve static content, perl scripts via cgi and feed the mongrel pack from Apache. The REMOTE_USER variable value can be passed to rails using a technique described deep down in one of the informative pieces on the Mongrel website. Bill On Mon, 12 Mar 2007 17:54:07 -0700, Matte Edens wrote:
2003 Jul 12
1
AGI script sample using bash shell script
Hi, A quick and dirty (aka Rapid Application Developement) AGI script implement using bash shell. No need to invoke a 10MB perl engine to process simple asterisk agi scripts. I found it to be very useful in learning the AGI interface. For example, I learn that AGI won't execute the next command until you read the results from STDIN. Enjoy, Sunny Woo Solution Consultant Avantnix
2006 Mar 31
6
Lighty+Mongrel: More than one connection per client?
I have an action which requests another URL from the same site (for testing purposes), but it keeps timing out. If I use an off-site URL, the action works fine. I also notice that I''m only able to request one page at a time from my server - the rest just spin until the previous requests complete. Is this some setting in Lighty, Mongrel, or my browser (Firefox - I played around with
2006 May 22
5
Using mongrel cluster
Me thinks the docs might need a bit of fleshing out ;P http://mongrel.rubyforge.org/docs/mongrel_cluster.html At the very least, what vars can go in its config. Joe -- Posted via http://www.ruby-forum.com/.
2006 Aug 17
1
Mongrel, development mode, and deleting/moving templates
I''m not sure what''s to blame, but it seems that if I delete or move a template, restarting is necessary. For example, I recently moved a partial from app/views/members/_login.rhtml to app/views/members/_login.mab, after which I got a blank-page-of-death. Once I restarted my Mongrel cluster, it worked. Shouldn''t changes like this get picked up automatically in
2008 Oct 14
0
Startup scripts for nginx and mongrel
Hello list. I''ve (hopefully) gotten nginx and mongrel up and running, and copied the startup script found on http://reductivelabs.com/trac/puppet/wiki/UsingMongrelPound to enable starting puppetmaster by issuing "mongrel_puppetmaster 18140". This makes sure that mongrel i started. But how do I make sure nginx is automatically started? As of now I manually issue the
2006 Jul 26
3
Is Truer Coding Nirvana Possible?
I''ve been web developing for a long time, and last week it felt like the final piece of the puzzle finally fell into place for me with Markaby (no more angle brackets, slashes, closing tags, quotes, etc. Yay!) to reach a state where web development is enjoyable and easy and powerful. I''ve gone from: ASP (NOT .Net), PHP, Perl MySQL CVS Dreamweaver, Frontpage, and numerous
2006 May 12
1
New Mongrel 0.3.13 Documentation: HOWTO Do Everything
Just a quick note for a few new features/fixes available on the Mongrel pre-release and a new document that covers nearly all the big features and configurations for Mongrel. First, the document is http://mongrel.rubyforge.org/docs/howto.html and it covers: * All the start command options including the fresh -G option to generate a config for -C. * The format and usage of the MIME type file (-m
2006 Sep 16
10
Mongrel and Sandbox
Z-Man, DHH recently said: "And [_why''s] latest work on sandbox looks stellar. Making it drop-dead easy to run multiple Rails applications in the same Mongrel process without conflicts. Thumbs up to both him and Matz for getting Sandbox on track for inclusion with the next Ruby release." Does that mean what I think it means - that one or more Mongrel processes may one day be
2006 Feb 14
2
Mongrel 0.3.2 -- The Right Site/All Requests Answered
"Another Mongrel release?! Is he insane?" Yeah, basically. This is yet another release of Mongrel that adds a bunch of little features people requested and I found were needed. This release is almost entirely targeted at Ruby on Rails folks as the majority of the changes went into the mongrel_rails runner. Get this release from the (correctly linked) site: *
2006 Sep 07
5
Mongrel Ultimate Deployment Certified Rails Aptitude Program
I''m proud to announce the official Mongrel certification program: http://mongrel.rubyforge.org/certified.html Move quick, seats are filling fast for the RubyConf courses. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.