|
|||||||||||
|
DO NOT REPLY [Bug 10236] - MOVE method loses last character off of file name
From: <bugzilla(at)apache.org>
Date: Sun Aug 11 2002 - 10:46:08 EDT
MOVE method loses last character off of file name Michael.Dean@detir.qld.gov.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
FreeBSD ns1 4.5-STABLE FreeBSD 4.5-STABLE #3: Sat Jun 15 20:56:26 EST 2002 mwd@ns1:/usr/obj/usr/src/sys/NS1FW i386 compiled with
ns1:/web/webdav/test # gcc -v
configure options were minimal ... ./configure --prefix=/web/server/apache2 --enable-dav && make && make install ns1:/web/webdav/test # ldd /web/server/apache2/bin/httpd /web/server/apache2/bin/httpd:
libaprutil.so.0 => /web/server/apache2/lib/libaprutil.so.0 (0x280d8000)
libexpat.so.1 => /web/server/apache2/lib/libexpat.so.1 (0x280ea000)
libapr.so.0 => /web/server/apache2/lib/libapr.so.0 (0x28106000)
libm.so.2 => /usr/lib/libm.so.2 (0x2811e000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2813a000)
libc.so.4 => /usr/lib/libc.so.4 (0x28153000)
and in the httpd.conf the only things changed were -----httpd.conf-----
Listen 8800
ServerName ns1 DAVLockDB /web/server/DAVLockDB/DAVLock DAVMinTimeout 600 <DirectoryMatch "^/web/webdav">
DAV On
DocumentRoot "/web/webdav/test"
-----httpd.conf----- ns1:/web/webdav/test # ls -laF /web/server/DAVLockDB/ drwxrwxrwt 2 root wheel 512 Aug 12 00:01 ./ drwxr-xr-x 21 root wheel 1024 Aug 11 23:42 ../ -rw-r--r-- 1 www wheel 0 Aug 12 00:01 DAVLock.dir -rw-r--r-- 1 www wheel 0 Aug 12 00:01 DAVLock.pag ns1:/web/webdav/test # ls -laF drwxrwxrwt 2 www www 512 Aug 11 23:41 ./ drwxr-xr-x 3 root wheel 512 Aug 11 23:47 ../ -rwxrwxrwx 1 www www 0 Aug 11 23:18 12345*ns1:/web/webdav/test 17085 # telnet localhost 8800 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. MOVE /12345 HTTP/1.1 Destination: http://ns1:8800/1234567 Host: ns1:8800
HTTP/1.1 201 Created
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
drwxrwxrwt 2 www www 512 Aug 12 00:01 ./ drwxr-xr-x 3 root wheel 512 Aug 11 23:47 ../ -rwxrwxrwx 1 www www 0 Aug 11 23:18 123456*ns1:/web/webdav/test # telnet localhost 8800 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. MOVE /123456 HTTP/1.1 Destination: http://ns1:8800/1234567 Host: ns1:8800
HTTP/1.1 403 Forbidden
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
ns1:/web/webdav/test # cadaver http://127.0.0.1:8800/
Looking up hostname... Connecting to server... connected.
dav:/> ls
*123456 0 Aug 11 23:18
dav:/> mv 123456 12345
Moving `/123456' to `/12345': succeeded. dav:/> ls Listing collection `/': succeeded.
*1234 0 Aug 11 23:18
dav:/> mv 1234 12345
Moving `/1234' to `/12345': failed: 403 Forbidden dav:/> mv 1234 123456 Moving `/1234' to `/123456': succeeded. dav:/> ls Listing collection `/': succeeded.
*12345 0 Aug 11 23:18
dav:/>
can anyone else duplicate this? To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Sun Aug 11 14:45:44 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:47 EDT |
||||||||||
|
|||||||||||