similar to: Virtual hosting within one application (with lighttpd)

Displaying 20 results from an estimated 20000 matches similar to: "Virtual hosting within one application (with lighttpd)"

2006 May 21
3
First try with lighttpd
Hi, I have a Rails application sitting on my computer that works just fine with webrick. I would like to try to serve it locally with lighttpd I followed the instructions on the hivelogic site for installing lighttpd http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger Then I looked on page 457 in the Agile Rails book for instructions about configuring the rails app for
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 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 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
2005 Nov 30
1
[lighttpd] proxy.server and url.rewrite-once
i have a very simple lighttpd config that just forwards with mod_proxy some requests to different hosts lixe this: server.modules = ( "mod_proxy", "mod_rewrite" ) server.port = 80 server.pid-file = "/var/run/lighttpd.pid" server.errorlog = "/var/log/lighttpd-err.log" server.document-root = "/var/www/htdocs/"
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 Dec 11
0
Lighttpd setup with rails
Hi Everyone- I am trying to setup lighttpd on a CentOS 4.2 box after having problems with getting it to work on Apache. I am hoping some fresh eyes can see any errors below. The log files are useless as they just say server stop and server start. When I create an app in rails I can see the rails welcome screen, but everything else comes up 404. Here is my lighttpd config pointing to
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 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 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
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 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 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 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:
2005 Dec 08
3
lighttpd proxy w/ apache2
I''ve tried a bunch of things trying to get ruby/apache2 and php working together. I looked over my earlier post and followed the instructions on ezra''s website to install lighttpd on debian. I''ve gotten really far but I think there is one bit missing: 1. I got apache2 and php working together 2. I got lighttpd working on port 3000 and my rails app launches ok
2006 Nov 04
2
[ Rails ] Multiple rails apps on 1 host
Team, I''m trying to figure out how to run 2 rails apps on one host. I ran an experiment: cd /tmp/ rails app1 rails app2 cd app1 script/server rails put a copy of lighttpd.conf in /tmp/app1/config/ and then started lighttpd http://localhost:3000 gave me the splash page. I shutdown the server I added something to /tmp/app1/config/lighttpd.conf server.modules = (
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 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX. Everything builds fine (and webrick runs just fine) but lighttpd barfs: edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown
2006 May 01
0
url.rewrite on lighttpd
I allow the users of my application to upload images on the server, images that are supposed to be used for some custom web pages. However some evil ones decided that this feature gives them some storage space that they could use for outside pages. I would like to configure lighttpd.conf so that when images from certain directories are accessed with a different referrer, I would pass a banner of
2008 Oct 11
0
How to Redirect Rails application from HTTP to HTTPS using lighttpd for WinXP
Hi all, I want to redirect from http to https using lighttpd for winxp, Please explain me. please help me out. Thanks and Regards, Shripad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to