similar to: Starting lighttpd/Rails apps as user, not root

Displaying 20 results from an estimated 20000 matches similar to: "Starting lighttpd/Rails apps as user, not root"

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
2006 Jan 17
2
Switchtower to Red Hat with Lighttpd
It looks and acts like it should all work, but after I run a "rake deploy", Lighttpd never responds to another request. I have to go and kill and restart Lighttpd, which sort of defeats the purpose of using Switchtower. Is anyone else having similar problems? -- Regards, Lori
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2005 Dec 16
6
Switchtower for production?
Hello, The company that I work for will be developing a large webbased survey (for a government institution) somewhere in Q1/Q2 of 2006. I''m investigating the technological possibilities and Rails is certainly a candidate. The survey application will have to perform under very high peak load, and the exact specifications of the hardware are not known at this point. I''m assuming
2006 Jun 07
9
lighttpd/fastcgi - where does stdout go?
i''m using lighty and fastcgi in my rails production environment. standard output appears to get swallowed up somewhere... it''s clearly not coming out of the development log. don''t know where to look for it. is this a byproduct of running in production mode? is there a way to turn this off? thanks, paul
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
2006 Jan 26
7
Switchtower Port Issues
Hi there, I''m having some difficulties finding some decent info on getting Switchtower to function for my needs. I''ve read most of the Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97, however it''s not answering some potent questions I have. 1. The doc mentions, as an example, using an SVN repos at http://svn.switchtower.com/flipper/trunk What if I
2005 Dec 17
6
Lighttpd Restart Script
After quite a bit of searching and coding, I customized an init.d/bash script which allows me to manage multiple instances of Lighttpd server running Rails. It targets the specific PID address instead of the default binary location when starting and stopping /usr/local/bin/lighttpd process. This provides the ability in my case to have multiple lighttpd.conf files running many different instances
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd: BEGIN ERROR: $ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server (see config/lighttpd.conf for options) 2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like
2006 Jul 29
3
Lighttpd Configuration Independent of Hostname or IP
Hopefully someone can help with a bit of lighttpd configuration for my production rails app in Mac OS X. I have an application which will be accessed by many different domains and IP addresses. Examples: http://crm.local/ http://localhost/ http://192.168.0.49/ http://65.256.120.90/ (fake, but you get the idea, an external Internet facing IP address) http://crm.mydomain.net/
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
I''ve got switchtower set up, and it seems to work fine except for one problem: It doesn''t successfully restart lighttpd. I have the following task in my deploy.rb file: desc "Restart the web server" task :restart, :roles => :app do sudo "/usr/local/etc/rc.d/lighttpd.sh restart" end This is on a FreeBSD system, so it''s using the rc script to
2006 Mar 02
9
FastCGI vs. Simple CGI
I''ve seen several postings where FastCGI is being used with RoR projects, yet, most of the material I''ve read (Dave Thomas'' book, online articles, etc) recommend not using FastCGI anymore because it is a dormant project and hasn''t been updated since 2003 (I think???). So, I went out and got Simple CGI instead. It had to be compiled and installed from
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But i don''t understand what part Lighttpd (or Apache) has in the setup. I know that you can use Mongrel on its own. What does Lighttpd improve on? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2006 Sep 07
4
Install config: lighttpd dead but pid file exists
I''m trying to run rails on RHED (centos 4) by following this tutorial: http://wiki.rubyonrails.org/rails/pages/RailsOnRHEL and something is gone a bit astray during the install process that is not allowing lighttpd \ apache to run rails on the web. Since i''m running Centos, I should mention I''m NOT running SELinux. As it is, i''m at a total loss as to why
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone, I?ve been working with Ruby on Rails for about 2 months now and have really enjoyed the ease of use of it. I?m only been doing development on it so I?ve been using WeBrick. Recently, I have built a server running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I changed the paths in the
2006 Feb 17
27
deployment server
Hi all, On theserverside.com there is an article describing an interview with Bruce Tate, where he calls Java dead like Cobol. See: http://www.theserverside.com/news/thread.tss?thread_id=39066 However in the comments, some guy comes up with a good point: He states the following: <quote> I couldn''t come up with a viable enterprise quality/grade deployment platform for RoR. Even
2006 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi. This is the error I''m getting when I try to start Lighttpd : ============ [getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start Starting Lighttpd 2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for: /home/getcapture/application/public/dispatch.fcgi No such file or directory [getcapture@alpha getcapture]$
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work, followed the instructions at http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I go into my rails app and type "./script/server" I get the following errors: baggio:~/work/teore pergesu$ ./script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Mar 27
2
dispatch.fcgi hanging after lighttpd shutdown
Hi. I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I have configured lighttpd to do adaptive spawning of the FastCGI processes. However, after shutting down lighttpd the FastCGI processes remain running. Did this problem occur to anyone of you? Is there a fix? I''d be really grateful for every answer. Regards, Manuel Holtgrewe