Displaying 20 results from an estimated 1200 matches similar to: "(newbie) /tmp/fcgi_ipc ?"
2006 Mar 13
9
apache 1 fastcgi config correct???
I followed this tutorial on the rails wiki about how to get apache with
fastcgi working on a vps machine:
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
In the tutorial it said to add this to the httpd.conf file to get fastcgi
working.
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
</IfModule>
However
2005 Jun 30
4
A Memoir on FastCGI and Apache
With the release of our filmfury.com project, I''ve been trying to
rise to the stature of a true system administrator in the last couple
of days (haha). I''m trying to understand how all of the pieces to
this apache/fastcgi deployment fit together.
Here''s what I''ve learned so far:
* You need a separate FastCGI server for each Rails application on
your
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different
client machines)...
the upload page just hangs...
I''m running...
- ruby 1.8.4 (2005-12-24) [i686-linux]
- rails 1.1.4
- red hat el 4
- apache
- fcgi (0.8.7, 0.8.6.1)
- firefox 1.5.0.5
- httpd.conf
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
FastCGIConfig
2006 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
We''re trying to run Ruby on Rails on Debian with Apache and FastCGI, but
can''t get it to work. As far as we can tell, it seems to go wrong in the
final stages; Apache appears not to be doing anything with
dispatch.fcgi, even though FastCGI looks to be set up correctly. We''ve
followed several "how to"s, but we don''t get any other results.
What
2006 Jun 30
1
running in production mode
I am running apache with mod_fastcgi on Linux - I would like to run my
app in production mode, but I could not. Following is what I have in my
httpd.conf. Can someone tell me why it does not recognize the env
variable for production? The app always runs under development mode i.e
ignores the RAILS_ENV directive.
thanks/ thila.
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
2006 Mar 26
3
help with rails and apache
i just went through the tutorial on
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
but i''m having some problems.
when i add:
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
</IfModule>
under the line that says:
LoadModule fastcgi_module libexec/mod_fastcgi.so
apache fails to restart.
i went on
2006 Jan 14
6
Error installing Rails/FastCGI/Apache2
Trying to install rails/fcgi/apache2. Following these instructions:
http://xmlareas.com/ruby-rails-howto.html
Using Fedora Core 4. I installed ruby and ruby-devel using apt-get.
Everything under Adding FastCGI (optional) works fine up to the gem install
fcgi part. Here is what happens:
[root@paulbarry fcgi-2.4.0]# gem install fcgi -r --
-with-fcgi-lib=/usr/local/fcgi/lib
2006 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have
read forums, followed How-To''s all in vain. I am hoping someone can help
me out. I am getting the Rails Welcome screen, but when trying to go to
any other url, I get the 500.html message. Take a look for yourself at
http://66.139.78.237 and click on "about your application''s
environment".
2005 Oct 04
3
Ruby/Rails users in Toronto area?
Just checking. I''m new in town, and somewhat new to Ruby on Rails.
-- joshua
2006 Apr 05
13
Apache Deployment Woes
Hi Everybody,
I''m down to my last straw. I''ve been trying to deploy my latest rails
project on Apache for about two weeks with limited success. I have a
lot of info, but still no clue what is causing my problem. I decided to
turn to the community for some help...
Basically, my site works fine with Apache and FastCGI most of the time,
but sometimes I get the "Rails
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 Apr 26
2
application failed to start for subdomain
I recently setup a subdomain to run my app as a staging site before pushing
changes to the main site. So i setup a subdomain in cpanel, symlinked that
the directory to point to a staging directory where i check''d out my rails
app.
However, when i go to staging.railsapp.com, it times out and says
application failed to start properly.
I''m not sure what is causing this, but
2006 Apr 24
12
setup a staging site?
Hi, i''m wondering how to setup a staging site for my RoR app. Right now i
run webrick on my laptop to develop, then i svn commit my changes to the
production server. However i need to make my development environment
available to others and not just for me on my laptop.
I have RoR setup on a hosted vps server which runs in production
environment. Its on apache 1.3 and mysql. How can i
2005 Mar 08
1
Pluralization rules?
Is there documentation somewhere on how RoR handles pluralization? I''m
finding it head-scratching/table-thumping.
I''m playing with converting an old PHP app to RoR. I used to have a
table called "status_code" which was referenced by column "status". I
converted the "status" column to "status_id" and the table to
"statuses",
2005 Mar 08
1
Adding to model (newbie)
Sorry if this is a really lame question, I''m sure it''s something fairly
obvious, but I just can''t see it at the moment...
I''m trying to add something simple to the model for a project
management/todo list/thing. The DB has ''first_name'' and ''last_name'',
and I''d like to have "full_name" available.
So -
2006 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your
application''s environment" on the Rails Welcome page, it simply prints
out the dispatch.fcgi script as shown below. I would appreciate any help
I can get on this. I can provide other infomation if necessary.
#!/usr/local/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
#
2006 Jan 25
1
Non-model methods go where?
Hi all --
I collect two pieces of data from users, then perform a calculation on
this data. Where should I put this calculator this method?
Helpers seem view-oriented, and the result here is not being sent to the
user. Anyway, I tried putting the method in a helper and got a "no
method" error.
At the moment, I have it in another Model, but this seems really lame to
me, so I
2006 Aug 09
0
Deployment: Best way to switch between test and prod envs.
All,
Not looking for advice on the relative wisdom of my actions :).
I have a Rails app. running under Apache 2/fastcgi that I would like to
switch from using the test environment (database) to using the
production environment (database).
I can do this by hand by modifying my xx_mod_fastcgi.conf file and
setting RAILS_ENV to be the appropriate value in the command that
initializes my
2006 Jun 30
0
Production Mode in my Rails Application not responding
I also had a problem with our client''s site www.storkselect.com. When
working with up-dating coding...Everythng was fine until I changed the
coding from:
IfModule mod_fastcgi.c>
FastCgiServer /var/www/storkselect/public/dispatch.fcgi \
-initial-env RAILS_ENV=development \
-processes 2 \
-idle-timeout 60
</IfModule>
To
2006 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The
httpd.conf has :
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc
FastCgiServer /root/zs/public/dispatch.fcgi -processes 2
FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production
-idle-timeout 120
-maxClassProcesses 2 -killInterval 300
</IfModule>
The dispatch.fcgi is the default provided in the