Displaying 20 results from an estimated 5000 matches similar to: "Apache proxy to lighttpd leads to Rails routing 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 May 25
0
(OT?) Rails App in Subfolder = Routing Error Recognition Failed
All,
I realize this was probably off-topic (not really mongrel-centric) -- my
apologies.
I "solved" the problem by appending to my Environment.rb:
ActionController::AbstractRequest.relative_url_root = "/RailsAppSample"
How come that doesn''t serve up the default "public/index.html" ? It caused a
Routing Error for "", so I added a temporary
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys,
I''m here again with a problem. I have a rails app called brewed. It''s
located /home/user/brewed. My lighttpd.conf is located at
/home/user/lighty. When I execute lighty on port 80 with:
/usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems
to work fine.
If I type www.mysite.com/main/index on my browser, the page comes out
well. I have my files
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone,
I?ve been working with Ruby on Rails for about 2 months now and have
really enjoyed the ease of use of it. I?m only been doing development
on it so I?ve been using WeBrick. Recently, I have built a server
running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and
Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I
changed the paths in the
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 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 Mar 24
3
1.1RC and Lighttpd
I started what I thought was going to be a 30 minute project on the
train this morning to write a little timetracker for myself.
Amongst other things (don''t have a model called Task as it conflicts
with Rake at the moment, don''t have a model called Action as it
disappears in the hash when you submit a form :-), I had to use Webrick
as Lighty complained about an unknown
2006 Aug 07
0
lighttpd path error
Hello list,
I''ve been developing a rails app using webrick as my server. I''m trying
to change my server over to lighttpd as I am now attempting to deploy on
a host that uses lighttpd. I had an older version of lighttpd installed
and could never get it running correctly with my app. Preparing for
deployment I decided to get lighty working and after poking around a bit
I
2007 Dec 18
3
Mongrel + Lighttpd
Hi guys,
I''ve been chasing a problem in my web-stack: Lighttpd -> Mongrel ->
Rails, and found a problem with the interaction of Lighttpd and Mongrel.
If a request takes more than 5 seconds, Lighty will retry it - and
then the requests / responses get mixed up in Lighty and it returns a
bad response to the client. Not good.
I''m convinced that the problem is
2006 Feb 10
3
Lighttpd segfaults on first access
I just got a new Debian Sarge server and followed the brainspl.at
"Debian Lighttpd Rails Stack" tutorial.
The only place I deviated was the version of Lighty. The page uses
1.4.7 and I spotted that 1.4.10 was available. I installed that and
couldn''t get anywhere. Lighty died on first access from the test
rails app, and even from a ultra basic static config. No log,
2003 Dec 16
3
Tinc on windows XP Problem?
Hello All , I installed tinc for windows. But it doesn't seem to work.
I want to connect two computers(for testing purposes)
computer1(webdev) and computer2(gis) I have installed the tap-win32 on both
of them.
Both computers are windows XP. Also I don't have a router.
Computer1:webdev
-----------------------
C:\Program Files\tinc\vpn1\tinc.conf
Name = webdev
ConnectTo = office
2006 Feb 12
0
Repost: brainspl.at tutorial and lighttpd .10 crashes
I just got a new Debian Sarge server and followed the brainspl.at
"Debian Lighttpd Rails Stack" tutorial.
The only place I deviated was the version of Lighty. The page uses
1.4.7 and I spotted that 1.4.10 was available. I installed that and
couldn''t get anywhere. Lighty died on first access from the test
rails app, and even from a ultra basic static config. No log, no
2009 Sep 04
2
perplexing permissions issue
Hello,
I have a perplexing permissions problem that i thought i had, but
it's resurfaced.
I'm running CentOS 5.3 and it runs an apache web server. The
permissions on the web data directory in this case /var/www/secure/data are
set to 4775 owner of apache group of webdev. All users that should be
allowed to place content are in the webdev group. I was under the impression
that any file
2006 Feb 25
0
neverending i2/lighttpd problems
So after recompiling ruby a few times to get ssl and readline working,
fighting with lighty for awhile, and learning a bit more about linux
in the process, I think I''m really close to getting i2 up and running.
However, when I try to access my wiki, I get either a blank page or
an error 500 and the stack trace below gets sent to the log. If I
can''t get this working soon
2006 Jul 31
0
Can''t get into production mode!
Hi all,
I''m deploying my first rails app. I''m using lighty and fcgi, and cannot
get the app to go into production mode. I deploy via Capistrano.
When I dump ENV, RAILS_ENV is still ''development''. Is something
overriding the lighty config?
Here is the lighty config:
var.appname = "mcalogin"
server.port = 1411
server.modules =
2006 Mar 07
13
hosting multiple rails apps in one webroot?
It''s actually REALLY easy with lighttpd on linux.
Two apps...
Myserver.com/code/ => /apps/code/
Myserver.com/test/ +> /apps/test/
Each application needs this in the environment.rb
/apps/code/config/environment.rb
ActionController::AbstractRequest.relative_url_root = "/code"
/apps/test/config/environment.rb
ActionController::AbstractRequest.relative_url_root
2005 Dec 28
3
problems with lighty on linux
I''m trying to get our app running on Lighty... I followed Ezra''s
instructions: http://brainspl.at/pages/rails_stack... Currently the app
runs fine with webrick, but with lighty I get 404 errors on everything.
I found if I don''t edit the lighttpd.conf file to use absolute paths, it
works fine. But this is not good for production because I need to run it
with the -d
2006 Jul 24
0
apache proxy lighttpd
Hi, I''m trying to setup up a rails deploy environment. I get an error
when start lighty in production.log
undefined method `downcase'' for nil:NilClass
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/request.rb:17:in
`method''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:902:in
`log_processing''
2006 Apr 14
3
Lighttpd config...
Hi!
Can somebody explain how to confiure Lighty??
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2005 Nov 19
3
file uploads with lighttpd-1.4.7 broken??
Hi guys,
Im doing fileuploads and it works great with webrick...I just installed
lighttpd 1.4.7 and ran ruby script/server suecessfully picking up my
lighty and fcgi install...
however...when I try to upload a file the proces either stalls (no
evidence of the hit in any logs) or returns 503....
any suggestions??
thanks in advance...
Mikkel
--
Posted via http://www.ruby-forum.com/.