<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
This seems the way to go, but unfortunately mod_proxy is not an option
for me. I'm on shared hosting with little chance of changing apache's
configuration, except by .htaccess files. It seems both cgi and fcgi
adapters are simply broken because of changes to the adapter interface.
E.g. what used to be class methods are now instance methods, but that's
not all.<br>
<br>
Would it be hard to fix them? Or just one of them? I'm not too
concerned about performance at this point, if it runs I'd be happy. If
they're not being fixed please add a big BROKEN sign or remove them
altogether.<br>
<br>
Thank you (once again)!<br>
<br>
(ab)<br>
<br>
<br>
<br>
George Moschovitis schreef:
<blockquote
 cite="midafd80b540710030601p63c85095rc8fbfd2ab5e44073@mail.gmail.com"
 type="cite">I use Apache + mod_proxy_ballancer + Mongrel.<br>
  <br>
I will try to prepare a *short* tutorial.<br>
  <br>
-g.<br>
  <br>
  <br>
  <br>
  <div><span class="gmail_quote">On 10/3/07, <b
 class="gmail_sendername">Arne Brasseur</b> &lt;<a
 href="mailto:arne@arnebrasseur.net">
arne@arnebrasseur.net</a>&gt; wrote:</span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm
for the first time trying to actually deploy a Nitro app on my
    <br>
shared hosting account. I'm trying to use FastCGI since that's what I<br>
had success with using Rails. It took some tweaking of the FastCGI<br>
adapter, it seems unmaintained.<br>
    <br>
I'm mainly stealing ideas from Rails here, I created a dispatch.fcgi<br>
that just loads Nitro, sets the mode to :live and requires app.rb. If I<br>
run it gives the two green lines :<br>
    <br>
03/10 05:13:11&nbsp;&nbsp;INFO: Og uses the Mysql store.<br>
03/10 05:13:11&nbsp;&nbsp;INFO: Starting Fastcgi server in live mode, listening
at
    <br>
    <a href="http://0.0.0.0:9000">0.0.0.0:9000</a><br>
    <br>
My .htaccess should be good. Now if I visit the site I get a server 500<br>
error. The error log mentions :<br>
    <br>
[Wed Oct 03 05:11:59 2007] [error] [client <a
 href="http://61.225.17.58">
61.225.17.58</a>] FastCGI:<br>
incomplete headers (0 bytes) received from server "/home/ar<br>
nebrasseur/subdomains/vocab/dispatch.fcgi"<br>
    <br>
Have other people gotten this to work? Do I have other options having
    <br>
only limited control over the apache configuration?<br>
    <br>
Thanks for any pointers!<br>
    <br>
(ab)<br>
    <br>
--<br>
Arne Brasseur<br>
    <a href="http://www.arnebrasseur.net">http://www.arnebrasseur.net</a><br>
    <a href="mailto:arne@arnebrasseur.net">arne@arnebrasseur.net</a><br>
    <br>
_______________________________________________<br>
Nitro-general mailing list<br>
    <a href="mailto:Nitro-general@rubyforge.org">Nitro-general@rubyforge.org</a><br>
    <a href="http://rubyforge.org/mailman/listinfo/nitro-general">http://rubyforge.org/mailman/listinfo/nitro-general</a><br>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
  <a href="http://gmosx.me.gr">http://gmosx.me.gr</a><br>
  <a href="http://phidz.com">http://phidz.com</a><br>
  <a href="http://blog.gmosx.com">http://blog.gmosx.com</a><br>
  <a href="http://cull.gr">http://cull.gr</a><br>
  <a href="http://www.joy.gr">http://www.joy.gr</a><br>
  <a href="http://nitroproject.org">http://nitroproject.org</a>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nitro-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nitro-general@rubyforge.org">Nitro-general@rubyforge.org</a>
<a class="moz-txt-link-freetext" href="http://rubyforge.org/mailman/listinfo/nitro-general">http://rubyforge.org/mailman/listinfo/nitro-general</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Arne Brasseur
<a class="moz-txt-link-freetext" href="http://www.arnebrasseur.net">http://www.arnebrasseur.net</a>
<a class="moz-txt-link-abbreviated" href="mailto:arne@arnebrasseur.net">arne@arnebrasseur.net</a></pre>
</body>
</html>