Displaying 20 results from an estimated 8000 matches similar to: "Ideal Rails / Apache config?"
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
2005 Dec 14
14
Install problems: R-o-R on Debian with mod_ruby
Hello,
I have tried to setup Ruby-on-rails on my debian Linux machine and can
not get it to run. Maybe someone can help.
The following was installed already:
- apache2 2.0.54 (and PHP5)
- Postgresql 8.1
Now, having the ''unstable'' branch in my /etc/apt/sources.list I did:
apt-get install libapache2-mod-ruby
and Apache reports a "mod_ruby/1.2.4 Ruby/1.8.4"
2005 Dec 04
10
web server q -- playing nice w/ PHP
I have a webserver that''s happily running apache2 and PHP. I''d like to
deploy a site that I wrote using RoR on that same server but read that
there might be some conflicts with PHP and RoR trying to access the same
MySQL database.
How real are those conflicts? Could I mess up my running PHP site if I
install mod_ruby and try to use Apache2?
Would I be better off
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 03
2
Rails is slow on Apache !!!
Hi ,
I have rails running on my development machine. I have installed mod_ruby
and set up the httpd.conf file to add handlers for .rb files. But the speed
I get is still slow compared to webrick which is blazingly fast.
I have 2 questions
1. How do I determine if mod_ruby is loaded and is being used to run my ruby
scripts ?
2. Which of these fcgi /mod_ruby is faster ?
Thanks
vivek
--------------
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI.
I have this config under httpd.conf
------------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi
2005 Aug 16
9
Needed - a step by step WAMP installation of Rails
I am finding the installation process for Rails a bit confusing. First
of all I want to use:
Windows 2000
Apache 1.3+
MySQL
The above is accomplished with WAMP5 from wampserver.com
The problem is that there is no complete step-by-step for installation
in this enviroment. The wiki instructions hop around from One-click to
Apache.conf and other items. Installing CGI support for languages on
2005 Jun 18
9
lighthttpd mod_scgi
I see that lighttpd 1.3.14 supports SCGI.
lighttpd 1.3.14 - 2005-06-15 18:10
Changes
-------
* added SCGI support via mod_scgi
* added hash-based and round-robin load balancing to mod_proxy
* fixed range requests larger than 2Gb
* fixed compilation on Solaris
* fixed endless loops in mod_fastcgi, mod_cgi and mod_proxy
* fixed handling of URIs for ''+'' and
2006 Mar 12
3
Apache, fastcgi, ruby-on-rails etc.
Hi all,
I've read a bit about fastcgi, and wondered if it might be an
interesting solution for e.g. running php in a user-switched environment
or running ruby-on-rails etc.
But I wonder why nobody (searched on Google) seems to use CentOS with
mod_fastcgi for Apache 2.x.
And I also wonder why people actually using Apache 2.x and ruby-on-rails
with CentOS did run a lighthttpd-fastcgi
2005 Nov 02
3
problems running rails on mac osx tiger (10.4.3)
Hi,
I''m newbie to rails, so please be gentle with me.
I got one of the new powerbooks that apple just released
last month (october 2005).
I installed rails using RubyGems
and also the installer for mac osx found
here
http://www.tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners
everything seems to update and install fine.
But when I type
2006 May 22
6
which kind of deployment has the best performance
In the following deployment of web app on ONE pc-based server,running
linux,which can support the most amount of concurrent users as well as
the shortest latency?
1 apache+mongrel
2 apache+mongrel_cluster
3 lighthttpd+mongrel
4 lighthttpd+mongrel_cluster
5 lighthttpd+fastcgi
Thanks
charlie
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
6
Why not mod_ruby?
Hi!
I''ve understood that the mod_ruby apache module is not recommended for
running Ruby on Rails applications. But I haven''t found any information
as to why that is so. Please enlighten me. And could you point me to the
(currently) prefered production environment. (That can handle both RoR
and PHP sites).
Thank you and best regards
Hans-Eric Gr?nlund
--
Posted via
2006 Jun 07
7
Tunneling in capistrano twice
Hi there,
The default recipe expects you to be able to access your web server
directly from your local machine.
On our web server, for security purposes, it is only possible to ssh
to it through one particular ip (which is also a remote machine.)
The capistrano source is so compact and tidy it looks very hackable.
But rather than messing around I thought I''d ask first if anyone else
2006 Feb 14
6
Rails on Sun
Hi Everbody,
I''ve got a potential idea for introducing Rails to my company. My only
shot at this is to minimize what our Ops guys would have to install and
configure to get this up and running.
Right now, our servers are Solaris boxes and we are using Sun ONE as our
web server.
Anyone got Rails running in this environment?
Also, has anyone got Rails talking to Oracle databases?
2006 Mar 31
35
Frustrated with RoR environment splintering
Why isnt the RoR community focusing on robust and scalable mod_perl style of
Apache environment, rather then splintering all over the place with
lighthttp, mongrel, WEBrick, SCGI, fcgi, etc???
Its frustrating as someone who is trying to migrate to RoR.
Its very unlikely I would ever get a contract to work on any webserver
except Apache, so it would seem logicaly to focus all our efforts to
2005 Mar 06
10
A Nightmare on Rails Street: Windows Lives!
Just spent 40+ hours in two days deploying my app on Windows 2000. Not
all the time was Apache/MySql related, but a significant portion was.
What a nightmare that was. Unfortunately, the customer is dead-set on
"standardizing" by using Windows. So, as I sat there between a Linux
box and an AIX box working on this thing, I ran into problems, part of
which were:
CGI was slow (Dell
2006 Jan 06
3
fastcgi on apache
Running on Fedora Core
I have been playing with some of the tutorials and one of them had me
install lighttpd and lighttpd-fastcgi and that was much faster than
apache seems to be.
How do I get fastcgi stuff to work on apache...
I have this setup for my tutorial environment in httpd.conf
<VirtualHost *>
DocumentRoot /home/craig/cookbook/public
ServerName cookbook
<Directory
2006 Jan 03
18
Trying to do a simple thing ...
Hi !
I was talking to a seasider and he asked me if it was easy to do the following
thing using rails :
1) ask a number to the user
2) ask a second number
3) give the addition of the two number and a link to be able to replay
All these things have to be done in one controller and one action, there is no
need for verification and other stuff.
I tried but I''ve got some problems
2008 Jan 14
8
What is so hard about Rails deployment?
Recently there has been a lot of fuss about the ease of Rails
deployment. People made various claims, such as "I''ve deployed PHP,
Java, (insert something else here) and Rails. Rails is by far the most
painful." and "Java deployment (with Tomcat) is easier."
I have no experience with Java deployment. But I have a friend who has
worked on several high-end software
2006 Jan 18
7
FastCgi issue
Hi,
I know that Apache2 + fastcgi is sometimes difficult to setup, but I was
wondering if anyone has come across this error and if yes what did you
do to resolve it?
[Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115] FastCGI: comm
with server "/var/htdocs/ot/public/dispatch.fcgi" aborted: idle timeout
(120 sec)
[Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115]