similar to: File Upload Problems With Apache and Lighttpd But Not Webrick...

Displaying 20 results from an estimated 10000 matches similar to: "File Upload Problems With Apache and Lighttpd But Not Webrick..."

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 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 Jan 12
2
file_column issue: file upload fails without error
environment: Locomotive + Rails 1.0 Max Lighttpd 1.4.8, FastCGI 2.4.0 Ruby 1.8.2 File_column version: 0.3.1 Path to file_column: /vendor/plugins/file-column/ symptom: Uploading a file using file_column fails; no file is uploaded and the "filename" column remains blank. No error messages are produced - a new record is created with blank filename. code and log here:
2006 Jan 22
12
Problems with File_column
Hi, Rails - newbie here.. I''m setting up an app and am trying to use file_column to upload a picture with an item and I''m running into several problems. (Background: I''m running Locomotive Rails under OS X 10.4.4, and using Safari) I followed the directions to add the necessary items, then found out that I had to add the item to make the form tag be a multipart
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 Jan 28
3
App running fine on Webrick, ActiveRecord::ConnectionNotEstablished in lighttpd
My app runs fine on webrick, but I get a ActiveRecord::ConnectionNotEstablished when I try to run it on lighttpd. Here''s the app''s lighttpd config: $HTTP["host"] =~ "(www\.)?mysite\.com" { server.document-root = "/home/pergesuteore/public/" server.error-handler-404 = "/dispatch.fcgi" fastcgi.server = ( ".fcgi" => (
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work, followed the instructions at http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I go into my rails app and type "./script/server" I get the following errors: baggio:~/work/teore pergesu$ ./script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Jan 05
1
unicode hacks - fixes for webrick and Safari
Hello! First, thank you Julian for the useful plugin ''unicode_hacks'' < http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/>. I have found some problems running my app in development on Webrick and looking at it with Safari (MacOS X 10.4.3, Safari 2.0.2). Some files are sent with different sizes (e.g. default css example, or controls.js ), and it
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd: BEGIN ERROR: $ 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 server (see config/lighttpd.conf for options) 2006-04-24 03:29:39: (mod_fastcgi.c.1022)
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 = (
2006 Mar 06
3
File uploads giving "page not found" on IE
I am having a really wierd problem in IE. I have a simple file upload form with two selects and a textarea. This is a medical transcription application - very simply an administrator can upload a file and assign it to both a doctor and a transcriptionist at the same time and optionally provide a note to the transcriptionist. If I remove the MT selector, it always works. If it''s on
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
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 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 Jun 07
9
lighttpd/fastcgi - where does stdout go?
i''m using lighty and fastcgi in my rails production environment. standard output appears to get swallowed up somewhere... it''s clearly not coming out of the development log. don''t know where to look for it. is this a byproduct of running in production mode? is there a way to turn this off? thanks, paul
2006 Feb 22
5
Rails on lighttpd locks up, freezes, unresponsive every day
I have RoR running on lighttpd on RedHat Linux and every morning that I check the web page it just keeps waiting to refresh it forever, Firefox and IE never times out on any of the pages I try. Has anyone seen that happening to their RoR? I also removed lighttpd completely and just ran webrick but there was no difference. The linux box has a pretty old kernel 2.4.21-4, could that be the
2006 Jul 29
6
why is webrick running in development mode?
Hi, I changed my environmnet.rb to say PRODUCTION mode, however when I start up a server "ruby scripts/server" a) it runs in development mode (via the logs) - any ideas why? b) why does webbrick run - I thought by default now it was supposed to be lightty Tks -- Posted via http://www.ruby-forum.com/.
2006 Jan 04
10
Is Webrick good enough?
Hi all, On the rails list I''ve seen that it''s hard to integrate Rails with Apache (especially apache2), that it''s hard to change the default port (3000), and that Apache runs Rails stuff slowly. Is it reasonable to run Rails stuff on Webrick while simultaneously running other stuff on Apache? How does one simultaneously run two rails applications on Webrick, when
2006 Feb 01
5
lighttpd not starting on os X (intel)
Hi all, I''m followed the instructions written here to prepare my new iMac for Ruby / Rails developement: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I run script/server I get the following output: harm-de-laats-computer:~/rails/test harmdelaat$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) =>
2005 Nov 06
11
Ideal Rails / Apache config?
Hi All, Just about to set up RoR on our server and was wondering what the ideal setup for RoR is these days? Apache 1? Apache 2? fCgi? Any guidance would be helpful! Thanks, -Adam