| 
 
 
 | 
| Keep Server Online 
 If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
 
 or
 
 
   
 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.
 |  | 
 | 
| | 
| | 
|  Topic: httpd.conf LOCATION error |  |  
| Author |  |  
| sc 
 
 
 Joined: 12 Dec 2007
 Posts: 1
 
 
 | 
|  Posted: Wed 12 Dec '07 2:33    Post subject: httpd.conf LOCATION error |   |  
| 
 |  
| Hi, all. I got error from httpd.conf and needs your help.
 
 I installed SVN and apache on winXP machine.  In the filesystem, I created two directories:
 
 d:\svn\repos
 d:\test\repos
 
 I also load SVN modules in apache and at the end of httpd.conf, I use LOCATION directive for directories configuration:
 
 
 ############ 1 ##############
 <Location /svn/repos>
 DAV svn
 SVNPath  "d:\svn\repos"
 </Location>
 
 <Directory "/svn/repos">
 Options Indexes FollowSymLinks
 AllowOverride None
 Order allow,deny
 Allow from all
 </Directory>
 
 Alias /svn "/svn/repos"
 
 ############ 2 ##############
 <Location "/testonly">
 DAV svn
 SVNPath "D:/test/repos"
 </Location>
 
 <Directory "/testonly">
 Options Indexes FollowSymLinks
 AllowOverride None
 Order allow,deny
 Allow from all
 </Directory>
 
 Alias /testit "/testonly"
 
 ############ 3 ##############
 <Location "/test/repos">
 DAV svn
 SVNPath "D:/test/repos"
 </Location>
 
 <Directory "/test/repos">
 Options Indexes FollowSymLinks
 AllowOverride None
 Order allow,deny
 Allow from all
 </Directory>
 
 Alias /testagain "/test/repos"
 
 case 1
 http://apacheserver/svn/index.html
 case 2
 http://apacheserver/testit/index.html
 case 3
 http://apacheserver/testagain/index.html
 
 
 Only case 1 and case 3 work.  Why case 2 does not work?  Must url string
 in LOCATION directive match the physical path?
 
 I thought it is a virtual one and could be any string.
 
 Thanks in advance.
 
 cs
 |  |  
| Back to top |  |  
| glsmith Moderator
 
  
 Joined: 16 Oct 2007
 Posts: 2268
 Location: Sun Diego, USA
 
 | 
|  Posted: Wed 12 Dec '07 6:58    Post subject: |   |  
| 
 |  
| Just making an assumtion, Apache is on the C drive? 
 If so, make all location and directories d:/this and d:/that
 |  |  
| Back to top |  |  
 
 | 
 |  | 
 |  |