Displaying 20 results from an estimated 8000 matches similar to: "ssl and lightpdd"
2006 Jun 08
2
Running the same application multiple times with different enevironments
Hi!
I have an application that needs to be run on multiple virtual hosts
(Apache2) with each instance having it''s own environment / database.
Using dispatch.cgi I simply configure two virtual hosts pointing to the
same application path and just add a "SetEnv RAILS_ENV
<environment_name>" to each virtual host section in the Apache
configuration. But with FastCGI /
2006 Jun 27
8
cookies
could someone help me with cookies.
I need help setting them and using them for output and etc.
thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Sep 07
4
Install config: lighttpd dead but pid file exists
I''m trying to run rails on RHED (centos 4) by following this tutorial:
http://wiki.rubyonrails.org/rails/pages/RailsOnRHEL
and something is gone a bit astray during the install process that is
not allowing lighttpd \ apache to run rails on the web.
Since i''m running Centos, I should mention I''m NOT running SELinux.
As it is, i''m at a total loss as to why
2006 Aug 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of
mongrel. I also need ssl but only for one of my sites. I understand that
Mongrel does not play with SSL so I am forced to use Lighttpd. I think that
lighttpd only handles ssl or non-ssl on any given instance. Is there a way
for me to accomplish my goal of one lighttpd with multiple mongrels and the
occasional ssl connection?
--
2005 Dec 04
10
web server q -- playing nice w/ PHP
I have a webserver that''s happily running apache2 and PHP. I''d like to
deploy a site that I wrote using RoR on that same server but read that
there might be some conflicts with PHP and RoR trying to access the same
MySQL database.
How real are those conflicts? Could I mess up my running PHP site if I
install mod_ruby and try to use Apache2?
Would I be better off
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to
set up typo so that it also works (with a different url). I have 4 URLs
running -- let''s call them foo.com, bar.com, www.typo.com and
php.typo.com
I am starting lighttpd by going into the directory where my foo.com app
is and typing either ruby script/server or script/server -e production
-- either
2006 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi.
This is the error I''m getting when I try to start Lighttpd :
============
[getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start
Starting Lighttpd
2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for:
/home/getcapture/application/public/dispatch.fcgi No such file or
directory
[getcapture@alpha getcapture]$
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 Nov 04
2
[ Rails ] Multiple rails apps on 1 host
Team,
I''m trying to figure out how to run 2 rails apps on one host.
I ran an experiment:
cd /tmp/
rails app1
rails app2
cd app1
script/server
rails put a copy of lighttpd.conf in
/tmp/app1/config/
and then started lighttpd
http://localhost:3000
gave me the splash page.
I shutdown the server
I added something to
/tmp/app1/config/lighttpd.conf
server.modules = (
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 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 Apr 07
4
Big fcgi problem...
Hi all
My lighty spawn 10 fcgi process, some times, one or two of them will
eat all most 90% CPU, when i kill them, everything is ok.
I want a script to auto kill these Big fcgi,
could you give me some advise?
regards
--
Posted via http://www.ruby-forum.com/.
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts,
I have rail site that is running lighttpd and fcgi. I want the default
domain to serve the rails application, and I also want to have a
virtualhost (bugs.mysite) to resolve to a bugzilla instance.
Bugzilla is basically Perl application called through CGI.
I tried to find pointers on how to set fcgi to run both rails dispatcher
and other cgi scripts in a different virtualhost, and
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone,
I?ve been working with Ruby on Rails for about 2 months now and have
really enjoyed the ease of use of it. I?m only been doing development
on it so I?ve been using WeBrick. Recently, I have built a server
running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and
Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I
changed the paths in the
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
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 detach
=> Ctrl-C to shutdown
2006 Jun 07
7
Tunneling in capistrano twice
Hi there,
The default recipe expects you to be able to access your web server
directly from your local machine.
On our web server, for security purposes, it is only possible to ssh
to it through one particular ip (which is also a remote machine.)
The capistrano source is so compact and tidy it looks very hackable.
But rather than messing around I thought I''d ask first if anyone else
2006 Feb 22
5
Rails on lighttpd locks up, freezes, unresponsive every day
I have RoR running on lighttpd on RedHat Linux and every morning that I
check the web page it just keeps waiting to refresh it forever, Firefox
and IE never times out on any of the pages I try. Has anyone seen that
happening to their RoR? I also removed lighttpd completely and just ran
webrick but there was no difference. The linux box has a pretty old
kernel 2.4.21-4, could that be the
2006 Jul 01
5
how can i set the default protocol of WEBrick to https?
On my server, stunnel is running to accept HTTPS (port 443) connection
from clients and redirect them to localhost:80. And on port 80 of my
server, WEBrick is running to accept HTTP connection.
In such situation, WEBrick generates URLs beginning with ''http://'',
not with ''https://''. So one can access to ''https://myserver/'', but
when he click on
2006 May 21
3
First try with lighttpd
Hi,
I have a Rails application sitting on my computer that works just fine
with webrick. I would like to try to serve it locally with lighttpd
I followed the instructions on the hivelogic site for installing lighttpd
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
Then I looked on page 457 in the Agile Rails book for instructions
about configuring the rails app for