Difficulty browsing over WebDAV
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 12
- Joined: Fri Nov 07, 2003 1:24 am
Difficulty browsing over WebDAV
Hi all,
Not to be a [url=http://www.oxygenxml.com/forum/viewtopic.php?t=292]pest about WebDAV or anything[/url], but I have difficulty browsing over WebDAV using the 'Open URI' dialog.
[Disclousure: My previous file-writing-over-WebDAV problems were entirely my fault and due to my misconfigured proxy setting. oXygen was operating correctly regarding writes and continues to operate correctly now that I have corrected the proxy setting. Apologies to the staff there for not considering this obvious solution!]
I'm getting '301 Permanently moved' errors because the HTTP request does not include the trailing slash even if I explicitly put one in. I can get around this problem by putting in two trailing slashes, but then I still don't have the benefit of clicking on the graphical directory tree. When using the tree, the trailing slash is omitted.
For example, let's say my WebDAV enabled directory on my server is /devdocs (relative to the DocumentRoot). In the 'Server URI' field of the 'Open URI' dialog, I enter 'http://myserver.com/devdocs/'. In the tree panel, the '301 - Permanently moved' status message is displayed. Looking in my server log file, I see that the actual URI requested was '/devdocs' (no trailing slash). The server correctly (or perhaps conveniently) responds with a '301 - permanently moved' status message along with a redirect to the new location, ie '/devdocs/'.
(HTTP servers reply with a 301 redirect so that images and other resources with a relative path will have valid URIs in any index.html file.)
Sure enough, if I enter '/devdocs//' (two trailing slashes), the HTTP request is successful and I get the graphical directory tree. Looking in the server logs I see the actual request was for '/devdocs/' (one trailing slash). In the graphical directory tree, clicks on actual files works fine, but clicking on directories does not.
Before anyone goes any further, I will be happy to eat Humple Pie again if this can be fixed with a configuration tweak!!!
Best regards,
Jonathan
Not to be a [url=http://www.oxygenxml.com/forum/viewtopic.php?t=292]pest about WebDAV or anything[/url], but I have difficulty browsing over WebDAV using the 'Open URI' dialog.
[Disclousure: My previous file-writing-over-WebDAV problems were entirely my fault and due to my misconfigured proxy setting. oXygen was operating correctly regarding writes and continues to operate correctly now that I have corrected the proxy setting. Apologies to the staff there for not considering this obvious solution!]
I'm getting '301 Permanently moved' errors because the HTTP request does not include the trailing slash even if I explicitly put one in. I can get around this problem by putting in two trailing slashes, but then I still don't have the benefit of clicking on the graphical directory tree. When using the tree, the trailing slash is omitted.
For example, let's say my WebDAV enabled directory on my server is /devdocs (relative to the DocumentRoot). In the 'Server URI' field of the 'Open URI' dialog, I enter 'http://myserver.com/devdocs/'. In the tree panel, the '301 - Permanently moved' status message is displayed. Looking in my server log file, I see that the actual URI requested was '/devdocs' (no trailing slash). The server correctly (or perhaps conveniently) responds with a '301 - permanently moved' status message along with a redirect to the new location, ie '/devdocs/'.
(HTTP servers reply with a 301 redirect so that images and other resources with a relative path will have valid URIs in any index.html file.)
Sure enough, if I enter '/devdocs//' (two trailing slashes), the HTTP request is successful and I get the graphical directory tree. Looking in the server logs I see the actual request was for '/devdocs/' (one trailing slash). In the graphical directory tree, clicks on actual files works fine, but clicking on directories does not.
Before anyone goes any further, I will be happy to eat Humple Pie again if this can be fixed with a configuration tweak!!!
Best regards,
Jonathan
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service