Displaying 20 results from an estimated 300 matches similar to: "Camping Apache2 & FCGI - Internal Use"
2007 Jul 31
2
Camping-list Digest, Vol 15, Issue 2
Eli,
This is interesting. I enabled DEBUG logging in Apache and tailed the
error.log. Lo and behold, you''re right, its a problem with one of my
require statements. Namely:
`gem_original_require'': no such file to load -- camping/fastcgi (LoadError)
Strange, it works fine when I do it in IRB, or do it from a ruby script at
the bash prompt. Apache runs as the same user that
2007 Nov 06
4
help on helper module inclusion/extension
I want to include helper methods included to my Camping App from by
requiring an external file but I can''t seem to include helpers from
another module.
module CampingHelpers
def self.included(base)
base::Helpers.send(:include, Helpers)
end
module Helpers
def show_test
p "test"
end
end
end
Camping.goes :CampingApp
...
module
2009 Aug 18
7
** Removing all instances of mysql on mac osx **
I am trying to switch from sqllite3 to mysql on Ruby on Rails.
Whenever I try to install the mysql gem, i get an error:
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I cd''d into my usr/local/bin directory and saw i have several
2013 Apr 09
2
Getting Started
So far I''m disappointed with what I see as red flags. I follow along what
seems like foolproof instructions. I install everything, rails new
/some/new/app cd to the directory and rails server and my worst fears
cryptic useless stack trace...so I copy the top line, search for stuff on
this sqllite3 adaptor to fix it, I type the gem install command it mentions
(gem install
2006 Nov 13
1
rails+apache2+mongrel_cluster
hey all,
I managed to configure a mongrel+apache2 but now I would like to do a
mongrel_cluster. For now I have a sites-available/myapp but when it
comes to mongrel_cluster I need to set up myapp.common,
myapp.proxy_cluster.conf and
myapp.proxy_frontend.conf and I couldn''t find a tutorial that explain
where should those file go. is it in conf.d or sites-available/ or
else?
thanx in
2006 Aug 03
1
rails server, what to use, fast cgi? apache2???
Hi,
I''m looking at the different operating environments for operating ruby
on rails.
As far as I am aware there is apache, webrick or fastCgi available
Does anyone have any links that review all these options and make
suggestions on which are the best to use?
Thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Jul 25
0
configure rails on apache2 without virtual host
Hi, all:
I try to configure rails application on apache2 on fedora box without
using virtual host.
I can''t make it run correctly after following some ''hints'' from the web.
Following is what I have done:
- Apache2 already run well;
- mod_fcgid installed by source;
- ruby fcgi installed by source;
- test ok using some sample test.fcgi
I guessed something wrong with
2006 Jun 02
0
Apache2, FCGI, 500 errors?
Context: shared server (DreamHost)
Does anybody know why these happen at random moments?
The http logs say:
...[error] [client 208.188.101.145] FastCGI: incomplete headers (0
bytes) received from server...
But the request before it works fine, and the request after it works
fine. I''m currently running three Rails apps on this server. I ping them
each every ten minutes. I get a 500
2006 Apr 04
1
sessions failing on debian apache2 fast_cgi
Hi All,
So I just pushed our rails app to our production server, but I''ve
encountered a number of problems.
Firstly the fast_cgi processes seem to be eating up a hell of a lot of
memory, at times max out our 1gig of RAM. I''ve switched back to cgi for
the moment, but independently of that sessions seem to be failing
intermitently.
The session will hold itself stable for a
2006 Mar 28
1
stylesheet_link_tag and apache2
On apache2, my rails application cannot access my stylesheet.
<%= stylesheet_link_tag ''my_railsblog_stylesheet'' %>
however, all is fine if I run my application on webrick!
why? Am I doing something wrong with my apache configuration:
# My Apache configuration
<VirtualHost 10.0.0.14:8091>
ServerName 10.0.0.14:8091
DocumentRoot /home/ac/railsblog/public/
2004 Sep 30
1
apache2 port
Hi all,
There has been another vulnerability [1] discovered in apache2. This
affects only version 2.0.51 (where it was introduced). The ports
tree is frozen, pending 5.3-R, so I assume that an update of the
apache2 port to 2.0.52 is not forthcoming any time soon.
The question is this -- since the apache2 in the ports tree is 2.0.50
plus patches, does the version in the ports tree have this
2006 Feb 04
0
Apache2 and fcgi external
If anyone here is using Apache and fcgi with an external fcgi server,
would you mind sharing your relevant setup details (httpd.conf, how you
start the external servers, anything else)? The more specific the better.
It would be greatly appreciated!!
2006 Jan 05
4
Apache2 and popen
I''m running Apache2 on windows and I have a controller that issues a popen.
class FileController < ApplicationController
def index
f = IO.popen("dir")
@files = f.readlines
end
end
This works using webbrick but on Apache produces...
----------
Errno::ENOENT in File#index
No such file or directory - dir
RAILS_ROOT: C:/www/teensymud/public/../config/..
2006 Jan 22
0
Ajax post to apache2/mod_ssl with client certificates ......
I''m using the text_field_with_auto_complete_helper in one of my forms.
It''s the only input in the form (along with submit button).
I''m deploying with certain parts of site restricted to use https with
client certificates.
Basically whats happening is that the autocomplete dropdown is getting
populated correctly - i select one and it puts it''s value in the
2006 Jan 31
0
Apache2+fcgid = "malformed header from script" when page starts with a space
I was getting some "application failed to start properly" pages, but
production.log was not showing anything.
Looking closer I''ve noticed that server_error.log (the apache log) was
giving lines like:
"malformed header from script. Bad header=<html>: dispatch.fcgi, referer:"
I was able to determine the cause, and that was that some pages were
starting with a space
2012 Sep 19
0
[PATCH] sysprep: remove apache2, audit and ntp in logfile operation
Add more entries to the dump ground of logfile patterns.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml
index 5e6ce7f..a2b1585 100644
--- a/sysprep/sysprep_operation_logfiles.ml
+++ b/sysprep/sysprep_operation_logfiles.ml
@@ -38,6 +38,10 @@ let globs = List.sort compare [
2005 Nov 25
0
Malformed Header with Apache2 + FCGI...
Once again with feeling...
Environment is Suse 9 + Apache2 + fcgi + oracle + rail 0.14 + ruby 1.8.
Everytime I restart apache on this box and hit the site I get the
following
error in the log:
FastCGI: comm with server /home/www/myapp/public/dispatch.fcgi aborted:
error
parsing headers: malformed header ''Config arg usernameBubba''.
Hittting refresh in the browser once more
2008 Oct 06
0
Apache2 + ISPConfig + Ruby on Rails
Hi
I''m trying to get ruby running on a Debian Linux server with ISPConfig
and Apache.
I have tried many tutorials like:
1. http://www.howtoforge.com/ruby_on_rails_apache2_fastcgi_debian_p6
2.
http://www.howtoforge.de/howto/verwendung-von-ruby-on-rails-mit-apache2-auf-debian-etch/
3.
2008 Apr 13
2
Help with Apache2 and stylesheet
I have problems with my <%= stylesheet_link_tag ''example'' %> with apache
. I have my css file under public/stylesheets/example.css, but it seems
apache can''t read it.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Nov 15
0
apache2 gentoo prob
hi steve,
seit apache 2.2.21 bekomme ich beim neustart des apache
folgendes:
# /etc/init.d/apache2 restart
* Stopping apache2 ...
[ ok ]
* Starting apache2 ...
* start-stop-daemon: /usr/sbin/apache2 is already running
wenn ich dann schau,