The case of the vanishing Hostname
From: gene bomgardner <Gene_at_Bomgardner.net>
Date: 2005-10-12 19:11:03 CEST
-- Hi all: I’m a Subversion newbie and I’ve run into a problem. I’ve been attempting to get Subversion 1.1.4 to work with apache 2.0.53 on a FreeBSD 5.3 system. When using an http type url, the hostname seems to get lost. The example below shows the creation of a repository and attempts to import a single directory with two files and check them out. Following are directory listings with owner, group, and modes shown, followed by entries from httpd.conf. All below was done as root. Any help will be appreciated. Thanks. Gene The following operations were performed: brightstar# svnadmin create /usr/local/svn/testrepos brightstar# brightstar# svn import test http:///localhost/svn/testrepos %>< snip text editor output File svn-commit.tmp saved. svn: PROPFIND request failed on '/localhost/svn/testrepos' svn: PROPFIND of '/localhost/svn/testrepos': Could not resolve hostname `': Host not found (http://) brightstar# svn import test file:///usr/local/svn/testrepos File svn-commit.tmp saved. Adding test/foo1.c Adding test/foo2.c Committed revision 1. brightstar# svn co http:///localhost/svn/testrepos/trunksvn: PROPFIND request failed on '/usr/local/svn/testrepos/trunk' svn: PROPFIND of '/usr/local/svn/testrepos/trunk': Could not resolve hostname `': Host not found (http://) brightstar# svn co file:///usr/local/svn/testrepos/trunk A testrepos/foo1.c A testrepos/foo2.c Checked out revision 1. ================================================ Directories, files, etc: brightstar# ls /usr/local drwxr-xr-x 5 svn svn 512B Oct 12 11:14 svn brightstar# ll /usr/local/svn drwxr-xr-x 7 root svn 512B Oct 12 11:14 testrepos /usr/local/svn/testrepos: -rw-r--r-- 1 root svn 379B Oct 12 11:14 README.txt drwxr-xr-x 2 root svn 512B Oct 12 11:14 conf drwxr-xr-x 2 root svn 512B Oct 12 11:14 dav drwxr-sr-x 2 root svn 512B Oct 12 11:14 db -r--r--r-- 1 root svn 2B Oct 12 11:14 format drwxr-xr-x 2 root svn 512B Oct 12 11:14 hooks drwxr-xr-x 2 root svn 512B Oct 12 11:14 locks ============================================== >From httpd.conf; LoadModule dav_module libexec/apache2/mod_dav.so LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so # #Subversion repositories # <Location /svn> DAV svn SVNParentPath /usr/local/svn/ Order allow,deny Allow from all </Location> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Wed Oct 12 19:12:54 2005 |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.