Displaying 20 results from an estimated 1000 matches similar to: "Lighttpd setup with rails"
2006 Jun 26
2
running lighttpd -> Recognition failed for "/"
i have tried several tutorials on the web for getting my app to run
under lighttpd and fastcgi..
my setup is fedora core 5..
i used this to get everything installed:
http://www.digitalmediaminute.com/howto/fc4rails/
but i kept getting errors, as the machine i am installing it is a remote
machine, i couldn''t get it to work right..
i next tried this:
2006 May 26
2
Lighttpd Config
Hi this is a newbie question that should be easy enough for somebody to
answer, I''m horrible at this web server configuration stuff.
I''m running Rails on Fedora Core 5 with Lighttpd and MySql. I''ve created a
rails application ''logapp''. I have an entry in /etc/hosts like...
127.0.0.1 logapp
So when I point my browser to ''logapp''
2005 Nov 14
0
can't display controllers with lighttpd
Hello,
I can see http://192.168.1.5/public/index.html
i''ve created a controller as it''s mentionned in the rails bible
("agile web dev.." of M.Thomas)
If i try http://192.168.1.5/say i have an error "file not found"
I''ve really struggled a lot with this and already asked people at
#lighhtpd but i really can''t find the answer.
This is
2006 Aug 07
0
image uploads not working with lighttpd
Hi I thought it was time to test my app out on a real server. So i have
installed lighttpd following the instruction on the rails wiki.
everything seems to work fine except the file upload page. It doesn''t
throw any errors, it just doesn''t seem to write the image to disk.
Nothing is printed to the lighttpd error log when the file upload fails.
I thought it might be my code
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi,
I''m having difficulty getting ruby running via Lighttpd and fastcgi. My
lighttpd.conf reads:
server.port = 81
server.pid-file = "/tmp/test_lighttpd.pid"
server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi",
"mod_accesslog", "mod_simple_vhost" )
server.document-root = "/tmp/mis/public"
2006 Mar 29
1
Problems with lighty
I''ve been trying to get lighty configured to work with Rails and I''m
having quite a time of it.
I have all of the following installed on a FC4 system:
ruby-1.8.4
gems-0.8.11
rails-1.0
fcgi-2.4.0
ruby-fcgi-0.8.6
lighttpd-1.4.10
Before I tried setting up multiple apps, I just decided to try for a
single app setup. I have the following configuration:
### begin config ###
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts,
I have rail site that is running lighttpd and fcgi. I want the default
domain to serve the rails application, and I also want to have a
virtualhost (bugs.mysite) to resolve to a bugzilla instance.
Bugzilla is basically Perl application called through CGI.
I tried to find pointers on how to set fcgi to run both rails dispatcher
and other cgi scripts in a different virtualhost, and
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to
set up typo so that it also works (with a different url). I have 4 URLs
running -- let''s call them foo.com, bar.com, www.typo.com and
php.typo.com
I am starting lighttpd by going into the directory where my foo.com app
is and typing either ruby script/server or script/server -e production
-- either
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 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 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 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 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi.
This is the error I''m getting when I try to start Lighttpd :
============
[getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start
Starting Lighttpd
2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for:
/home/getcapture/application/public/dispatch.fcgi No such file or
directory
[getcapture@alpha getcapture]$
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 11
0
File upload works with webrick, but fails in lighttpd 1.4.11
I''ve been trying to add a basic file upload feature (just based on the
Rails Recipes example), but I find that it only works with the webrick
server and not my lighttpd 1.4.11 server.
I''m running Rails 1.1.2 on OSX. The upload silently fails with both
firefox and Safari, even with the useragent hack and with any size of
file/image. My lighttpd config is pretty standard as
2006 Feb 16
0
url.access-deny
Hello,
There are several proxy servers that for some reason try every night to
download some gif files that do not exist on my site.
They make about 70 requests on the same second and that''s not good to my
application
I was trying to use url.access-deny to deny the access to the unexisting gif
files, but for some reason it does not work (meaning that I still see the
request in the
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 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys,
I hope someone can help me out. I am trying to configure two
applications to run on lighttpd and each app will have its own domain.
My machine is running on Fedora. When I run my lighttpd with the
following conf file, I get no error but when I check out my app, it
dishes out a 404 error- the 404 being served isn''t the 404 inside the
railsapp/public folder.
Do hope someone
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box
running Rails 1.0.0 and Lighttpd 1.4.10
I followed the instructions in the wiki
(http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the
same error:
linux:/etc/lighttpd # lighttpd -f lighttpd.conf
2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t
been able to find an answer to. Do I need to have either
scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to
work? If yes, why? I have installed the scgi server and i can get the
service to run, i have also installed the following mod_fastcgi/2.4.2
mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,