trunk document_webdav config parameters

Bug #511394 reported by Ferdinand
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Harry (OpenERP)

Bug Description

pls add to module description which parameters are expected to be in [webdav]

IMHO it's not enough to write, that it can be controlled....

Related branches

Revision history for this message
Samantha (samantha-z-mathews) wrote :

up.

Revision history for this message
xrg (xrg) wrote : Re: [Bug 511394] [NEW] trunk document_webdav config parameters
Download full text (4.0 KiB)

On Saturday 23 January 2010, you wrote:
> Public bug reported:
>
> pls add to module description which parameters are expected to be in
> [webdav]

Sorry, mea culpa (for not documenting it). Still, I think there is not much to
configure there..
Here is the params, with the /default/ value:

[webdav]
; enable = True ; Serve webdav over the http(s) servers
; vdir = webdav ; the directory that webdav will be served at
  ; this default val means that webdav will be
  ; on "http://localhost:8069/webdav/
; verbose = True ; Turn on the verbose messages of webdav
; debug = True ; Turn on the debugging messages of webdav
  ; since the messages are routed to the python logging, with
  ; levels "debug" and "debug_rpc" respectively, you can leave
  ; these options on

The only interesting one would be the "enable", which would let you turn off
webdav, even if the module is installed. The http options, interface, port and
authentication are the *same* with the XML-RPC server (they share the same
infrastructure, since v6). The design choice was because I thought that one
http server (+ one https ) would be better to handle, setup and perhaps proxy
through firewalls than separate ones for each service. Moreover, there is a
symmetric behavior for https now, and modules can register extra services at
that http server.

So, webdav will really depend on the "http" servers of openerp-server. There
is more to configure there!
At that point, my 'xrg' and 'pg84' branches differ in setup from the 'trunk'
server:
Example for *xrg* branches:
; --------------------
[httpd]
; enable = True ; enable this server
; interface = None ; or 0.0.0.0
  ; the IPv4 of the interface that http (non-ssl) will
  ; listen to. example 192.168.2.1 if we only want our intranet
; port = 8069 ; the port to listen to

[httpsd]
; Config for the SSL server
; enable = False ; By default, ssl is disabled, because
     ; it wouldn't work unless you set the certs.
; interface = None
; port = 8071 ; note that NaN's Pyro uses that, too :(
; sslcert = ssl/server.cert ; the SSL certificate (public) file.
; sslkey = ssl/server.key ; the private key for the SSL certificate
  ; Note that cert, key may be better at /etc/openerp/ssl/server.*

[xmlrpc]
; enable = True ; with False, you can run the http servers without
     ; the xml-rpc service...
; ssl_require = False ; If set, xml-rpc will only work on httpsd.
     ; By default, works on both servers (if they are on)

[xmlrpc2] ; That is pg84-only feature
; enable = True
; ssl_require = False

[static-http]
; This is a mini-server that can display html pages to any client that
; will perform a GET at our http port
; enable = False
; dir_path = False ; *must* set to /var/openerp/www or something
; base_path = / ; path of the http request,
    ; slash means http://localhost:8069/

[options] ; the general section of openerp-server.conf
; these are merely for backwards compatibility
httpd_interface= None ; alias for httpd.interface
httpd_port= None ; alias for httpd.port
httpds_interface= None ; alias for httpsd.interface
httpds_port= None ; alias for httpsd.port
httpd= None ; alias for httpd.enable
httpds= None ; ...

Read more...

Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

Hello,

Added details of configuration parameter in module description.
Committed revision 4435.

Thanks.

Changed in openobject-addons:
status: New → Fix Released
Changed in openobject-addons:
milestone: none → 6.0
assignee: nobody → Harry (Open ERP) (hmo-tinyerp)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.