Displaying 20 results from an estimated 10000 matches similar to: "rails lighttpd fastcgi archlinux"
2006 Mar 06
7
Set base url?
I have an application running on a Lighttpd instance which is proxied by an
Apache server. It seems to work fine but my urls are incorrect: all urls
reference / which is not where my application runs at the Apache server.
How do I set the base url of a Rails application?
My Apache has the following proxy rules:
ProxyPass /hieraki http://localhost:3001
ProxyPassReverse /hieraki
2006 Jan 13
2
FastCGI problems
I''m having a lot of problems with my Typo install. My fastcgi fails horribly
after a reboot:
[13/Jan/2006:16:55:28 :: 19796] Dispatcher failed to catch: (Interrupt)
/usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each''
/usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi''
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in
`process!''
2006 Mar 23
2
Lighttpd Configuration Problems
Hey Folks!
I''ve got a Fedora Core 4 machine that I''m installing Ruby on Rails on,
following this set of instructions:
http://www.digitalmediaminute.com/howto/fc4rails/
Everything has gone well up until I get to the part about configuring
lighttpd to use virtual hosts. Here''s the chunk of code I''ve got in my
config file that appears to be the culprit.
2006 Mar 23
2
lighttpd rails
I''m running lighttpd + fastcgi + rails
Say that the lighttpd root directory is the rails application /public
directory.
I''m just curious.
If theres a file in the document root with the same name as a controller,
does the file get served first?
How does that work? Does lighttpd check the root directory first to see if
the file exists- If not, it calls dispatch.fcgi? I want to
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 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:
2006 Jun 13
5
Transform Rails site into DVD
I''m considering implementing a PHP based site that display videos with quite
some database logic to Rails. Now we were considering publishing the site
on DVD too.
Is that possible (e.g. with RubyScript2Exe)? How fast is database
performance going to be? Currently there are movies inside the database but
we can extract them if necessary. The database scheme is quite large and
the number
2006 Sep 07
6
Template "specialisation"
I want to use a sitewide default template and use a specific version in some
controllers to have a good DRY approach to my layout. Those controllers
should add a little bit more HTML before rendering the results of the
actions, in order to avoid copying the entire sitelayout every time.
How can I do that? Currently my code is like this:
class WelcomeController < ApplicationController
2006 Mar 30
1
Howto configure Lighttpd with fastcgi on Ubuntu?
Hi it''s Noobie Thompson, new to linux and to rails.
Has anyone configured Lighttpd with fastcgi to run rails on Ubuntu? I
am useing Dapper
(flight 5). I have php5 with php5-cgi (downloaded via Synaptic). I
have got lighttpd installed and running but I am unable to get the
fastcgi/rails side going. I get message to the effect that I must
recompile php with Fastcgi enabled. Can anyone help
2006 Jun 14
5
Rails to static site
For users without an internet connection we are thinking about converting a
rather large site to a DVD. As dynamic solutions with databases seem hard
(see another thread) we are also considering a static html version. The
site is clearly convertible to a static version, I can make sure that all
search functions are turned off.
Can the conversion itself optimized with Rails? Do you know solutions
2012 Apr 06
1
lighttpd + fastcgi + camping
Hello all,
I am running in some little stumbling blocks with passenger as a multi user
environment (the most problematic feature is that, once you setup a
sub-domain passenger wants you to declare on nginx every app running on
that nginx server which is not ideal to add apps on the fly and / or if a
user wants to run 2 apps from his space)
so I was thinking about a more drag a drop / one line
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2006 Jan 16
0
Lighttpd/FastCGI dispatch.fcgi processes
I have the fastcgi.server part of my lighttpd.conf like this:
fastcgi.server = (
".fcgi" => (
"test" => (
"socket" => "/tmp/test1.socket",
"bin-path" => "/home/paulbarry/public/dispatch.fcgi",
"min-procs" => 1,
"max_procs" => 2
)
)
)
When I start
2005 Dec 10
1
Anyone run lighttpd + fastcgi + PHP?
I have a website that needs to run Squirrelmail (which is PHP based),
but I'd like to get it feeding into Ruby on Rails as well. I'm looking
at lighttpd because it seems to be easier to get it integrated with
Rails. I'm curious, though, how difficult it is to get PHP running with
it in this configuration. Overall lighttpd seems to be pretty easy to
use. However, it looks like I may
2006 Sep 03
0
Solaris + Lighttpd + FastCGI + SSL HowTo
Hey guys,
After having problems when following Linux/MacOS HowTos I created a
Solaris + Lighttpd + FastCGI + SSL HowTo.
I hope this will help some of you:
http://net3x.blogspot.com/2006/09/solaris-lighttpd-fastcgi-ssl-howto.html
cheers,
i
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Feb 27
0
Lighttpd,Apache, FastCGI, SCGI
I am going through the process of transferring my MVC skills from Java
and LAMP to RoR.
If someone wanted beocme master/expert at both FastCGI and SCGI what
would be the setup on windows XP?
My thinking is to use:
-XAMPP+SCGI on c drive
-WAMP+FastCGI on f drive
-lighttpd +SCGI or FastCGI
and bind different servers to different IPs as I can set IPs via
loopback interface to my networkcard.
2005 Dec 22
0
Lighttpd/fastcgi config - what does "the error-handler was not found" mean?
I''m getting an error about not finding the error-handler. I can''t
find anything of use in the production log.
2005-12-22 12:38:14: (connections.c.1383) Warning: Either the
error-handler returned status 404 or the error-handler itself was not
found: /dispatch.fcgi
2005-12-22 12:38:14: (connections.c.1385) returning the original status 404
2005-12-22 12:38:14:
2006 Jul 05
0
using lighttpd - fastcgi
i am still really new to all this, and am noticing things as i go
along..
i noticed that when i do a:
script/server
i get a message that lighttpd is running, not webrick.. and it''s using
config/lighttpd.conf..
this seems to run fine on both my laptop (for development) and my server
(for deployment)..
my question is:
is this an acceptable way to deploy an app? using script/server
2006 May 29
2
Subfolder in Maildir
Hello,
We have installed a brand new Dovecot because it seems very interesting as
an IMAP server. We created a mailbox for a test user and we succeeded in
copying some mails into it.
However making subfolders does not work. The only folders we can create are
in the root, next to the INBOX that is. We thought Maildir does support
subfolders (as opposed to mbox), are we wrong here?
Our Dovecot
2005 Jul 26
0
Lighttpd / Rails / FastCGI - Small Problem and Solution
Myself and a coworker ran into an issue that only appears with Lighttpd.
It does not happen with Webrick or Apache.
Our rails app uses libraries outside the ruby standard library paths,
and outside our rails application directory. When trying to add those
directories to our load path, it was getting screwed up.
Here is my posting of the problem in full and the solution we came up with: