DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26478

mod_dav does not expose a method for setting the Dav:source property for files 
in the repository

           Summary: mod_dav does not expose a method for setting the
                    Dav:source property for files in the repository
           Product: Apache httpd-2.0
           Version: 2.0.48
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_dav
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


RFC 2518 Section 10.3 describes the Dav:source property as a means for exposing
the uri of the source resource (as opposed to the output resource) of a given
entity i.e. the source code of a .php file as opposed to the html that it 
generates.

It would be great if mod_dav had a directive that could be specified in
httpd.conf to set the Dav:source URI for a given set of files.

eg.

AliasMatch ^/dav/(\w*)\.php /dav/$1\.php-src

<LocationMatch /dav/\w*\.php-src>
  Require valid-user
</LocationMatch>

DAVSourceMap ^/dav/(\w*)\.php /dav/$1\.php-src

This would allow a WebDAV client to automatically determine which file to "GET"
depending on whether the user wanted to view or edit the file.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to