Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Portable Windriver (http://www.chiefdelphi.com/forums/showthread.php?t=76825)

pyr0b0y 27-04-2009 19:35

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?

byteit101 28-04-2009 15:33

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)?

pyr0b0y 28-04-2009 16:27

Re: Portable Windriver
 
Quote:

Originally Posted by byteit101 (Post 855694)
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)?

I tried it without the # sign at first, but then i get errors, so i tried it with the # sign and just came up with the DAV error

byteit101 28-04-2009 21:11

Re: Portable Windriver
 
Quote:

Originally Posted by pyr0b0y (Post 855700)
I tried it without the # sign at first, but then i get errors, so i tried it with the # sign and just came up with the DAV error

OOps! # is the comment, not ; I was thinking php.ini :D
you want it without the # sign to uncomment it (what is the error?)

pyr0b0y 30-04-2009 13:19

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>

the error that get is


byteit101 30-04-2009 15:17

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

pyr0b0y 30-04-2009 17:55

Re: Portable Windriver
 
I tried what you said and made sure i install subversion with apache 2.2.x I also double checked that both .so files were in both locations. This is the error that I am getting now.


byteit101 01-05-2009 16:59

Re: Portable Windriver
 
could you post the last 30 or so lines from (apache)/logs/error.log?

pyr0b0y 04-05-2009 20:56

Re: Portable Windriver
 
Code:

Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.11 (Win32) configured -- resuming normal operations
[Fri Apr 24 23:03:57 2009] [notice] Server built: Dec 10 2008 00:10:06
[Fri Apr 24 23:03:57 2009] [notice] Parent: Created child process 4636
[Fri Apr 24 23:03:58 2009] [notice] Child 4636: Child process is running
[Fri Apr 24 23:03:58 2009] [notice] Child 4636: Acquired the start mutex.
[Fri Apr 24 23:03:58 2009] [notice] Child 4636: Starting 64 worker threads.
[Fri Apr 24 23:03:58 2009] [notice] Child 4636: Starting thread to listen on port 80.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Mon Apr 27 17:58:11 2009] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Apr 27 17:58:11 2009] [notice] Apache/2.2.11 (Win32) configured -- resuming normal operations
[Mon Apr 27 17:58:11 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Apr 27 17:58:11 2009] [notice] Parent: Created child process 2384
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Mon Apr 27 17:58:11 2009] [notice] Child 2384: Child process is running
[Mon Apr 27 17:58:11 2009] [notice] Child 2384: Acquired the start mutex.
[Mon Apr 27 17:58:11 2009] [notice] Child 2384: Starting 64 worker threads.
[Mon Apr 27 17:58:11 2009] [notice] Child 2384: Starting thread to listen on port 80.
[Thu Apr 30 14:51:13 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 30 14:51:14 2009] [notice] Child 2384: Exit event signaled. Child process is ending.
[Thu Apr 30 14:51:15 2009] [notice] Child 2384: Released the start mutex
[Thu Apr 30 14:51:16 2009] [notice] Child 2384: All worker threads have exited.
[Thu Apr 30 14:51:16 2009] [notice] Child 2384: Child process is exiting
[Thu Apr 30 14:51:17 2009] [notice] Parent: Child process exited successfully.


byteit101 05-05-2009 22:03

Re: Portable Windriver
 
hmm,
your httpd.conf looks like this (at the end)?
#make sure its /svn not /svn/
<Location /svn>

DAV svn

SVNListParentPath on

#same here, also remove the /**/ comment
SVNParentPath C:/Repositories
</Location>
restart the server, and tell me if it works now

pyr0b0y 06-05-2009 01:20

Re: Portable Windriver
 
thanks a lot, that finally worked, so now i can access the repo from a remote location by using the server computer address correct?

byteit101 06-05-2009 19:55

Re: Portable Windriver
 
yes, on the network, (if your ip is 192.168.1.103 (use ipconfig))
file>new project: SVN+new project from svn: http://192.168.1.103/svn OK

Over the internet, you need to configure the router to send port 80 traffic to the computer that has the repos on it, then google what is my ip, and click teh first result, and (pretending it is 72.123.852.95) you would enter in the new repos location box http://72.123.852.95/svn

I would look at the help on it to (in the help menu, and google svn book) learn about commiting, updating and stuff


All times are GMT -5. The time now is 12:18.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi