Displaying 20 results from an estimated 10000 matches similar to: "help with best practice connection for apache 1.3.x and rails"
2010 Dec 18
2
Best way to set up for PHP websites
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am looking to set up a CentOS server for hosting a high traffic PHP
site (specifically Drupal 6).
I am trying to figure out what's the best way of setting up PHP. The
standard mod_php seems to not be a good solution, as it requires apache
to be in the prefork configuration, due to PHP not being thread safe.
Something like mod_fcgi seems to be
2006 Nov 01
8
Nginx, Mongrel, Proxy and REMOTE_ADDR
I''m using a cluster of mongrels behind an apache 1.3 proxy pass. I''ve
been passing the request to pen, which in turn balances the cluster of
mongrels. Now, I''d like to be able to use a different server to send
the static files created by the rails application, so I tried to
replace pen with nginx. Everything seems to work fine except the
environment variable REMOTE_ADDR.
2006 Oct 20
5
Apache/Mongrel Question
I''m setting up a new server in anticipation of switching from lighttpd+fcgi. My application isn''t completely imported yet, so I don''t expect it to work. For instance right now when pulling up my app from localhost I get my Ruby/Rails MySQL error message. But when I pull it up from a remote computer I get a proxy error from Apache:
======================
Proxy Error
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 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 Apr 03
1
Setting up FastCGI for RoR under Apache 1.3.34
All,
I have all of the components that I need to install RoR under FCGI for
Apache 1.3.34. I have:
mod_fcgi 2.4.2
fcgi 2.4.0 (developer''s kit)
ruby-fcgi-0.8.6
I am comfortable up to the point of installing mod_fcgi, however, I
don''t understand how fcgi and ruby-fcgi will be used by mod_fcgi.
How does mod_fcgi connect to fcgi and ruby-fcgi. I assume that there
are
2006 Feb 27
0
Lighttpd,Apache, FastCGI, SCGI
I am going through the process of transferring my MVC skills from Java
and LAMP to RoR.
If someone wanted beocme master/expert at both FastCGI and SCGI what
would be the setup on windows XP?
My thinking is to use:
-XAMPP+SCGI on c drive
-WAMP+FastCGI on f drive
-lighttpd +SCGI or FastCGI
and bind different servers to different IPs as I can set IPs via
loopback interface to my networkcard.
2007 Feb 02
6
Mongrel and MemcacheSessionStore
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
I''ve been using Mongrel for quite some time now but I ran into an issue
that threw me back to lighttpd + fastcgi.
The application in question was running fine in the production
environment with SQLSessionStore and using a mongrel cluster behind a
load balancer. However, by switching to a MemcacheSessionStore (using
either
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 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember
2006 Mar 31
2
AAARGH! Need some fresh eyes to look at this pls
I just switched my rails app over to production mode, couldn''t get it
working, switched it back to development mode, and now nothing gets
outputted in the browser. I''m sure I''ve missed something in the configs.
Setup: Lighttpd/SCGI on WinXP, Rails 1.0.
Environment.rb:
ENV[''RAILS_ENV''] ||= ''development''
require
2006 Feb 28
6
scgi+lighttpd+windows - why wont it work?
two problems, pls help...I''m under big pressure at work to fix this!
I''m having trouble getting scgi and lighttpd running on windows - here''s
what I did:
On Win XP, I installed ruby, rubygems, and setup my rails app. All works
fine with webrick.
I then did: gem install cmdparse and gem install highline (as required
for the scgi_rails gem according to
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 May 26
0
SCGI + Lighttpd + SSL crashes - fine without SSL
[ERR][17968] Handling client: can''t convert nil into
String
Hi,
We decided to go with SCGI + Lighttpd for Rails at our
company and had no problems with the initial setup.
Everything ran fine and was fast. However, problems
occurred when we tried to rebuild Lighty with SSL
capabilities. With this build, even with SSL off in
the config file the application fails on the first
request.
2005 Aug 31
0
Anyone else lightttpd 1.4.1 or 1.4.2 problems?
Hi,
I''ve had several reports of people with problems using lighttpd 1.4.1 or 1.4.2 with my recently released SCGI Rails runner. I''ve been testing these versions of lighttpd and I see the following problems:
1. When run with -D option, a CTRL-C will often times give a segfault. This is linux for me, any others? It most often happens right after try an SCGI handled request.
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
I''ve run into a problem on one of my development machines. I''m trying to
run multiple rails apps on one dev machine that runs Windows. Problem is
that is seems that I can only run one scgi_service at a time, meaning
that only one of my apps will function at a time. Anyone know how I can
get around this, other than getting a *nix box (which I should have
soon, hopefully) ?
2006 Aug 14
0
SCGI on Apache 2 send_file Error
Hi,
My program send s PDF file to the browser using send_file. Everything
works fine in Webrick but when I switch to SCGI/Apache, the PDF file just
does not get streamed to the browser. I checked the error logs and this is
what I got from server.log
Mon Aug 14 12:51:24 2006] [error] [client 127.0.0.1] malformed header from
script. Bad header=%PDF-1.3: 26, referer:
2006 Mar 16
0
RewriteRule with scgi on Apache 2
Hi.
I am trying to run RubyOnRails with scgi on RedHat ES4.
I want to direct all access of "/" to index.html
I do have DirectoryIndex in httpd.conf.
But after I run RubyOnRails, the configuration stopped working.
I tried many things, but it doesn''t work.
Like:
RewriteRule ^$ index.html [QSA]
RewriteRule ^/$ /var/www/public/index.html [R]
If I access /index.html, everything
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using
apache and scgi. The application runs fine with webrick.
I have a site. Let''s call it "mysite.org". There is a variety of content on
that site.
I would like to add a rails application to that site. Let''s call the
application "myapp".
So we will have urls of the form
2006 May 22
1
configuring apache with scgi
i had been trying for weeks to get fcgi to play right with apache. i
finally got it working, but it''s far from stable. it was recommended to
me that i should try using SCGI and that it is much easier to set up.
being new to this stuff though, i''m not sure if there''s a lack of
documentation or if there are some things that are just assumed and not
known by a noob