[Zope] File storage question.

Allen.Vailliencourt@channelmaxinc.com Allen.Vailliencourt@channelmaxinc.com
Mon, 30 Apr 2001 08:22:54 -0400


Thanks for all the tips and help guys. I've been playing with it some more and am starting to
understand how things work. Very simple yet powerful.  I'm liking  Zope more and more.

Thanks again.

~Allen

~~~~~~~~~~~~~~~~~~~~~~~~~
Web Development Engineer
ChannelMax, Inc
www.scansource.com
www.catalysttelecom.com
www.channelmaxinc.com
(864) 329-8239
availliencourt@channelmaxinc.com
~~~~~~~~~~~~~~~~~~~~~~~~~



                                                                                                                                   
                    "Dunigan,                                                                                                      
                    Craig"                 To:     "'Allen.Vailliencourt@channelmaxinc.com'"                                       
                    <craig.dunigan@        <Allen.Vailliencourt@channelmaxinc.com>, zope@zope.org                                  
                    esker.com>             cc:                                                                                     
                    Sent by:               Subject:     RE: [Zope] File storage question.                                          
                    zope-admin@zope                                                                                                
                    .org                                                                                                           
                                                                                                                                   
                                                                                                                                   
                    04/27/2001                                                                                                     
                    02:48 PM                                                                                                       
                                                                                                                                   
                                                                                                                                   




Hi Allen, Welcome to Zope!

Unless you've installed a Zope product called LocalFS or one of its cousins,
the "files" in Zope are actually objects in the ZODB.  The ZODB itself is a
single file called "data.fs," and it usually lives in the var directory.
Administrative note:  this is the file to back up, with it and a fresh
install of Zope you can recreate your entire site.

If you removed index_html, then you already know a little about the
management interface.  Go back in there and create a new DTML Document
called "index_html" in the same location as the one you deleted, containing
whatever you'd like, and that'll fix your 404.  At this stage of the game,
you can just put HTML in there and worry about DTML a bit later.

Yes, the "_" is not only the default, but necessary.  You can't change it to
a ".", it confuses Python.  Once you get used to it, you'll find you really
don't have to care what the "files" in Zope are called, and since it's not
really a file anyway, the lack of a "." and file extension doesn't matter at
all.

Hope this helps!

Craig Dunigan
Web Programmer
Esker Software - Extending the Reach of Information
mailto:craig.dunigan@esker.com
Ph. 608.273.6000
Fax 608.273.8227
http://www.esker.com

> -----Original Message-----
> From: Allen.Vailliencourt@channelmaxinc.com
> [mailto:Allen.Vailliencourt@channelmaxinc.com]
> Sent: Friday, April 27, 2001 12:54 PM
> To: zope@zope.org
> Subject: [Zope] File storage question.
>
>
> greetings!
>
> I'm really new to Zope, although I've been reading up on it
> and following it for over a year. Just
> never had too much time to really sit down and start
> using/playing with it -- until now.  Here's my
> question...
>
> I'm running Zope (latest stable build) on my WinNT 4
> workstation and have installed the CMF 1.0
> stuff already.  I haven't been able to find this answer in
> the documentation yet (still reading
> though) but where are the files (ie images, html, etc) stored
> for my webserver?
>
> For instance in Apache you have your htdocs directory, in IIS
> you have your wwwroot directory, where
> is it on  Zope? Or are all the files stored in the Zope DB?
> Reason I'm asking is that I removed the
> default zope page (index_html) and want to create a new
> (index) page with my info but since I
> removed the index_html file I get a 404 error basically. I
> created a sub directory
> (http://localhost/coolness) and had to name the main file
> index_html.  Is the _ the default? Can I
> rename the file index.htm or default.htm?
>
> Thanks.
>
> Hope this didn't sound too confusing. :)
>
> ~Allen
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> Web Development Engineer
> ChannelMax, Inc
> www.scansource.com
> www.catalysttelecom.com
> www.channelmaxinc.com
> (864) 329-8239
> availliencourt@channelmaxinc.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )