similar to: Lighttpd and fastcgi problems...

Displaying 20 results from an estimated 1000 matches similar to: "Lighttpd and fastcgi problems..."

2006 Mar 07
13
hosting multiple rails apps in one webroot?
It''s actually REALLY easy with lighttpd on linux. Two apps... Myserver.com/code/ => /apps/code/ Myserver.com/test/ +> /apps/test/ Each application needs this in the environment.rb /apps/code/config/environment.rb ActionController::AbstractRequest.relative_url_root = "/code" /apps/test/config/environment.rb ActionController::AbstractRequest.relative_url_root
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 Mar 22
9
render partial from withit mail template
Hi, I''m trying to include a partial in an email template but it throws me this: undefined method `controller_path'' for SupportMailer:Class Extracted source (around line #12): 11: 12: <%= render :partial => ''footer'' %> I guess email views are a little different from normal ones as they don''t seem to have a access to a proper controller (?)
2006 Apr 18
7
Connecting to multiple databases
Hi Everyone, I am trying to connect to multiple databases and followed along the Recipe in Chad Fowlers ''Rails Recipes'' book (which basically is about establishing the connection in a subclass of ActiveRecord::Base, and inheriting all classes in need of this connection from this class) Chad Fowler says: "You won''t be able to instantiate an External, of course,
2007 Jan 31
7
GET request works via curl, crashes from Java
[That subject line is of course a severe truncation!] I''ve got a REST request that works fine from curl but causes a mongrel error when executed from a Java program. This all worked with fine with rails 1.1.6 and webrick. I''m trying to update the app to rails 1.2.1 (I need working around_filters). I''m running in development mode with mongrel 1.01 running on macosx
2006 Mar 06
11
Capistrano setup fails
I can''t get past the setup step in Capistrano. I know the paths are correct and I''m using zsh locally (bash on remote), so the shell shouldn''t be a problem. It never asks for the SSH password, even. Any help you could give would be greatly appreciated. Thanks. Kenneth -- => the blog from beyond <= => www.eyeheartzombies.com <=
2007 Mar 24
3
Patch for superredcloth to enable textile table headers
SuperRedCloth v1.160 and svn rev 163 don''t work the textile commands that specify table headers instead of table data. Here''s a simple test: require ''superredcloth'' w = "|_. a|_. b|_. c|\n|1|2|3|" h = SuperRedCloth.new(w).to_html puts h <table> <tr> <td>_. a</td>
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the instructions from hivelogic. I think I''ve found a bug with EdgeRails, but I''m not sure how to submit it (and maybe I''m doing something wrong and someone can just point me in the right direction). Anyway I thought I''d report it just in case it is a bug. I''ve downloaded
2006 Mar 28
8
Large Database with lots of tables
Hello all, I am a rails nuby and I am evaluating using Rails for a new web application. The application will have a large number of tables (>70) that will basically mimic a large collection of paper forms that user would otherwise have to fill out. From what I have read on rails thus far it seems I would have to create a lot of models and form templates. Is this common and if so does
2007 May 08
2
Extending SuperRedCloth
Fellows of the cloth -- I''m writing code that subclasses RedCloth and emits styled text that is not HTML. For example, I''m going to be emitting RTF and other formats from Textile or Markdown. I''ve got it working quite well with plainclothed RedCloth, but I can''t seem to override any of the methods in SuperRedCloth. Here''s a sample:
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5 (with in-house-built framework)... so the jump is not terribly bad. I''m REALLY excited actually! My problem: I am overwhelmed with all the setup Loops I have to jump through to get RoR setup. I tried it on my current Apache 1.34 and decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 Apr 11
2
AR class names
hello all, quick question: how can I find out if a given string matches the name of an ActiveRecord derived class? thanks in advance alan
2007 Aug 04
2
Modifying the restful_authentication plugin / Classes creating instances of themselves.
Hi, I''m trying to modify the restful_authentication plugin so that it first authenticates against LDAP (Active Directory), if successful, it tries to find a matching user with the same username in the database, through a model ''user''. If it finds a user, it updates a last_login attribute; if it doesn''t find one, it creates one. The "remember me"
2006 May 26
1
cannonical open source rails apps?
What do you think are the best examples of open source rails apps? I keep a copy of typo trunk around just to look at the code to see how they''ve solved a problem. Do you know other apps that you consider particularly well written? Thanks -- - Stephen Bannasch Concord Consortium, http://www.concord.org
2006 May 26
2
Lighttpd Config
Hi this is a newbie question that should be easy enough for somebody to answer, I''m horrible at this web server configuration stuff. I''m running Rails on Fedora Core 5 with Lighttpd and MySql. I''ve created a rails application ''logapp''. I have an entry in /etc/hosts like... 127.0.0.1 logapp So when I point my browser to ''logapp''
2006 Mar 15
6
Mongrel Web Server 0.3.11 -- Edge Rails and Win32 Compliant
Hello Folks, This is the big release of Mongrel that''s been in the works for a while now (well, like a week). It is chock full of changes and features, but mostly it syncs up the Win32 side of things, and validates that Edge Rails works without problems. It also features a more extensive and useful example of the GemPlugins called mongrel_config. First the usual stuff for people
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:
2006 Mar 23
10
Domain Requirements in Routes (Edge Rails)
I saw on the bottom of the following page that you can route requests to different controllers based upon which subdomain is being requested. http://wiki.rubyonrails.com/rails/pages/Routes with_options :requirements=>{:subdomain=>''first.com''} do map.connect '''', :controller => "first/catalog" map.connect ''featured'',
2007 Nov 08
0
error on migration
Hi all, I''m just getting started with rspec. I''m using trunk rspec with edge rails. I get an error on migration though, here it is: rake db:migrate RAILS_ENV="test" --trace (in /home/pat/railsapp) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `failure_message'' for class
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: