Displaying 20 results from an estimated 70000 matches similar to: "RoR works with lighttpd, not Apache"
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody
I am trying to get RoR to work with lighttpd.
Nearly there, but I am stuck with a strange phenomenon.
If I configure lighttpd to serve pages on say port 2000, I can get at my
testapp fine and see the "Welcome aboard" page.
However, if I configure lighttpd to use port 80, I get a download prompt
from my browser.
If I access my URI like
2006 Apr 18
2
RoR, lighttpd, and localhost
This is really more of a web server configuration question, but it seemed
like a problem in which RoR''ers would be well versed.
I am running a RoR app on lighttpd behind an Apache proxy (well, reverse
proxy is perhaps more accurate).
Since the requests are being proxied to Lighttpd from the same server, my
Rails apps think that the requests are coming from localhost. As such,
anytime
2006 Jul 21
1
Lighttpd for rails app subdomain apache for the rest
I want to host a rails app at mydomain.com/railsapp. For technical
reasons I have to leave mydomain.com on apache. This means that I need
to tell apache to proxy only requests for mydomain.com/railsapp to
lighttpd. I have deployed in a situation like this before around a year
and a half ago but it was a real pain. Lighttpd and rails have matured
a lot in the year and a half since I did
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 May 07
0
apache/lighttpd or apache with fcgid
I am trying to determine (from people''s experience here) if there is a
benefit to proxying apache -> lighttpd -> rails instead of just using apache
mod_fcgid -> rails. I am having some concerns of the stability of the fcgid
apache modules as well as the incredibly painful first connect issue with
apache mod_fcgid. Is the lighttpd fcgi more stable and mature than apache ?
Is
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 Feb 17
7
FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)
Hi, everyone,
I''m currently running a Rails 1.0 project using lighttpd-1.4.9 behind
Apache 2 on RHEL 3. My fcgi process (I''m only using one right now)
always hangs after some time, which is something I haven''t experienced
before (e.g., I''ve run this same app. on a TextDrive account and it
works fine there).
So ... any ideas on what could be causing this?
2006 Apr 28
1
Apache proxy to lighttpd leads to Rails routing error
Hello,
I have an issue I am having trouble figuring out. I have a Rails app
running through lighttpd which is accessed through an Apache proxy.
My apache config:
<location /rails/>
ProxyPass http://localhost:81/
ProxyPassReverse http://localhost:81/
</location>
RewriteEngine On
RewriteRule ^/rails/(.*) http://localhost:81/$1 [P]
So when apache sees /rails/ it
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 Aug 09
0
IIS proxying to lighttpd/apache to mongrel with SSL
This might not be a mongrel question so much as an IIS question, and
if so, my apologies.
I''m needing to switch a (ASP.NET) web application that''s running
behind a firewall appliance on IIS on port 8443 under SSL to a rails
web application -- a mongrel instance (and perhaps later apache or
lighttpd with new mod_core_prox in front of mongrel) on a different
server.
I remember
2006 Sep 08
1
I am running RHEL 4.4 and CentOS 4.4, I dont run Apache only Lighttpd. How do I compile php from php.srpm without apache support?
I am running RHEL 4.4 and CentOS 4.4, I dont run Apache only Lighttpd.
How do I compile php from php.srpm without apache support?
Well I have been compiling php from srpm like this forever
rpmbuild -ba --target=i686 php.spec
But today it somehow bugged me, I dont use apache on this server. But
its asking me to install httpd and httpd-devel to compile.
Isnt there a syntax to skip the 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
2006 Jan 12
3
File Upload Problems With Apache and Lighttpd But Not Webrick...
I am having trouble uploading files through a form when using Apache
(production) or Lighttpd (development). The odd thing is that when I force
script/server to load Webrick, the upload works just fine on the same
code-base.
When it fails, the upload just sits there forever. Some browsers eventually
return an error code, others spin for a long time... Anyway, it never
recovers.
The file is a
2006 Jun 02
3
One Lighttpd or many?
I''m trying to get Lighttpd started, and understand how it works (not
quite there yet with Ror). Some questions:
1) Can I run Lighttpd as a main server instead of Apache2?
2) When hosting different RoR projetcs, will there be one server for
each? Or is it one server running all?
2) Can it do everything Apache can? Like PHP, webdav, etc?
--
Posted via http://www.ruby-forum.com/.
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.
2006 Jul 10
0
Deploying Rails with Pound in Front of Mongrel, Lighttpd, and Apache
Fyi, here''s a write-up I just posted on deploying Rails with Mongrel(s)
behind Pound:
http://blog.tupleshop.com/articles/2006/07/08/deploying-rails-with-
pound-in-front-of-mongrel-lighttpd-and-apache
Rob
2006 Jun 20
0
So...is lighttpd/fcgi on its way out, Apache/mongrel the up-and-comer?
I''ve been using a homegrown system to do billing for my site. Right
now I want to add a couple things, but I''m not sure I want to actually
have to work on this billing system. Seems like it''d make a lot more
sense to just use an existing package like ModernBill [1].
I''ve never used PHP on lighttpd, never needed to. Not sure if MB can
run on it, or how well
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 = (
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 Mar 09
13
Apache or lighttp for Ror/2003server?
160,000 pages
99% static, only minor stuff done in rail (search, contact us, etc.)
windows server 2003
Ror 1.0
Currently 30K Hits /day on IIS.
Apache or Lighttp? Fast_CGI seems kinda slow with a 2003/Apache
configuration.
The only thing I''ll get rid of for sure is IIS.
-Cedric
--
Posted via http://www.ruby-forum.com/.