|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Portable Windriver
OK, so i created the repos and have created users and put them into different groups. i tried the url, got the certificate, but i am not able to log into it from remote computers, do i have to set some type of permissions or use the ip address?
I just need to be able to access the repo from different computers. Last edited by pyr0b0y : 24-04-2009 at 15:15. |
|
#2
|
||||
|
||||
|
Re: Portable Windriver
you need to install apache (at least that is how i could only get it to work)
just google apache, download and install 2.2 (fromhttp://www.codeproject.com/KB/winsdk/SubversionApache.aspx) When the installation is finished, go to the bin directory within the Subversion installation, find two files with extension *.so, and put them into the (Apache)/modules directory. The files are mod_authz_svn.so and mod_dav_svn.so. Go to the conf sub-directory within the Apache installation directory and open the httpd.conf file in any text editor. Add the following lines: LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so Now assuming your reposotory is at C:\svns\repos1 and you want to redirect localhost/svn to it, add this to the httpd.conf: <Location /svn> DAV svn SVNListParentPath on SVNParentPath C:/svns </Location> If you get an error, tell me |
|
#3
|
||||
|
||||
|
Re: Portable Windriver
once you do that restart apache( or restart the computer), and if that computer's ip address is 192.168.101, on another computr (same network) type in http://192.168.1.101/svn
your web browser, you should see your repository there, now you can access it from other computers then from windriver, new, project> from svn, new connection to http://192.168.1.101/svn/yourrepoitory and finish out the dialog. read the WR help for more details |
|
#4
|
|||
|
|||
|
Re: Portable Windriver
[EDIT] Actually i followed the directions with editing the httpd file, but when i restart apache i get this error message:
Code:
Invalid command 'DAV', perhaps misspelled or defined by a module not included in the server configuration Last edited by pyr0b0y : 25-04-2009 at 17:41. |
|
#5
|
||||
|
||||
|
Re: Portable Windriver
did you go to the bin directory within the Subversion installation, find two files with extension *.so, and put them into the (Apache)/modules directory. The files are mod_authz_svn.so and mod_dav_svn.so
also make sure all three lines below are in httpd.conf (and restart apache after you modify it) LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so If that does not work, copy C:\Program Flies\Subversion\libapr-1.dll and libapriconv-1.dll to (apache)\bin and replace the current ones |
|
#6
|
||||
|
||||
|
Re: Portable Windriver
I think you need WebDAV not DAV. Not sure though
|
|
#7
|
||||
|
||||
|
Re: Portable Windriver
no, you need DAV, but you can have WebDAV if you really want. DAV is part of SVN. DAV is related to WebDAV, but different (I think)
EDIT: I dont have WebDAV on my server, just DAV, and Subversion Works fine |
|
#8
|
|||
|
|||
|
Re: Portable Windriver
i retried everything you just said, but i still get the same error, is there any other way to do it besides using apache?
|
|
#9
|
||||
|
||||
|
Re: Portable Windriver
I think you can do something like svn://x.y.z.q/repositories/path/not/ending/in/a/slash
never tried that. are you sure that in (apache)/conf/httpd.conf you have the line LoadModule dav_module modules/mod_dav.so uncommented (without a semicolon at the beginning)? |
|
#10
|
|||
|
|||
|
Re: Portable Windriver
Quote:
|
|
#11
|
||||
|
||||
|
Re: Portable Windriver
Quote:
you want it without the # sign to uncomment it (what is the error?) |
|
#12
|
|||
|
|||
|
Re: Portable Windriver
This is what i inserted in the httpd file
Code:
LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so <Location /svn/> DAV svn SVNListParentPath on SVNParentPath C:/Repositories /* This is where my default folder is */ </Location> ![]() |
|
#13
|
||||
|
||||
|
Re: Portable Windriver
recopy mod_dav_svn.so to the modules dir from the svn dir. if that does not work, reinstall subversion (existing repositories will be kept)
EDIT: and of course, re-copy it |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: 1726 - portable OI | TheOtherGuy | Extra Discussion | 1 | 07-03-2008 18:53 |
| paper: Portable Inspiration | Phil Ross | Extra Discussion | 2 | 02-11-2007 11:26 |
| Portable Software | Pavan Dave | General Forum | 17 | 23-07-2007 09:07 |
| Portable Racks | aksimhal | General Forum | 8 | 02-05-2007 12:46 |
| Portable IDE | Nitinol | Programming | 14 | 04-02-2007 03:23 |