similar to: url.rewrite on lighttpd

Displaying 20 results from an estimated 10000 matches similar to: "url.rewrite on lighttpd"

2005 Nov 30
1
[lighttpd] proxy.server and url.rewrite-once
i have a very simple lighttpd config that just forwards with mod_proxy some requests to different hosts lixe this: server.modules = ( "mod_proxy", "mod_rewrite" ) server.port = 80 server.pid-file = "/var/run/lighttpd.pid" server.errorlog = "/var/log/lighttpd-err.log" server.document-root = "/var/www/htdocs/"
2006 Mar 25
3
Rails and Lighttpd, hangs?
I know this is kind of a generic question. But, when hitting my lighttpd/rails site on some of the first hits, the site hangs. I think it has something with the lighttpd configuration, possibly something I am missing with rails or ruby? Any ideas or how to track this down. fastcgi.server = ( ".fcgi" => ( "0.0.0.0" => ( "socket" =>
2006 Jan 31
3
Random 502 Bad Gateway
I have moved my project to a dedicated server and I am getting a very annoying behaviour. I am able to view the site just fine when using the ip. The name is properly resolved on my computer, however I am getting "Bad Gateway The proxy server received an invalid response from an upstream server." This is simply random. The site works for several minutes, then i get this message for some
2006 Feb 02
4
Random (connections.c.1330) error-handler not found: /dispatch.fcgi
Hello, Again another random occurance of a problem. lighttpd.error.log contains lines like: 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:02:00: (connections.c.1330) error-handler not found: /dispatch.fcgi 2006-02-02 05:35:08: (connections.c.1330) error-handler not
2006 Feb 25
10
Performance issue.. after a while
Hello, I have an project running on a dedicated server: Debian, P4 CPU 3.00GHz, 1GB RAM, ruby 1.8.4 (2005-12-24) [x86_64-linux], rails (1.0.0), activerecord (1.13.2) lighttpd-1.4.10 + fastcgi + mysql 5.0 7 dispatchers. The project is a game, so a typical user would visit 100+ pages. When the server is busiest, it gets 35-40k requests/hour. For some misterious reason after a number of hours the
2006 Feb 26
1
rails/lighttpd on os x
I''m trying to set up my Rails development app for public access on OS X. I''m using the bundled lighttpd server. The first thing i tried to do is simply start lighttpd on port 80. When i set "server.port = 80" in lighttpd.conf i get the following error message after running ruby script/server: (network.c.265) can''t bind to port 80 Permission denied i
2006 Jul 13
0
Virtual hosting within one application (with lighttpd)
Hi, I''ve found plenty of descriptions of hosting multiple applications on different virtual hosts using lighttpd and apache however, I''d like to have a single Rails application but route different controllers to the document root depending upon the requested hostname. (And in case you''re wondering why anyone would want to do such a thing, it''s because I would
2005 Nov 16
0
deployment, rewriting, lighttpd, subdirs
Desired scenario... http://a.host/ is an existing website. http://b.host:port/ is running a rails application that we want to appear at http://a.host/application a.host and b.host are different physical machines, but on the same local network. a.host is running apache, and can proxy requests for /application to b.host:port b.host is running lighttpd, and needs to rewrite /application
2006 Feb 26
3
Fast inserts?
There are cases when I have to create the same record 100 times. Is there a faster way than: 100.times{Obj.create(@params[:obj])} ? Bogdan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060226/75d1e099/attachment.html
2005 Sep 10
4
has_too_many
Assuming you have Person that has_many :messages, what will it happen if it has 10000 messages? Will rails attempt to initialize @person.messages with 10000 rows from database? If that is the case, is combining finder_sql and counter_sql the common practice to avoid this? Bogdan _______________________________________________ Rails mailing list
2006 Jan 22
0
problem setting up lighttpd and rails app.
I am trying to set-up lighttpd and rails to work with fastcgi. Here is what I am currently using for the virtual host definition. I have gotten this from various websites. Sorry about the formatting I can''t seem to control it with Thunderbird. var.wholesale = "wholesale" $HTTP["host"] =~ "^wholesale" { server.document-root = "/var/lighttpd/"
2006 Jan 08
4
Finding memory leaks?
Where are the memory leaks and what is the way to fix them? I''m working on a game that was fairly stable in terms the memory consumption and it was staying at around 200MB. Recently it has gone crazy, and unless I restart it, it goes straight up to 350-400+MB after 30 minutes-1hour. I am using Apache 1.3+fcgi in production mode. Also the dispatch.fcgi processes take a really high toll
2017 Sep 22
0
selinux prevents lighttpd from printing
On 09/22/2017 06:58 AM, hw wrote: > > PS: Now I found this: > > > type=PROCTITLE msg=audit(09/22/2017 12:08:29.911:1023) : > proctitle=/usr/lib/sendmail -t -oi -oem -fwawi-genimp > type=SYSCALL msg=audit(09/22/2017 12:08:29.911:1023) : arch=x86_64 > syscall=setgroups success=no exit=EPERM(Operation not permitted) > a0=0x1 a1=0x7ffc1df3b0d0 a2=0x0 a3=0x7f5d77c3a300
2006 Mar 15
0
FCGI hanging w/ LightTPD in about 24-48 hours
I started an earlier thread about this ... Someone suggested a different version of LightTPD, since the version I was using had some known issues with FCGI. Well, we''ve upgraded to LightTPD 1.4.11 and the problem is still happening. We have Rails running under fcgi (one process) under LightTPD. This, in turn, is proxied to by Apache. This is on a test IP, so only a few people should
2006 May 07
0
How does lighttpd/fcgi/rails work?
I''m trying to understand how the lighttpd/fcgi/rails process works. It seems like there are two ways to start lighttpd for: 1. script/server (only starts lighttpd if you have lighttpd in your $PATH, otherwise starts webrick) 2. lighttpd -f /path/to/lighttpd.conf It seems like #1 is for development and #2 is for production, but I don''t actually know what the difference
2006 Feb 01
2
Weird problem with script/server, lighttpd, and FreeBSD
I installed lighttpd from ports on my FreeBSD-5 system last night, wanting to play with that instead of WEBrick for development work. I installed it, and ran script/server, and got this: [minter@carlton discostu]$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to
2017 Sep 22
0
selinux prevents lighttpd from printing
Johnny Hughes wrote: > On 09/20/2017 07:19 AM, hw wrote: >> hw wrote: >>> >>> Hi, >>> >>> how do I allow CGI programs to print (using 'lpr -P some-printer >>> some-file.pdf') when >>> lighttpd is being used for a web server? >>> >>> When selinux is permissive, the printer prints; when it?s enforcing,
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys, I''m here again with a problem. I have a rails app called brewed. It''s located /home/user/brewed. My lighttpd.conf is located at /home/user/lighty. When I execute lighty on port 80 with: /usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems to work fine. If I type www.mysite.com/main/index on my browser, the page comes out well. I have my files
2006 Aug 07
0
image uploads not working with lighttpd
Hi I thought it was time to test my app out on a real server. So i have installed lighttpd following the instruction on the rails wiki. everything seems to work fine except the file upload page. It doesn''t throw any errors, it just doesn''t seem to write the image to disk. Nothing is printed to the lighttpd error log when the file upload fails. I thought it might be my code
2005 Dec 22
1
Lighttpd/rails deployment error
I have been trying to get Lighttpd working.... we have been using webrick, but want to move to a production quality web server. I followed the instructions found here : http://brainspl.at/pages/rails_stack We are developing on windows and deploying to Fedora Linux. We''re using rails 1.0. The build actually happens on the windows box and using ant transfers the code to the Linux box.