Forum OpenACS Development: Re: Beta Emacs OACS module available

Collapse
Posted by Andrei Popov on

Bart,

Step-by-step:

% tla register-archive bart-arch@thecodemill.biz--2004 http://www.thecodemill.biz/repository/{archives}/2004/
% tla get -A bart-arch@thecodemill.biz--2004 oacs--devo--1.0 oacs
webdav error: 404 Not Found

The same happens on 2 machines: a FreeBSD and a Mac OS X.

Collapse
Posted by Bart Teeuwisse on
Andrei,

I don't know what to say. I do know that -besides myself- others are accessing the webdav archive succesfully. Also tla isn't very good w/ error messages, it could be any number of things. Maybe you can verify that another webdav client -like cadaver- can access http://www.thecodemill.biz/repository/{archives}/2004/ ?

Anyone on either FreeBSD or Mac OS X who can access http://www.thecodemill.biz/repository/{archives}/2004/ ?

/Bart

Collapse
Posted by Andrei Popov on
  • lynx:
                                                                                          Not Found 
                                                                                                                                          
    Not Found                                                                                                                                                                                                                          
       The requested URL was not found on this server.                                                                                    
                                                                                                                                          
                                 AOLserver/4.1.0 on http://www.thecodemill.biz       
    
  • Mac OS X Finder (that can mount WebDAV shares): server cannot be found on the network
  • Safari: shows empty dir
  • cadaver:
    > cadaver http://www.thecodemill.biz/repository/{archives}/2004/
    Could not contact server:
    404 Not Found
    dav:!>
    
Collapse
Posted by Andrei Popov on

I think there might be something wicked going on, because of curly braces...

Collapse
Posted by Jeff Davis on
I just tried with cadaver and it worked fine for me...
cadaver http://www.thecodemill.biz/repository/{archives}/2004/
dav:/repository/{archives}/2004/> ls
Listing collection `/repository/{archives}/2004/': succeeded.
Coll:   =meta-info                           128  Feb 10 04:17
Coll:   bin                                   80  Mar  3 19:48
Coll:   cache-control                         88  Mar  9 01:55
Coll:   oacs                                  80  Feb 10 04:18
Coll:   pound                                144  Feb 13 18:54
dav:/repository/{archives}/2004/>
Connection to `www.thecodemill.biz' closed.
Collapse
Posted by Bart Teeuwisse on
Andrei,

wicked indeed. If I'm not mistaken you are on 212.20.105.205. Requests from this IP address leave the curly brackets out. While all requests from other IP addresses do include them.

/Bart

Collapse
Posted by Andrei Popov on
I've edited .arch-params/=locations/bart-arch@thecodemil.biz--2004 to add braces and all was well.  For some reason braces got stripped.  Will see whether this is tcsh's fault or else...