similar to: Re: odd http header corruption

Displaying 20 results from an estimated 5000 matches similar to: "Re: odd http header corruption"

2005 Dec 29
0
strange output in http header
Hi there, I''m experiencing something strange in rails http headers. The response comes back as text/plain. The http header looks like this: HTTP/1.1 200 OK Date: Thu, 29 Dec 2005 15:18:18 GMT Server: Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-16 mod_ruby/1.2.4 Ruby/1.8.4(2005-10-29) #<#<Class: 0x40a7f818>:0x40a7f778>Content-Type: text/html Cache-Control: no-cache
2007 Jan 26
0
Problems with assert_select in integration tests
I''ve been battling with assert_select in my integration tests for several evenings now. I''m testing a multi-step form, and after submitting the first step, my assert_selects fail on the attempts to find the form on the next page. However if I print out the response object, it has the exact text of what I''m trying to match. Here is the complete integration test. The
2006 Jun 04
4
eRuby & Rails: Not Compatible
I''m new to Ruby, Rails, and this list. I''ve tried searching for an answer but it all seems to be over my head. I have all the books but again they seem to leave me on my own to figure out the stuff that really matters. Where is the best place to find out the details? Exactly what are these much celebrated "naming conventions"; i.e. where do I find an exhaustive
2006 Jul 21
3
Help me run rails on apache on Linux Fedora
Hello all, I am new on the rails list, having signed up today, but I am in the midst of some sticky business getting rails to go on my linux system. I am running Fedora Core 4, with Ruby 1.8.4 and Apache 2.0.54. I have setup the chapter 4 tutorial from the "agile book" and everything works absolutely perfectly using Webrick. I got rails 1.1.3 from ruby gems, and since have done an
2006 Jun 30
2
Eruby.import -> "uninitialized constant" error
I''m working on porting a dynamic website done in PHP over to mod_ruby. I have everything set up and working nicely (I can make a .rhtml page, put ruby code between <% %> and it works etc), but when I try to use "Eruby.import" as a sort of analog to PHP''s "require_once()", I run into trouble. 1) eruby is in my cgi-bin 2) here''s a sample of
2005 Dec 14
14
Install problems: R-o-R on Debian with mod_ruby
Hello, I have tried to setup Ruby-on-rails on my debian Linux machine and can not get it to run. Maybe someone can help. The following was installed already: - apache2 2.0.54 (and PHP5) - Postgresql 8.1 Now, having the ''unstable'' branch in my /etc/apt/sources.list I did: apt-get install libapache2-mod-ruby and Apache reports a "mod_ruby/1.2.4 Ruby/1.8.4"
2005 Aug 11
6
Need just a little help to start a rails app
I''m very new to Ruby and RoR, have been trying to get it working with no success. I''m on Ubuntu, installed Rails correctly, run scripts for model, controller and scaffold no problem, installed fcgi which now appear in apache header. When I point browser to http://localhost/tada/public/category I get: Not Found The requested URL /tada/public/category was not found on this server.
2006 Jan 03
2
Rails is slow on Apache !!!
Hi , I have rails running on my development machine. I have installed mod_ruby and set up the httpd.conf file to add handlers for .rb files. But the speed I get is still slow compared to webrick which is blazingly fast. I have 2 questions 1. How do I determine if mod_ruby is loaded and is being used to run my ruby scripts ? 2. Which of these fcgi /mod_ruby is faster ? Thanks vivek --------------
2005 Aug 03
0
Apache::RailsDispatcher for mod_ruby
Hi, I wrote Apache::RailsDispatcher to run Rails applications on mod_ruby. http://blog.shugo.net/articles/2005/08/03/running-rails-on-mod_ruby Apache::RailsDispatcher can run multiple applications in the same process. It works like this: * require loads libraries into the top level, and they are shared with all applications. * require_dependency loads libraries into an anonymous
2005 Apr 08
0
switch mod_ruby to fastcgi but still use eruby?
Hello there list- I have a question I hope someone can answer. I have a Debian server that currently has mod_ruby and eruby installed and working great for the last year or so. I also have one rails app working great on this box. My question is this: I want to switch to fastcgi so i can have more than one rails app, but there are already many scripts using eruby with no framework at all just
2006 Apr 04
1
integration tests - 1.1
I?m using the new 1.1 integration test facility? I?m trying to write a test that sees if a controller redirects to the correct place and preserves the query string. Here?s the code: class LoginRedirectTest < ActionController::IntegrationTest def test_non_admin_auth request_uri = "/datafeed/event/report?blah=blah" get(request_uri) follow_redirect!
2005 Oct 17
2
What to install/configure?
Hi railers, (railers? Rails-ers? How do you folks refer to yourselves?) I''m brand spankin'' new to most of this. I''m just learning ruby, just learning rails, just learning MySQL, and really just learning about Apache/CGI-type stuff. I have a long background with UNIX sysadmin and scripting (lots and lots of Perl and Bash), so the ruby is coming fast (and
2006 Apr 27
6
Why not mod_ruby?
Hi! I''ve understood that the mod_ruby apache module is not recommended for running Ruby on Rails applications. But I haven''t found any information as to why that is so. Please enlighten me. And could you point me to the (currently) prefered production environment. (That can handle both RoR and PHP sites). Thank you and best regards Hans-Eric Gr?nlund -- Posted via
2008 Sep 04
1
actionmailer sends from commandline but not from web
Hello all, I''m having trouble with this simple email class I made for postbacks. When I run this from the command line an email is sent, however when I access this .rb file through a browser nothing happens. ------------------------- #!/usr/bin/ruby require "rubygems" require "action_mailer" ActionMailer::Base.delivery_method = :smtp
2006 Jun 07
0
mod_ruby, mod_fcgid performance
anyone ever try to test between mod_ruby and mod_fcgid ? Artit S. -- Posted via http://www.ruby-forum.com/.
2006 Mar 15
3
[login_generator] implementing login limits
I have a simple Rails app that I am close to deploying on our intranet. The security model is "either you are an admin or your are not," with the method of implementing this model being done by the login_generator 1.1.0. There is one account set up, ''admin'', with three of us having the ability to logon with this username (i.e. we know the password). I am looking to
2008 May 02
6
looking for Mod_Ruby and easy Deployment Options? Sign Here
Hi, http://www.ruby-forum.com/topic/151662#669164 Hi, Please read more on the above link first, which is available in this section of Ruby on Rails. It will give you a clear understanding of Deployment scenario The Author of that thread and Me too, are frustrated with Lack of Shared Hosting and Tough Deployment Scenario, since nothing is shaping up. We do not want to get carried away with
2005 Dec 04
10
web server q -- playing nice w/ PHP
I have a webserver that''s happily running apache2 and PHP. I''d like to deploy a site that I wrote using RoR on that same server but read that there might be some conflicts with PHP and RoR trying to access the same MySQL database. How real are those conflicts? Could I mess up my running PHP site if I install mod_ruby and try to use Apache2? Would I be better off
2006 Aug 23
12
mod_ruby and rails
Can rails run under apache and mod_ruby? How? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2007 Oct 01
1
Getting started on win32 - without Rails.
Hi, I''m trying to get started developing my first ruby-powered web-app. I wont be using Rails for this, at least I don''t see any reason why I should. However, the "getting started" sections in the documentation only shows you how to start a Rails application. My mindset comes from PHP/JSP-type languages where you embed code into HTML. It seems the way to do this with