logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Basic question. Local server configuration with svn
Author
warlock07



Joined: 06 Apr 2011
Posts: 1
Location: United States

PostPosted: Wed 06 Apr '11 16:17    Post subject: Basic question. Local server configuration with svn Reply with quote

Apologies if its a very basic question. But I have very limited knowledge of Apache.
I've setup 3 local Apache Web servers with one of them having a SVN repository. I cannot access the repository on this server from the local network. The server is viewable but some how trying to access the repository is not working. What part of the httpd conf file should I be more aware/concerned about regarding this ?
my configuration for the repo directory is as such


Quote:
<Location "C:/Repo/project">
DAV svn
#SVNPath C:/Repo/project/
SVNParentPath C:/Repo
SVNListParentPath On
</Location>


<Directory "C:/Repo/project">
Options Indexes FollowSymLinks
AllowOverride All
Dav On
Order Deny,Allow
Allow from All
</Directory>

Alias /lively "C:/Repo/project"



And I try to access the repository through
Quote:
http://Weserveraddress/project/index.html
from other servers in the Local network
Thanks a lot in advance. Configuring the server is taking a lot of time off my main project


Note: Also any suggestion on good apache books for absolute beginners. Most of the books are too old/outdated for my comfort. The online documentation is not too beginner friendly in my case
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7407
Location: EU, Germany, Next to Hamburg

PostPosted: Thu 07 Apr '11 10:13    Post subject: Reply with quote

Your issue is in location. Location is not a path in the file system, but a URL part.
Code:

<Location "/lively">
DAV svn
SVNParentPath C:/Repo/project/
SVNPathAuthz Off
#AuthType Basic
#AuthName "My repos"
#AuthUserFile C:/Repo/.htpasswd
</Location>

<Directory "C:/Repo/project">
Options Indexes FollowSymLinks
AllowOverride All
Order Deny,Allow
Allow from All
</Directory>


the subversion book offers some nice documentation for svn with apache.

http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html
Back to top


Reply to topic   Topic: Basic question. Local server configuration with svn View previous topic :: View next topic
Post new topic   Forum Index -> Apache