11.07.2015 Views

Version Control with Subversion - Login

Version Control with Subversion - Login

Version Control with Subversion - Login

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Subversion</strong> Complete ReferenceNamemod_dav_svn Configuration Directives — Apache configuration directives for serving <strong>Subversion</strong>repositories through the Apache HTTP Server.DescriptionDirectivesThis section briefly describes each <strong>Subversion</strong> Apache configuration directive. For an indepthdescription of configuring Apache <strong>with</strong> <strong>Subversion</strong>, see the section called “httpd, theApache HTTP Server”.)These are the httpd.conf directives that apply to mod_dav_svn:DAV svnMust be included in any Directory or Location block for a <strong>Subversion</strong> repository. Ittells httpd to use the <strong>Subversion</strong> backend for mod_dav to handle all requests.SVNAllowBulkUpdates On|OffToggles support for all-inclusive responses to update-style REPORT requests. <strong>Subversion</strong>clients use REPORT requests to get information about directory tree checkouts andupdates from mod_dav_svn. They can ask the server to send that information in oneof two ways: <strong>with</strong> the entirety of the tree's information in one massive response, or <strong>with</strong>a skelta (a skeletal representation of a tree delta) which contains just enough informationfor the client to know what additional data to request from the server. When thisdirective is included <strong>with</strong> a value of Off, mod_dav_svn will only ever respond to theseREPORT requests <strong>with</strong> skelta responses, regardless of the type of responses requestedby the client.Most folks won't need to use this directive at all. It primarily exists for administratorswho wish—for security or auditing reasons—to force <strong>Subversion</strong> clients to fetch individuallyall the files and directories needed for updates and checkouts, thus leaving anaudit trail of GET and PROPFIND requests in Apache's logs. The default value of thisdirective is On.SVNAutoversioning On|OffWhen its value is On, allows write requests from WebDAV clients to result in automaticcommits. A generic log message is auto-generated and attached to each revision. Ifyou enable autoversioning, you'll likely want to set ModMimeUsePathInfo On so thatmod_mime can set svn:mime-type to the correct MIME type automatically (as bestas mod_mime is able to, of course). For more information, see Appendix C, WebDAVand Autoversioning. The default value of this directive is Off.SVNPath directory-pathSpecifies the location in the filesystem for a <strong>Subversion</strong> repository's files. In a configurationblock for a <strong>Subversion</strong> repository, either this directive or SVNParentPath mustbe present, but not both.SVNSpecialURI componentSpecifies the URI component (namespace) for special <strong>Subversion</strong> resources. The defaultis !svn, and most administrators will never use this directive. Set this only if thereis a pressing need to have a file named !svn in your repository. If you change this ona server already in use, it will break all of the outstanding working copies, and yourusers will hunt you down <strong>with</strong> pitchforks and flaming torches.SVNReposName nameSpecifies the name of a <strong>Subversion</strong> repository for use in HTTP GET responses. Thisvalue will be prepended to the title of all directory listings (which are served when you346

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!