similar to: rails/lighttpd on os x

Displaying 20 results from an estimated 20000 matches similar to: "rails/lighttpd on os x"

2007 Nov 23
4
help! problem with mongrel, request.remote_ip and lighttpd
I have an existing rails application on lighttpd and I am trrying to upgrade to mongrel for the enhanced scalability it offers. I am running mongrel 1.1.1, rails 1.2.5, lighttpd 1.4.13 and ruby 1.8.5 Everything is working great except request.remote_ip returns 127.0.0.1 or 192.168.0.102 (the internal network address of the server running lighty). I''ve seen some older posts about
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"
2008 Feb 29
1
Lighttpd & VB.Net HTTPWEBREQUEST
Hi guys/gals, I don''t know if anyone can answer this, and this post may belong in a VB.Net forum, but my question is more for lighttpd. I have a .net app that sends a HTTPWEBREQUEST to the webserver. Then my def saves this hit to a mysql db. In webrick, this works fine, but not in lighttpd. I was wondering if anyone has ever done this or does anyone know if lighttpd does not accept
2006 Jan 23
8
OT: Problem rotating logs with lighttpd
Hi everybody, this is a little OT. We are using Lighttpd as a webserver for Rails. Our problem is that when we rotate the logs everyday at the end of the process, lighttpd stops writing the logs. To solve this we have to restart the server manually each time. We use a common Debian, lighttpd-1.4.7, Rails 1.0 and fcgi-2.4.0. I have tracked the lighttpd bugs, and I haven''t found
2008 Jul 01
4
why yum cannot find lighttpd?
Hi, I tried to install lighttpd in CentOS 5.2, but yum list lighttpd returned an error of "no matching packages to list". Should it be installed from source tarball? Thank you. Kind Regards, Jim
2007 Jan 17
11
scope issue after upgrade
I just upgraded to 0.22.0 from 0.18.4 and I''m running into what I think are problems due to changes in scope rules. In my site.pp manifest, I have the following: import "classes/*" node nfsserver { include nfsserver } node webserver { include webserver } class cluster1_sites { website { "example.com": ...; "example2.com": ...; } } node
2006 Sep 01
4
evaluating classes within component
I''d like to create a component that takes different actions based on the classes associated with the node using the component. Is this possible? Here''s what I''m thinking. node www01 { include webserver website { "site1.com": aliases => ["www.site1.com", "test.site1.com"], username => www0001 } } node www02 { include
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 Jun 07
3
Check version of RubyGems, FastCGI, PCRE / uninstall
I followed hivelogic article on how to install Ror and Lighttpd on Mac OS. http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger But I''m not sure I got Lighttpd in the right place. If I do "which lighttpd" and "lighttpd -v" I get answers from the terminal: /usr/local/sbin/lighttpd lighttpd-1.4.11 - a light and fast webserver But I
2006 Jul 05
5
ok, lightTPD is installed... how do i use it.
i used the hivelogic article to install ruby on rails to my mac: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger everything works great using the script/server command, but isn''t that still using WEBrick? how do i server my apps with lightTPD? i tried following the instructions given here: http://duncandavidson.com/essay/2005/12/railsonlighty but have had no
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But i don''t understand what part Lighttpd (or Apache) has in the setup. I know that you can use Mongrel on its own. What does Lighttpd improve on? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2005 Nov 28
5
Rails on lighttpd through proxy
Hi All, We have a PHP site running on apache 1.3 and Im trying to graft typo onto it at /blog/. Ive got the running using the symlink method but apache/fastcgi are clunky to say the least so I want to move typo over to lighttpd. Ive got this all working and Im now trying to get a proxy working through from apache. Im using this: RewriteRule ^/blog/?(.*)$ http://blog.myorg.net:8080/$1 [P]
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) =>
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)
2007 Nov 23
3
Mongrel+Apache 2.2 Proxy
Hi, I''m running a rails (mongrel) based web service behind an apache proxy, on windows 2003. Sometimes I see a POST in the apache log that returned a 404 but nothing about it in the rails log. It doesn''t happen every time, 9 out of 10 times it works just fine. The post (is actually a put) comes from a .NET application uploading a small xml-file. The log message in apache
2006 Apr 03
3
Lost Connection to MySql during query.
hi all, I am getting an error when trying to connect to a mysql server on my ''production'' linux server. The rails app works fine when connecting to the ''development'' mysql on my windows development server. I have looked at the following wiki: http://wiki.rubyonrails.com/rails/pages/Mysql+Connection+Problems/ and I installed the mysql gem, however this does
2007 Jan 18
2
multiple requires?
Should multiple requires still work? require => Package[[lighttpd, openssl]] It fails in 0.22.0 with err: Could not apply complete configuration: Could not retrieve dependency ''Package[lighttpdopenssl]'' at /etc/puppet/manifests/classes/webserver.pp:84 Christian
2010 Jan 03
3
Tiny webserver to run as root
Hi all Does anyone have a suggestion for some software, a tiny webserver that is able to run as root and execute CGI scripts? It should be smaller than apache and preferably even smaller than lighttpd. It doesn't need a whole lot of features, it only needs to be able to execute CGI scripts. I have tried a few: nanoweb (which is written in php as well) but has some problems with CGI scripts
2006 Mar 05
5
lighttpd / WEBrick forum?
Is there a mail list or USENET group for lighttpd WEBrick questions. I posted a simple CGI question to this list last week and got one responce and that responce told me I was on the wrong list with Ruby based from / CGI questions. The code I posted looks correct but does not work giving a Routing Error. This makes me think something is wrong with the set up of WEBrick. I am only doing
2006 Sep 07
5
refresh on change of link target
I''m trying to trigger a service to be refreshed when the target of a symlink changes. Here''s how it''s configured: file { "/etc/lighttpd/sites-enabled/$domain.conf": notify => service[lighttpd], ensure => "/nfs/www/$domain/etc/lighttpd.conf", links => follow, } This causes the service to be refreshed everytime puppet updates, even if the