I try Sun Java System Web Server 7 update 1 to use Symlinks with the WebDAV. But they are not visible in a PROPFIND of a Collection in WebDAV.
Here is what I have done:
- Installing SJSWS7u1 at /opt/sun/webserver7 under OpenSUSE 10.2
- Instantiating virtual server "jim"
- enabling WebDAV
- making a symbolic link in /opt/sun/webserver7/https-jim/docs: ln -sf img/footer_R.gif
- making a PROPFIND on / does not show the footer_R.gif
- making a PROPFIND /footer_R.gif does show it properties
This works with collections, too:
- Making a folder mkdir /opt/sun/webserver7/https-jim/docs/img/test
- making a symbolic link in /opt/sun/webserver7/https-jim/docs: ln -sf img/test
- if you now use cadaver you get a strange behavior of a hidden Collection:
dav:/> ls
Listing collection `/': succeeded.
Coll: img 0 Nov 15 17:08
index.html 12038 Nov 15 09:23
index_de.html 12650 Nov 15 09:23
index_en.html 12038 Nov 15 09:23
index_es.html 12790 Nov 15 09:23
index_fr.html 13328 Nov 15 09:23
index_ja.html 14670 Nov 15 09:23
index_ko.html 13059 Nov 15 09:23
index_zh_cn.html 11514 Nov 15 09:23
index_zh_tw.html 11561 Nov 15 09:23
dav:/> cd test
dav:/test/> ls
Listing collection `/test/': collection is empty.
dav:/test/> cd ..
dav:/>
What can I do to use symlinks with webdav? Or is the BIND method implemented?