Index: configure.in
===================================================================
--- configure.in	(revision 13935)
+++ configure.in	(working copy)
@@ -750,6 +750,7 @@
 SVN_CONFIG_SCRIPT(tools/hook-scripts/commit-email.pl)
 SVN_CONFIG_SCRIPT(tools/hook-scripts/propchange-email.pl)
 SVN_CONFIG_SCRIPT(subversion/bindings/swig/perl/native/Makefile.PL)
+SVN_CONFIG_SCRIPT(subversion/tests/clients/cmdline/dav-test.conf)
 
 AC_OUTPUT
 
Index: subversion/tests/clients/cmdline/dav-test.users
===================================================================
--- subversion/tests/clients/cmdline/dav-test.users	(revision 0)
+++ subversion/tests/clients/cmdline/dav-test.users	(revision 0)
@@ -0,0 +1,2 @@
+jrandom:xCGl35kV9oWCY
+jconstant:xCGl35kV9oWCY
Index: subversion/tests/clients/cmdline/dav-test.conf.in
===================================================================
--- subversion/tests/clients/cmdline/dav-test.conf.in	(revision 0)
+++ subversion/tests/clients/cmdline/dav-test.conf.in	(revision 0)
@@ -0,0 +1,31 @@
+<IfModule !mod_dav.c>
+  LoadModule dav_module modules/mod_dav.so
+</IfModule>
+<IfModule !mod_auth.c>
+  LoadModule auth_module modules/mod_auth.so
+</IfModule>
+
+ErrorLog @abs_top_builddir@/subversion/tests/clients/cmdline/dav-test-error.log
+PidFile @abs_top_builddir@/dav-test.pid
+
+LoadModule dav_svn_module @abs_top_builddir@/subversion/mod_dav_svn/.libs/mod_dav_svn.so
+LoadModule authz_svn_module @abs_top_builddir@/subversion/mod_authz_svn/.libs/mod_authz_svn.so
+
+<Location /repositories>
+   DAV svn
+   SVNParentPath @abs_top_builddir@/subversion/tests/clients/cmdline/repositories
+   AuthType Basic
+   AuthName "Subversion Repository"
+   AuthUserFile @abs_top_srcdir@/subversion/tests/clients/cmdline/dav-test.users
+   Require valid-user
+</Location>
+     
+<Location /local_tmp/repos>
+   DAV svn
+   SVNPath @abs_top_builddir@/subversion/tests/clients/cmdline/local_tmp/repos
+   AuthType Basic
+   AuthName "Subversion Repository"
+   AuthUserFile @abs_top_srcdir@/subversion/tests/clients/cmdline/dav-test.users
+   Require valid-user
+</Location>
+
Index: subversion/tests/clients/cmdline/README
===================================================================
--- subversion/tests/clients/cmdline/README	(revision 13935)
+++ subversion/tests/clients/cmdline/README	(working copy)
@@ -44,46 +44,29 @@
 set up httpd 2.0 first (on the same machine, since the tests create
 repositories on the fly), and pass a URL argument to the test scripts.
 
-Assuming you have httpd 2.0 installed in /usr/local/apache2, just add
-two Location directives to /usr/local/apache2/conf/httpd.conf, with
-paths adjusted appropriately:
+Assuming you have httpd 2.0 installed in /usr/local/apache2, just run
+Apache as follows:
 
-   <Location /repositories>
-     DAV svn
-     SVNParentPath /home/yourusernamehere/projects/svn/subversion/tests/clients/cmdline/repositories
-     AuthType Basic
-     AuthName "Subversion Repository"
-     AuthUserFile /usr/local/apache2/conf/users
-     Require valid-user
-   </Location>
-     
-   <Location /local_tmp/repos>
-     DAV svn
-     SVNPath /home/yourusernamehere/projects/svn/subversion/tests/clients/cmdline/local_tmp/repos
-     AuthType Basic
-     AuthName "Subversion Repository"
-     AuthUserFile /usr/local/apache2/conf/users
-     Require valid-user
-   </Location>
+sudo /usr/local/apache2/bin/httpd -C 'Listen 80' \
+-C 'User youruser' -C 'Group yourgroup' \
+-f /home/jrandom/projects/svn/subversion/tests/clients/cmdline/dav-test.conf
 
-Httpd should be running on port 80.  You may also need to ensure that
-it's running as you, so it has read/write access to the repositories
-that are probably living in your Subversion working copy.  To do this,
-set the User and Group directives in httpd.conf, something like this:
+This will run httpd on port 80 as your user and group.  The User and Group
+part is necessary to allow httpd read/write access to that repositories.
 
-   User yourusernamehere
-   Group users
+Note that the path to the dav-test.conf file must be specified as an absolute
+path.  Otherwise Apache will be unable to find the configuration file as it
+will look for it relative to whatever ServerRoot it was compiled with.
 
-You need to run the tests over ra_dav with authentication enabled, so
-just drop the following 2-line snippet into the
-/usr/local/apache2/conf/users file:
+If you don't want to run Apache as root or simply don't have root access
+you can use the following command to start Apache:
 
-----------------------------
-jrandom:xCGl35kV9oWCY
-jconstant:xCGl35kV9oWCY
-----------------------------
+/usr/local/apache2/bin/httpd -C 'Listen 8000' \
+-f /home/jrandom/projects/svn/subversion/tests/clients/cmdline/dav-test.conf
 
-Now, (re)start Apache and run the tests over ra_dav.
+Note that you probably have to use an alternate port other than 80 when not
+starting Apache as root since most sytems do not allow non-root users to bind
+to ports under 1024.
 
 You can run a test script over ra_dav:
 


