RE: Apache Conf. Issue - SVN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony,

That occurred to me after I sent that last message, but upon swapping the
two location blocks and restarting Apache, I still get the same result.
That part of the VirtualHost declaration looks like this right now ...

	<Location "/htdocs" >
		DAV off
	</Location>

	<Location "/" >
		DAV svn

		SVNParentPath		"F:\Repositories"
		SVNListParentPath	on
		SVNIndexXSLT		"/htdocs/svnindex.xsl"

		AuthName		"Subversion Repositories"
		AuthType		Basic
		AuthBasicProvider	file
		AuthUserFile		"F:/Repositories/htpasswd"
		AuthzSVNAccessFile	"F:/Repositories/authz"

		require valid-user
	</Location>

Do I need something else in the <Location "/htdocs" > block to make it
handle calls correctly instead of passing them on to the second <Location
"/" >?

Thanks
-- Jeff


-----Original Message-----
From: Tony Stevenson [mailto:tony@xxxxxxxxxxx] 
Sent: Monday, October 06, 2008 11:30 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Apache Conf. Issue - SVN

Jeff,

Re-order your <location> stanzas.  So that <location /htodcs> is before
<location />  as at the moment in the order you have them, the / stanza
takes precedence.


Cheers,
Tony


Jeff Chastain wrote:
> Krist,
> 
>> What happens if you try to request this directly in a browser, eg. you
try
> to request: https://svn.mydomain.com/htdocs/svindex.xsl
> 
> Going to that url results in the error message "Could not open the
requested
> SVN filesystem" being displayed, which sounds like Subversion / DAV is
still
> trying to process this url instead of letting Apache handle it.  The
message
> in the error log file is very similar ...
> 
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] (20014)Internal
> error: Can't open file 'F:\\Repositories\\svnindex.xsl\\format': The
system
> cannot find the path specified.  
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not fetch
> resource information.  [500, #0]
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not open
the
> requested SVN filesystem  [500, #720003]
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not open
the
> requested SVN filesystem  [500, #720003]
> 
> I believe this is the root of the issues in that SVN / DAV is handling all
> requests.
> 
> Thanks
> -- Jeff
> 
> 
> -----Original Message-----
> From: Krist van Besien [mailto:krist.vanbesien@xxxxxxxxx] 
> Sent: Monday, October 06, 2008 11:05 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  Apache Conf. Issue - SVN
> 
> On Mon, Oct 6, 2008 at 4:50 PM, Jeff Chastain <lists@xxxxxxxxxxxx> wrote:
> 
> 
>> But, yeah, if I had
>> thought through it I would have realized that you are not supposed to be
>> able to do this and can't with IIS at least.
> 
> You can't do this with Apache nor with IIS ,and it has nothing to do
> with a limitation of the software. The problem is in the SSL
> protocol..
> 
> 
>> For the SVN virtual host, the documentRoot parameter is set to
"C:/Program
>> Files/VisualSVN Server".  Within the "/" location block, the SVNIndexXSLT
>> parameter is set to "/htdocs/svnindex.xsl", thus the full file system
path
>> to the XSLT file is "C:/Program Files/VisualSVN
> Server/htdocs/svnindex.xsl"
>> which is correct and valid.
> 
> What happens If you try to request this directly in a browser, eg. you
> try to request:
> https://svn.mydomain.com/htdocs/svindex.xsl
> It could be that the sever just won't allow you to get the file.
> Also check what the error log says. When you get an error code usually
> there will be something in the errorlog indicating what might be the
> problem.
> 
> Krist
> 
> 


-- 


-----------------------------------------
Tony Stevenson
tony@xxxxxxxxxxx  //  pctony@xxxxxxxxxx
http://www.pc-tony.com/

1024D/51047D66 ECAF DC55 C608 5E82 0B5E  3359 C9C7 924E 5104 7D66
-----------------------------------------

---------------------------------------------------------------------
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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux