Displaying 20 results from an estimated 1000 matches similar to: "Problem with images on Apache and Lighttpd"
2007 Apr 18
3
advice on pseudo iteration needed (mailman recipe)
hello list,
what i want to archive is something like this:
include mailman
manage_mailing_list {"chatml":
password => "asdfasdfasdf",
subscribers => ["darks@fet.org",
"hand@dampf.de",
"i.am.cool@yoo.org"
]
}
which should create the
2006 Jul 19
4
Rails crashes my fcgid/fastcgi/scgi on apache2/lighttpd :<
Or maybe I crash it and don''t know why. Here is the setup:
I have an action that will crash my debian sarge development box
using fcgid, fastcgi and scgi running with Apache2, as well as
fastcgi running with lighttpd, every time. Here is the action from
the controller:
-------------------
def crashme
@orders = Order.find(:all, :order => "`id` ASC", :offset
2006 May 07
0
apache/lighttpd or apache with fcgid
I am trying to determine (from people''s experience here) if there is a
benefit to proxying apache -> lighttpd -> rails instead of just using apache
mod_fcgid -> rails. I am having some concerns of the stability of the fcgid
apache modules as well as the incredibly painful first connect issue with
apache mod_fcgid. Is the lighttpd fcgi more stable and mature than apache ?
Is
2006 Jul 29
0
RJS templates, Safari 1.3
Hello,
I''m having a problem getting RJS templates working with Safari 1.3
(latest version available to OS X 10.3 and earlier). I''m using Rails
1.1.4, running on either linux or OS X.. same results.
My RJS pages work fine using Safari 2.0, IE and Firefox.. just not
Safari 1.3.
The twist is that the following RJS sites work fine in Safari 1.3:
http://depot.iamjp.com/demo
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel
and apache and I looked into lighttpd and fastcgi and found both to be
too time consuming and not well enough documented for what I''m doing.
My question is, how do I set up apache and fcgid to actually work? I got
apache installed. I think I got fcgid installed (I read somewhere all I
have to do is move the
2007 May 17
3
Ubuntu rails server
Hello,
I try to install on my ubuntu ruby on rails server.
I have install ruby,rails,gem and all files but doesn''t work.
When i run the server with webrick works perfect but when i use apache
i get this message:
We''re sorry, but something went wrong.
We''ve been notified about this issue and we''ll take a look at it
shortly.
Here are my installed app versions:
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t
seem to get anywhere.
Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503:
Service Temporarily Unavailable''. There''s no error being logged anywhere,
afaik.
Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs
out,
2006 Jun 15
12
RoR on Apache2
Hello,
I''ve been going though the "4 Days on Rails" tutorial at
http://rails.homelinux.org/ test-driving ruby on rails using the WEBrick
server without problems. I''m trying to move the app to be seen by
apache2, and am having some troubles. I''ve looked through many guides
online which all say pretty much the same thing, which, I think, I am
doing.
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX.
BY THE FOLLOWING WAYl:
Install FastCGI
1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
2. gunzip fcgi-2.4.0.tar.gz
3. tar -xvf fcgi-2.4.0.tar
4. cd fcgi-2.4.0
5. ./configure
6. make
7. make install
8. cd ../
Install mod_fcgid
1. cd ~
2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz
3. gunzip
2006 Feb 12
1
fcgid -> errors
Hi,
I''m trying to get rails running on Debian stable with Apache 2,
mod_fcgid, Rails 1.0. The application works fine with webrick (*).
Let''s start here:
@eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi
Status: 500 Internal Server Error
Seems to result in the following in the log files:
[12/Feb/2006:12:18:40 :: 4105] starting
[12/Feb/2006:12:18:40 :: 4105] terminated
2006 May 26
0
SCGI + Lighttpd + SSL crashes - fine without SSL
[ERR][17968] Handling client: can''t convert nil into
String
Hi,
We decided to go with SCGI + Lighttpd for Rails at our
company and had no problems with the initial setup.
Everything ran fine and was fast. However, problems
occurred when we tried to rebuild Lighty with SSL
capabilities. With this build, even with SSL off in
the config file the application fails on the first
request.
2006 Aug 07
0
some questions about mongrel
i posted some of these questions on the rails list, but thought that i
should probably post them here instead.
zed has already answered one of my questions, but i did have a couple more.
1) mongrel is not writing the pid file, which i have specified in the
config file
---
:cwd: /srv/www/railsapps/rftrack
:includes:
- mongrel
:log_file: log/mongrel.log
:config_script:
:pid_file: log/mongrel.pid
2006 Jul 31
4
switching database dynamically based on incoming request
So I have this idea to reduce code replication in our rails setup.
Currently we have our rails app serving two distinct sites, soon to be
three. At the moment we check out a separate set of code for each site,
and configure it by adjusting the database setting and some config files
that pull in separate style sheets.
To remove this replication I''d like to have a single codebase, but
2011 Oct 20
2
Agile book apache2.conf: Forbidden You don't have permission to access / on this server.
Appreciate any help -
I am working through Agile web development (4.0) and am stuck on the
deployment using phusion passenger. I get this:
"Forbidden
You don''t have permission to access / on this server."
when I put depot.yourhost.com in the browser.
I have been through various web searches and for file permissions and
suggestions to change the <Files> container.
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
Hey people,
I''m working on this issue for more than 4 hours now and I have no idea
what''s wrong so I ask you kindly to have a look at my stuff.
When I try to access my website I get this error:
Application error
Rails application failed to start properly
error.log says:
[Wed Jul 23 17:51:22 2008] [error] Premature end of script headers:
dispatch.fcgi
I tried to run
2007 Jul 24
2
Nested params and redirect_to
I have a simple client search screen that posts the following params:
Parameters: {"search"=>"Search", "action"=>"list",
"client_search"=>{"first_name"=>"jane", last_name"=>"smith"},
"controller"=>"client"}
This works fine. However I want to redirect to the same
2012 Aug 28
4
ArgumentError in HomeController#index
Hey guys, I''m new to ruby/rails and trying to sort something...
I just created an app with composer,
http://railsapps.github.com/rails-composer/
I used the command:
rails new myapp -m
https://raw.github.com/RailsApps/rails-composer/master/composer.rb
I set up the rails server, and tried to load the app on localhost:3000
However, I end up with:
ArgumentError in HomeController#index
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 Jan 12
0
Apache proxy + lighttpd + rails
Hi list,
I''m having another problem deploying my Rails application. I set up
the servers and apache2 configuration using the excellent essay by
Duncan Davidson:
http://duncandavidson.com/essay/2006/01/railsonapache
However, he describes proxying using a subdomain. What if I want to
proxy the requests of www.domain.com/railsapp/<url> to
www.domain.com:8888/<url> and reverse
2007 Feb 07
3
Gem problem with ActiveRecord/Oracle (without rails)
I have written the small script below. I have the ruby-oci adapter
installed, the newest version of gems and the newest version of
ActiveRecord. When I run the code I''m getting the follow error following
my code. It seems to be an issue with gems as far as I can tell. Any
help?
Thanks,
Drew
Code:
require ''ruby_gems''
require ''active_record''