Apache2 and FPCGI 2.0
John Sica
john at chrismanncomputer.com
Sun Sep 12 13:29:08 PDT 2010
First thing I verified. Also, when apache2 runs as the default user
"daemon", the htm file gets populated, unlike when run as "filepro", the
file get created but is zero length and still owned by filepro. The
only problem with running apache2 as daemon, is the browser always
returns the message that the file can't be read due to the permissions,
which is correct.
Mark suggests the filepro code should be looked at, rather than the
apache2 configuration, but changing it back to using apache1 fixes the
problem. That's why I asked if anyone had done this before, or am I the
first. Unless and environment variable can be added or the apache2
config changed, I don't think we're going to change several hundred
lines code to work around this problem.
John
On 9/12/2010 9:24 AM, Bruce Easton wrote:
> Sounds like filepro just does not have permission to write to your
> document root dir or where you are writing the output document. Have
> you tried changing ownership of the doc root dir and (any other path
> leading to your output doc) to filepro?
>
> Bruce
>
> Bruce Easton
> STN, Inc.
>
>
> On 9/11/10 10:18 PM, John Sica wrote:
>> Having a problem with fpcgi2.0 and apache2
>>
>> Trying to implement apache2 today, and fpcgi has been working for quite
>> some time.
>> It seems as if the apache2 user is filepro the fpcgi text file is
>> created, but the htm file, although created, always has zero bytes. If
>> I leave the apache2 default user to daemon, then the htm file gets
>> created properly, but cannot be viewed. I get the Forbidden error
>> message. filepro is the owner of the file. If I manually change the
>> owner of the file to daemon, the file can be placed into the address bar
>> and viewed.
>> The permissions are rw------- , and filepro is the owner whether daemon
>> or filepro is set at the apache2 user.
>>
>> But the catch is that the apache2 user "daemon" cannot view the file
>> owned by filepro in 600 mode. This permission error is in the apache
>> error log.
>>
>> When "filepro" is the apache2 user, the htm file does not get populated,
>> and only when the apache2 user is "filepro" can the browser read the
>> file owned by filepro.
>>
>> Any ideas on how to modify apache2 to create a file with more liberal
>> permissions, or fpcgi2 to work when filepro is not the apache2 user?
>>
>> Thanks,
>>
>> John
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20100911/0ea5636e/attachment.html
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
>>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list