[Zope] RE: [FASTCGI] Zope, fastcgi, Apache 2.0 - need a dummy
file!?
Barry Pederson
barryp@medicine.nodak.edu
Fri, 20 Sep 2002 10:12:21 -0500
Edward Muller wrote:
> I stand corrected. The file doesn't have to exist.
>
> http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer
>
> Sorry about that I could have sworn it did.....
>
> On Wed, 2002-09-18 at 18:55, Rob Saccoccio wrote:
>
>>>I am serving Zope behind Apache 2.0 using fastcgi. I find a need
>>>a dummy file with the same name as the Zope root otherwise
>>>fastcgi process manager fails with
>>> ...cannot stat /www/htdocs/Zope...
>>>Is this a "bug"? Without a dummy /www/htdocs/Zope file my content serving
>>>fails.
>>
>>You shouldn't need a dummy file. What *exactly* is the error mesage you
>>see?
>>
>>--rob
Yeah, the docs say that, but I had this happen too. I believe I have fastcgi
from mod_fastcgi-SNAP-0208192319.tar.gz, apache 2.0.40 on FreeBSD 4.6.
FastCGI related lines from my httpd.conf look like this:
------------------
FastCgiExternalServer /usr/local/www/data/zope -host 127.0.0.1:8082
-pass-header Authorization
RewriteRule ^/(.*)
/zope/VirtualHostBase/http/foobar.org:80/VirtualHostRoot/$1 [PT]
<Location /zope>
SetHandler fastcgi-script
Options ExecCGI
</Location>
-------------------
Without a dummy file my httpd-error.log file shows:
------
[Fri Sep 20 10:02:17 2002] [error] [client aaa.bbb.xxx.yyy] (2)No such file
or directory: FastCGI: stat() of "/usr/local/www/data/zope" failed
-------
(IP address changed to aa.bbb...)
With a dummy file, everything works fine.
Barry