similar to: Newbe Rails question on Apache.

Displaying 20 results from an estimated 10000 matches similar to: "Newbe Rails question on Apache."

2006 Feb 24
4
lighttpd and Apache .. will they play together?
Can someone point me to a tutorial or web example of doing this ... I want to have a site that is normally pure content served via Apache and I want to set up a Rails app on the same box that is served via lighttpd. Now I want the Apache site to be able to retrieve formatted pages for MySQL database queries by the Rails app. I will also be using ActionMailer under the Rails app. How can I
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 26
2
Run fastcgi in Apache 1.3, or proxy through lighttpd?
I''m working with a guy who has Apache 1.3 installed on his server, and it''s not an option to simply use lighttpd for a Rails application I''m helping him with. I''ve seen that Apache 2 apparently is crappy when it comes to fastcgi, but 1.3 isn''t so bad. I can then either just run my app straight in Apache, or I could proxy it through to lighttpd. Which
2006 Mar 22
5
Apache - Rails communication.
Please, if this question is not appropriate to this list please direct me elsewhere. If it has been discussed in a previous thread, please direct me there. An initial search of the archives did not appear to show anything. I am new to Rails but not to app servers having 4 years with J2EE. The set up of a Rails app seams strait forward and I understand the MVC model. Initial test code has
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 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
2006 Jul 24
22
which webserver to use in production?
Apologies in advance if this ignites a war of comflicting opinions.... I''m a few days away from going live with my first RoR application. It is completely database centric and each user will have his own queries so cacheing will not really help. I have a dedicated linux server being built by my hosting provider and I need to tell them which webserver to use. The databse is MySQL
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 24
17
Updated lighttpd to 1.4.9 - error running dispatch.fcgi
Hi all, I just updated lighttpd from 1.4.8 to 1.4.9 and it now refuses to start with the following error: 2006-01-24 23:12:24: (mod_fastcgi.c.989) execve failed for: public/ dispatch.fcgi No such file or directory 2006-01-24 23:12:24: (mod_fastcgi.c.1015) the fastcgi-backend public/ dispatch.fcgi failed to start: 2006-01-24 23:12:24: (mod_fastcgi.c.1019) child exited with status 2
2006 Feb 25
10
Performance issue.. after a while
Hello, I have an project running on a dedicated server: Debian, P4 CPU 3.00GHz, 1GB RAM, ruby 1.8.4 (2005-12-24) [x86_64-linux], rails (1.0.0), activerecord (1.13.2) lighttpd-1.4.10 + fastcgi + mysql 5.0 7 dispatchers. The project is a game, so a typical user would visit 100+ pages. When the server is busiest, it gets 35-40k requests/hour. For some misterious reason after a number of hours the
2006 Apr 07
4
Big fcgi problem...
Hi all My lighty spawn 10 fcgi process, some times, one or two of them will eat all most 90% CPU, when i kill them, everything is ok. I want a script to auto kill these Big fcgi, could you give me some advise? regards -- Posted via http://www.ruby-forum.com/.
2006 Mar 23
2
lighttpd rails
I''m running lighttpd + fastcgi + rails Say that the lighttpd root directory is the rails application /public directory. I''m just curious. If theres a file in the document root with the same name as a controller, does the file get served first? How does that work? Does lighttpd check the root directory first to see if the file exists- If not, it calls dispatch.fcgi? I want to
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and I must be missing something very obvious because I cannot get things working properly. Here is what I need: 1) The server must be running apache 1.3. A very large body of PHP content is currently vended by the server through 5 vhosts and I have neither the time nor resources to replace apache1 with apache2 or lighttpd. Maybe
2006 Mar 07
5
Capistrano: command never finishes?
Hi, I have created a small :restart task to overwrite the default one: task :restart, :roles => :app do sudo "/etc/init.d/lighttpd stop" sudo "/etc/init.d/lighttpd start" end This works fine and lighty does restart, but the last command never finishes, so I never return to the prompt. Here''s my output: cap restart loading configuration
2006 Mar 21
8
Redirect without port number?
On my host I run my lighttpd instance bound to a specific port and my hostname is mapped to this port (I''m not exactly sure how this is accomplished, but it is lighttpd also listening on port 80 which handles this for me I believe). A redirect from rails includes my local port number in the request, so that it shows up in the address bar. I prefer people not to see this - I
2005 Sep 22
2
production environment
So I''m getting ready to setup a production environment on my boxen (running Fedora Core 3), what are my options? I''ve seen a number of posts about FastCGI, SCGI, etc. and am completely lost as to what I should be setting up on my box (that I hopefully won''t have to touch for a while). I need to run Collaboa, Typo and probably 3 or 4 other apps on this, so
2005 Dec 28
11
some notes about rails, apache, fastcgi and windows
hello. i''d like to share some feelings of mine after a couple of *weeks* intermittent attempts to have rails applications working on windows (XP) with fastcgi performances under apache (2.0). i''d say the software stack i''m using now will be fairly common as more and more new rails developers will join the bandwagon. what is stunning me is the fact that, even if
2006 Mar 06
1
WEBrick / lighttpd information?
Is there a Usenest Newsgroup / listserv / Internet forum dedicated to issues of WEBrick / lighttpd configuration such as loggin and CGI? Thanks for the comments. john
2006 Dec 14
3
reaper spawner
Hi, Anyone know where i can find out more info on Reaper/Spawner. Currently, every time i add a new account on my production machine, i have to restart the whole server. After about 150 accounts, this puts a real strain on the server (it takes 3 full minutes before i can access any site on the server). I think reaper/spawner is my answer, but i am havving trouble figuring out how to use it.
2006 Aug 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of mongrel. I also need ssl but only for one of my sites. I understand that Mongrel does not play with SSL so I am forced to use Lighttpd. I think that lighttpd only handles ssl or non-ssl on any given instance. Is there a way for me to accomplish my goal of one lighttpd with multiple mongrels and the occasional ssl connection? --