Hello,

I'm using Apache 2.2.9, subversion 1.4.6-7, mod_dav_svn 1.4.6-7 on Fedora Core 
9.

I want to access Subversion via apache as webdav.
I has set up my apache like this

<VirtualHost *:80>
        ServerName 192.168.1.9
        DocumentROOT "/var/www/ip/public_html/"
        DavLockDB /var/www/ip/DavLock
        <Location /dav>
                Dav on
        </Location>
        <Location /svn>
                DAV svn
                SVNPath /var/svn/reps/ip
                SVNAutoversioning on
        </Location>
</VirtualHost>

Of course I added
LoadModule dav_svn_module     modules/mod_dav_svn.so
and
    BrowserMatch “Microsoft-WebDAV-MiniRedir" redirect-carefully



Then I tried to do mapping from command line in Vista SP1( Vista Ultimate 
Japanese SP1, WebDAV Mini-Redirector(MRXDAV.SYS)6.0.6001.22167, service 
“webclient” running )


net use P: http://myserver/dav/  <=== I success.

net use Q: http://myserver/svn/  <=== I cannot success.

System error 67 has occurred.
The network name cannot be found.  (displayed in Japanese)


And also I can access to http://myserver/svn/ from another webdav client.
Windows have another way “network place” to access webdav, but I want to map 
webdav to a drive.
But I want to drive-map!
Please help me.




There are logs that I tried to access. And I could not find any error in 
apache’s error log.


####  when I did "net use P: http://myserver/svn/";
#1 Client => Server
OPTIONS / HTTP/1.1
translate: f
User-Agent: Microsoft-WebDAV-MiniRedir/6.0.6001
Host: 192.168.1.9
Content-Length: 0
Connection: Keep-Alive


#2 Client <= Server
HTTP/1.1 200 OK
Date: Fri, 30 Jan 2009 13:25:53 GMT
Server: Apache/2.2.9 (Fedora)
Allow: GET,HEAD,POST,OPTIONS,TRACE
Content-Length: 0
Connection: close
Content-Type: httpd/unix-directory


#3 Client => Server
PROPFIND /svn HTTP/1.1
Content-Length: 0
Depth: 0
translate: f
User-Agent: Microsoft-WebDAV-MiniRedir/6.0.6001
Host: 192.168.1.9
Connection: Keep-Alive


#4 Client <= Server
HTTP/1.1 207 Multi-Status
Date: Fri, 30 Jan 2009 13:25:53 GMT
Server: Apache/2.2.9 (Fedora)
Content-Length: 1227
Connection: close
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response xmlns:S="http://subversion.tigris.org/xmlns/svn/"; 
xmlns:C="http://subversion.tigris.org/xmlns/custom/"; 
xmlns:V="http://subversion.tigris.org/xmlns/dav/"; xmlns:lp1="DAV:" 
xmlns:lp3="http://subversion.tigris.org/xmlns/dav/"; 
xmlns:lp2="http://apache.org/dav/props/";>
<D:href>/svn/</D:href>
<D:propstat>
<D:prop>
<lp1:resourcetype><D:collection/></lp1:resourcetype>
<lp1:getcontenttype>text/html; charset=UTF-8</lp1:getcontenttype>
<lp1:getetag>W/"2//"</lp1:getetag>
<lp1:creationdate>2009-01-30T13:14:08.558051Z</lp1:creationdate>
<lp1:getlastmodified>Fri, 30 Jan 2009 13:14:08 GMT</lp1:getlastmodified>
<lp1:checked-in><D:href>/svn/!svn/ver/2/</D:href></lp1:checked-in>
<lp1:version-controlled-configuration><D:href>/svn/!svn/vcc/default</D:href></lp1:version-controlled-configuration>
<lp1:version-name>2</lp1:version-name>
<lp1:auto-version>DAV:checkout-checkin</lp1:auto-version>
<lp3:baseline-relative-path/>
<lp3:repository-uuid>b3951912-1cf2-414a-bb97-3eef5abec5be</lp3:repository-uuid>
<lp3:deadprop-count>0</lp3:deadprop-count>
<D:lockdiscovery/>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>

Then the system error 67 is displayed on Client.



####For your information, This is the log to drive-map to apache native dav of 
the same server and apache. I did "net use Q: http://myserver/dav/";, and I 
success to map.
#1 Client => Server
OPTIONS / HTTP/1.1
translate: f
User-Agent: Microsoft-WebDAV-MiniRedir/6.0.6001
Host: 192.168.1.9
Content-Length: 0
Connection: Keep-Alive


#2 Client <= Server
HTTP/1.1 200 OK
Date: Sun, 01 Feb 2009 08:38:41 GMT
Server: Apache/2.2.9 (Fedora)
Allow: GET,HEAD,POST,OPTIONS,TRACE
Content-Length: 0
Connection: close
Content-Type: httpd/unix-directory


#3 Client=> Server
PROPFIND /dav HTTP/1.1
Content-Length: 0
Depth: 0
translate: f
User-Agent: Microsoft-WebDAV-MiniRedir/6.0.6001
Host: 192.168.1.9
Connection: Keep-Alive


#4 Client <= Server
HTTP/1.1 207 Multi-Status
Date: Sun, 01 Feb 2009 08:38:41 GMT
Server: Apache/2.2.9 (Fedora)
Content-Length: 894
Connection: close
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response xmlns:lp1="DAV:" 
xmlns:lp3="http://subversion.tigris.org/xmlns/dav/"; 
xmlns:lp2="http://apache.org/dav/props/";>
<D:href>/dav/</D:href>
<D:propstat>
<D:prop>
<lp1:resourcetype><D:collection/></lp1:resourcetype>
<lp1:creationdate>2009-01-30T10:10:24Z</lp1:creationdate>
<lp1:getlastmodified>Fri, 30 Jan 2009 10:10:19 GMT</lp1:getlastmodified>
<lp1:getetag>"45e0f5-1000-461b0698058c0"</lp1:getetag>
<D:supportedlock>
<D:lockentry>
<D:lockscope><D:exclusive/></D:lockscope>
<D:locktype><D:write/></D:locktype>
</D:lockentry>
<D:lockentry>
<D:lockscope><D:shared/></D:lockscope>
<D:locktype><D:write/></D:locktype>
</D:lockentry>
</D:supportedlock>
<D:lockdiscovery/>
<D:getcontenttype>httpd/unix-directory</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>


#5 Client => Server
PROPFIND /dav HTTP/1.1
Content-Length: 0
Depth: 0
translate: f
User-Agent: Microsoft-WebDAV-MiniRedir/6.0.6001
Host: 192.168.1.9
Connection: Keep-Alive


#6 Client <= Server
HTTP/1.1 301 Moved Permanently
Date: Sun, 01 Feb 2009 08:38:41 GMT
Server: Apache/2.2.9 (Fedora)
Location: http://192.168.1.9/dav/
Content-Length: 307
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://192.168.1.9/dav/";>here</a>.</p>
<hr>
<address>Apache/2.2.9 (Fedora) Server at 192.168.1.9 Port 80</address>
</body></html>


#7 Client => Server
PROPFIND /dav/ HTTP/1.1
Content-Length: 0
Depth: 0
translate: f
User-Agent: Microsoft-WebDAV-MiniRedir/6.0.6001
Host: 192.168.1.9
Connection: Keep-Alive


#8 Client <= Server
HTTP/1.1 207 Multi-Status
Date: Sun, 01 Feb 2009 08:38:41 GMT
Server: Apache/2.2.9 (Fedora)
Content-Length: 894
Connection: close
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response xmlns:lp1="DAV:" 
xmlns:lp3="http://subversion.tigris.org/xmlns/dav/"; 
xmlns:lp2="http://apache.org/dav/props/";>
<D:href>/dav/</D:href>
<D:propstat>
<D:prop>
<lp1:resourcetype><D:collection/></lp1:resourcetype>
<lp1:creationdate>2009-01-30T10:10:24Z</lp1:creationdate>
<lp1:getlastmodified>Fri, 30 Jan 2009 10:10:19 GMT</lp1:getlastmodified>
<lp1:getetag>"45e0f5-1000-461b0698058c0"</lp1:getetag>
<D:supportedlock>
<D:lockentry>
<D:lockscope><D:exclusive/></D:lockscope>
<D:locktype><D:write/></D:locktype>
</D:lockentry>
<D:lockentry>
<D:lockscope><D:shared/></D:lockscope>
<D:locktype><D:write/></D:locktype>
</D:lockentry>
</D:supportedlock>
<D:lockdiscovery/>
<D:getcontenttype>httpd/unix-directory</D:getcontenttype>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>


#9 Client <=> Server (principal text only)
PROPFIND /dav/VIDEO_TS HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)
PROPFIND /dav/AUDIO_TS HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)
PROPFIND /dav/DVD_RTAV HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)
PROPFIND /dav/VCD/ENTRIES.VCD HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)
PROPFIND /dav/MPEGAV HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)
PROPFIND /dav/SVCD/ENTRIES.SVD HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)
PROPFIND /dav/HQVCD/ENTRIES.VCD HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)
PROPFIND /dav/VIDEO_RM HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)
PROPFIND /dav/HIGHMAT HTTP/1.1 
HTTP/1.1 404 Not Found  (text/html)


Then the success message is displayed.
There are some differences between svn and dav. 


I’m looking forward to hear from you.

Thank you.


Tetsuya Suga

--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to