cmd line authorization - how to?

Henrik Holst henrik at witsbits.com
Tue Jun 2 02:49:46 EDT 2009


Hi Cyril,

tor 2009-05-28 klockan 09:26 -0400 skrev Cyril Spiro:
> Hello fellow cadaver list serve members,
> 
>  
> 
> I am trying to read a WebDav directory using cadaver V 0.22.3 on linux
> enterprise redhat 5 and had two questions.
> 
>  
> 
> 1. I’m trying to use a .netrc file to send authentication for an https
> site, example: 
> 
> > cadaver https:/foo.foo.com/foo/
> 
> and .netrc is:
> 
> machine https:/foo.foo.com/foo/

the machine is matched against the host name and not the full URI so you
must change to "machine foo.foo.com" otherwise it won't work. What is
happening right now is that cadaver is converting your URI to a hostname
of "foo.foo.com" and finds no match since your machine has https:// and
the /foo/ suffix.

Regards, Henrik Holst






More information about the cadaver mailing list