[Zope] Dreamweaver and WebDav

Martijn Pieters mj@digicool.com
Fri, 15 Dec 2000 13:58:25 +0100


On Wed, Dec 13, 2000 at 01:25:15PM -0500, Todd Coram wrote:
> > Is anybody using the combination Dreamweaver 4 WebDAV Zope already?
> > A connection was easy to make. At the moment i want to put or get
> > something "access to
> > the desired resource is denied by the server". I checked my
> > password, i have the correct
> > rights, and it is working more or less fine on ftp.
> 
> There seems to be Dreamweaver 4 WebDAV issues in general (a quick look at
> news:macromedia.dreamweaver suggests that).
> 
> I have not been able to get Dreamweaver 4 to PUT data into Zope via WebDAV.
> GoLive works fine. Cadaver works fine, etc. I looked at the HTTP header (for
> PUT) that Dreamweaver sends and it seems to lack a HTTP_AUTHORIZATION entry.
> My username and password was entered in Dreamweaver's "Define site"/"Remote
> info"/access:WebDAV" panel. But, Dreamweaver doesn't seem to want to send
> it...

Dreamweaver 4 WebDAV has the following issues (confirmed with their
Technical Support):

- Dreamweaver searches for a WWW-Authenticate header case-sensitively (not
  compliant with HTTP RFC), and therefor misses the one sent by Zope. It
  therefor cannot do any operation for which authentication is required.

- Dreamweaver sends a malformed host header; it sends the IP number, not
  the DNS name (again, in conflict with the RFC). Also, when using a
  non-standard port (ie other than 80), it will send a non-sensical port
  number in the header (My 'www' server, port 50080 becomes 'Host:
  192.168.0.1:429451840').

Also, Dreamweaver 4 has no support for XHTML, whatsoever. It will even
rewrite correct XHTML in such a way it isn't valid XML anymore.

For example: 

  <hr noshade="noshade" size="1" /> 
   
becomes:

  <hr noshade size="1">.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------