#27 "invalid URL" when attempting to mount


I'm getting an "invalid URL" message when I attempt to mount ...

# mount -t davfs http://localhost/alfresco/webdav /mnt/alfresco
/sbin/mount.davfs: invalid URL

I've used cadaver to verify that there is a valid webdav server at that url. I have set "debug most" in both davfs2.conf files(I wasn't sure which one it was using), but I don't see any messages in my /var/log/messages. I searched the forums and didn't see any posts relative to this. The webdav server is protected by username/password, but according to the man page, I would expect it to prompt me if this were the case.



  • Werner Baumann

    Werner Baumann - 2007-07-18

    Logged In: YES
    Originator: NO

    Hello Mike,

    - are you sure, you enterd the command just as reported? No additional space and no none-ascii characters in the URL?

    - what version of davfs2? Where is it from?

    If you mount as root, only the system wide configuration file is used. Please see 'man mount.davfs' and 'man davfs2.conf'.

    Where the debug messages will go, is out of the command of davfs2. This depends on the configuration of your syslog daemon. Besides 'messages' this may be 'syslog', 'debug.log' or 'daemon.log'. Please have a look at /etc/syslog.conf for this or just try anything in /var/log.

    Whether the URL is syntacically correct is one of the first things beeing checked, before checking for username and password.


    P.S.: I just copied the commandline from your posting into a terminal and hit return. There was no problem at all, except I did not guess username and password right. So the server refused with '401 Authorization Required'. I am using davfs2 1.2.2

  • Werner Baumann

    Werner Baumann - 2007-07-18
    • assigned_to: nobody --> wbaumann
  • Werner Baumann

    Werner Baumann - 2008-02-06
    • status: open --> closed

Log in to post a comment.