Displaying 20 results from an estimated 10000 matches similar to: "apache/lighttpd or apache with fcgid"
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel
and apache and I looked into lighttpd and fastcgi and found both to be
too time consuming and not well enough documented for what I''m doing.
My question is, how do I set up apache and fcgid to actually work? I got
apache installed. I think I got fcgid installed (I read somewhere all I
have to do is move the
2006 Feb 12
1
fcgid -> errors
Hi,
I''m trying to get rails running on Debian stable with Apache 2,
mod_fcgid, Rails 1.0. The application works fine with webrick (*).
Let''s start here:
@eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi
Status: 500 Internal Server Error
Seems to result in the following in the log files:
[12/Feb/2006:12:18:40 :: 4105] starting
[12/Feb/2006:12:18:40 :: 4105] terminated
2006 Jun 04
1
Problem with images on Apache and Lighttpd
Hello.
Since two days I am trying to set up two rails-apps on a vserver-host so
that I can access from work ;-)
I tried all I can imagine and what Google/MSN teached me: FastCGI, SCGI,
Lighttpd, Apache, Alias, Vhosts,....
But nothing really works. I am on Debian 3.1 with Ruby 1.8.4, Rails
1.1.2, FastCGI 2.4.0, mod_fastcgi 2.4.2, ruby_fcgi 0.8.6, ruby_gems
0.8.11, Apache 2.0.54, Lighttpd
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX.
BY THE FOLLOWING WAYl:
Install FastCGI
1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
2. gunzip fcgi-2.4.0.tar.gz
3. tar -xvf fcgi-2.4.0.tar
4. cd fcgi-2.4.0
5. ./configure
6. make
7. make install
8. cd ../
Install mod_fcgid
1. cd ~
2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz
3. gunzip
2006 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting
my rails app up and running on apache2+fcgid. Webrick runs, but
dispatch.fcgi never actually runs, and apache spits out a grusome
"Premature end of script headers: dispatch.cgi" error message in the
log. Mr. Cheetham describes his problem at
http://www.archivesat.com/Typo_blogging_engine/thread164398.htm
I
2006 Aug 15
2
Apache & FCGI: Premature end of script headers:
Hi,
I have quite a problem right now. After finish of development I
installed rails with fcgi and apache on my production env. Everything
seems to be configured ok, but once I while I get the famous error
message:
" Premature end of script headers: dispatch.fcgi"
I cant see any generel configuration problem, as sometimes everything is
running fine.
Maybe it is a problem related to
2005 Dec 28
1
Can''t quite get fcgid working
I''m having trouble with running my app under fcgid. I am getting errors in
my Apache log. It seems that it is choking on the gems replacement for
require. The relevant lines from /var/log/apache2/error.log:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- initializer (LoadError)
from
2006 May 11
5
Recommendations for Apache 2 with mod_fcgid
Hi,
Have been pulling out my hair for the last few days wondering what I''m
going to deploy my site onto.
I currently have FreeBSD 4.7, Apache 1.3.3, PHP 4 and MySQL 4 running a
year-old PHP site. Dated stuff I know!
The new version of the site will be entirely Ruby on Rails, and I am
wondering what order I should be doing things in terms of upgrades and
installation. I want to be
2006 Jul 19
4
Rails crashes my fcgid/fastcgi/scgi on apache2/lighttpd :<
Or maybe I crash it and don''t know why. Here is the setup:
I have an action that will crash my debian sarge development box
using fcgid, fastcgi and scgi running with Apache2, as well as
fastcgi running with lighttpd, every time. Here is the action from
the controller:
-------------------
def crashme
@orders = Order.find(:all, :order => "`id` ASC", :offset
2006 Mar 24
0
fcgid woes
hi there,
I''m running rails on apache2 with mod_fcgid which works, but I''m having trouble with environments adn separate dev & prodution vhosts. I have DefaultInitEnv set in the VirtualHost directive for each (as production | development), which works fine after a server restart for whichever vhost I hit first, but thereafter the RAILS_ENV seems to be locked into one
2006 Mar 06
4
Apache 2.x: Use fcgid or Mongrel?
Hi, There''s lots of stuff going on currently with choices of production
deployment environments. But I''m not clear on a few things as I need to
decide on a production setup where Apache is a given.
A recent thread (http://www.ruby-forum.com/topic/56590) seemed to favor
Apache 2 with mod_fcgid. And this is supported in articles such as:
2007 May 17
3
Ubuntu rails server
Hello,
I try to install on my ubuntu ruby on rails server.
I have install ruby,rails,gem and all files but doesn''t work.
When i run the server with webrick works perfect but when i use apache
i get this message:
We''re sorry, but something went wrong.
We''ve been notified about this issue and we''ll take a look at it
shortly.
Here are my installed app versions:
2006 Jun 22
9
Again on Apache 2
Hello everybody.
I know, I know, another post about Apache 2, but I have looked a lot on
the internet and I haven''t found the answer to my problem.
I have a Linux Fedora Core 5 box, with Apache 2.2.2 (compiled and
installed), Ruby 1.8.4 (compiled and installed), RubyGems 0.8.11
(compiled and installed) and Rails... I don''t know what version as this
one I haven installed
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello,
I have a gentoo system that I am trying to remotely develop rails
applications on using apache and fcgi. I created the simple hello world
example from Dave Thomas'' book to test the system and I receive an
"application error" when I try to go to the page. I can startup webrick
and use links to view the page just fine, but nothing doing through
apache.
I have
2006 Aug 04
0
Proxy from Apache to local Lighttpd instance
Hello,
I''m having a serious problem proxying from Apache (2.2) to local Lighttpd
servers. I need this to run Rails instances on www.mysite.com/rails next to
the regular part from www.mysite.com.
Currently I get a working www.mysite.com/rails for only the first page,
controllers do not work. I am quite desperate in getting this to work as it
is the only way I can run Rails at our
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2006 Jul 28
6
need recommendations for apache configurations
I''m running a rails app on FedoraCore4 and so far have been using
lighttpd and fastcgi. I''ve decided to switch to apache because lighttpd
has been far too unstable, unpredictable, and slow. I don''t know if it''s
lighttpd or the combination of lighttpd and fastcgi but it''s just not
working for me. I need something that has been proven to work and
2006 May 07
0
How does lighttpd/fcgi/rails work?
I''m trying to understand how the lighttpd/fcgi/rails process works. It
seems like there are two ways to start lighttpd for:
1. script/server (only starts lighttpd if you have lighttpd in your $PATH,
otherwise starts webrick)
2. lighttpd -f /path/to/lighttpd.conf
It seems like #1 is for development and #2 is for production, but I don''t
actually know what the difference
2006 Mar 08
3
mod_fcgid first request slow
I have posted this before with not much response so I am posing the question
again. Is there a solution for this very apparent issue with mod_fcgid that
the "First connection is incredibly slow". It seems its b/c mod_fcgid
doesnt keep at least 1 persistent connection around that this first
connection needs to start up and then every other request is fast.
Is there a solution to this?
2006 Jan 31
0
Apache2+fcgid = "malformed header from script" when page starts with a space
I was getting some "application failed to start properly" pages, but
production.log was not showing anything.
Looking closer I''ve noticed that server_error.log (the apache log) was
giving lines like:
"malformed header from script. Bad header=<html>: dispatch.fcgi, referer:"
I was able to determine the cause, and that was that some pages were
starting with a space