[Zope] Re: ExtFile Question

Joseph Kocherhans jkocherhans at mac.com
Wed May 12 12:52:01 EDT 2004


I really don't think apache has anything to do with this. The extfile 
product is trying to create directories under 
/opt/zope/doucet/static/reposit It looks to me like the user that your 
zope instance in running as doesn't have write access to 
/opt/zope/doucet/static/reposit and thus can't create the directories. 
If you don't know what user zope is running as try 'ps waux | grep zope' 
a bunch of info should come up and the first column will be the user. 
Make sure that user can write to /opt/zope/doucet/static/reposit

hth,
joseph

Laura McCord wrote:
> There are still a few things that I am a little fuzzy about. I set the
> environment variable EXTFILE_STATIC_PATH=/static in the zopectl.py like
> you suggested. But I am sure there are a lot more steps that I am
> missing because I am still getting an error:
> Error Type: Can't create directory: 
> Error Value: /opt/zope/doucet/static/reposit/t/M
> 
> Now, the static/reposit directories did not exist. I went in and created
> the directories myself using mkdir. But the error still came up. 
> 
> I have seen some people mention a RewriteRule is my error coming from
> this? 
> 
> Is there any more documentation that you can suggest that would help me
> make a file redirect to apache using ExtFile?
> 
> Thank you very much for your suggestions.
>  
>  -Laura
> 
> -----Original Message-----
> From: Stefan H. Holek [mailto:stefan at epy.co.at] 
> Sent: Wednesday, May 12, 2004 9:29 AM
> To: Laura McCord
> Cc: zope at zope.org
> Subject: RE: [Zope] ExtFile Question
> 
> 
> The start script of Zope 2.6 is INSTANCE_HOME/start
> In Zope 2.7 you can put the line into INSTANCE_HOME/bin/zopectl
> 
> Stefan
> 
> 
> On Wed, 12 May 2004, Laura McCord wrote:
> 
> 
>>I noticed in the documentation http://zope.org/Members/shh/ExtFile 
>>that I am supposed to set the EXTFILE_STATIC_PATH in the zope start 
>>script. Is the start script in  Zope/Startup/__init__.py and under def
>>startZope(self) would I insert:
>> export EXTFILE_STATIC_PATH=/static
>>
>>
>>Thanks,
>> Laura
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 




More information about the Zope mailing list