Re: [Zope] oddity with zope and webdav

2005-12-06 Thread Chris Withers

David Bear wrote:

I have a zope instance listening on localhost. I use apache and fastcgi to
reach zope.


you may wish to rethink that when you get a chance...

Now I would like to provide webdav. 


What do you want to use WebDAV for?


when I use cadaver and connect to my zope zope through apache, all works
well even though I have specified in my zope.conf file that  webdav listen
on localhost:8088 (it seems that cadaver is smart enough working through the
fastcgi interface to just work).


I know nothing abotu fastcgi, but I doubt you're reachign the source 
port, so if you open a ZPT, for example, you will get the rendered 
version, and if you edit and save it, you will loose all your tal markup.



When attempting to using dreamweaver mx or windows webfolders to connect to
zope I get an error.


Chocolate teapot? ;-)

What error, exactly and verbosely, did you get?


So I attempted to use an apache proxy pass directive to campture all urls at
myzopeserver.edu:8088/webdav back to localhost:8088. This had no effect.


I doubt it had no effect, look in your apache access and error logs...


cadaver was still able to work. Dreamweaver (using webdav site setup) and
windows webfolders still failed.


More information please... you may need to get a packet sniffer such as 
etheral up and running to get further...


cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@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 )


Re: [Zope] oddity with zope and webdav

2005-12-05 Thread Chris Purves
On 06/12/05, David Bear <[EMAIL PROTECTED]> wrote:
> I have a zope instance listening on localhost. I use apache and fastcgi to
> reach zope. Now I would like to provide webdav. Since my apache is already
> doing ssl, I wanted webdav connections to also go through apache.
>
>  when I use cadaver and connect to my zope zope through apache, all works
> well even though I have specified in my zope.conf file that  webdav listen
> on localhost:8088 (it seems that cadaver is smart enough working through the
> fastcgi interface to just work).
>
>  When attempting to using dreamweaver mx or windows webfolders to connect to
> zope I get an error.
>
>  So I attempted to use an apache proxy pass directive to campture all urls
> at myzopeserver.edu:8088/webdav back to localhost:8088. This had no effect.
> cadaver was still able to work. Dreamweaver (using webdav site setup) and
> windows webfolders still failed.
>
>  What deep magic do I need to make dav work through apache? ( would prefer
> to have all things go through fastcgi but I understand the trend is to use
> proxy-pass )
>

I just got this working myself, although I am using apache as a proxy,
not fastcgi.  If you already have ssl working with apache and can
access zope through apache without ssl, it shouldn't be difficult.

The main thing is to add a virtual host in your apache config for SSL
and modify the rewrite line to use https:.  I found the following
document helpful:

http://www.zope.org/Members/tmckibben/HowTo.2004-04-13.0659

It uses FastCGI, so it should more closely match your setup than mine

--
Take care, eh.
Chris
___
Zope maillist  -  Zope@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 )