← Back to team overview

c2c-oerpscenario team mailing list archive

Re: Fwd: Re: [Bug 675314] [NEW] [6.0RC1] document_ftp - can not set ip address - webdav - solution + natuilus problem

 

On Monday 15 November 2010, you wrote:
> BTW
> trying webdav  as suggested I get
> The specified file or folder /webdav does not exist.
> I was not able to access webdav with nautilus
> - instructions needed.
> Could not display "dav://admin@my-ip:8069/webdav".

This is a bug *specific* to Nautilus (or to gvfs, to be more exact).
The webdav library of gvfs attempts to do a PROPFIND on the root of the 
supplied url (like dav://admin@my-ip:8069/ ) and fails, because we don't serve 
DAV on that path. This is a violation of RFC 4918 par 5.1 .

There is three^H^H two workarounds for Nautilus I can think of:
 1. Try to serve DAV on the root path. If you specify an empty "vdir", it 
might work (though I have never tested it).
 2. Write a small http server to serve the WebDAV on another port, alone. It 
would be a minor addition to our code, since we have all the libraries 
already. (but not a beautiful solution, having all http services on a single 
port is a nice thing IMHO)
 ---- deleted --- 3. Proxy the webdav through apache, and  --- Won't work. 
Apache won't mangle the DAV (xml) responses to remove the "/webdav/" 
component, so it will break.

and another one: Write a small server component, like the static http one, 
that will reply to dummy PROPFIND requests, to satisfy Gvfs. Perhaps that one 
would solve a few buggy clients.


-- 
Say NO to spam and viruses. Stop using Microsoft Windows!

-- 
[6.0RC1] document_ftp - can not set ip address
https://bugs.launchpad.net/bugs/675314
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
whatever I enter - server resons only on "localhost"

I even tried to modify ftp_configuration.py and entered my ip number there ...





References