You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Patrick Krekelberg <pa...@bellapk.com> on 2008/07/08 17:54:28 UTC

SVNIndexXSLT when Location is /

I understand that this is the typical usage for SVNIndexXSLT:

<Location /svn>
DAV svn
..
..
SVNIndexXSLT "/myindex.xsl"
..
</Location>

Wherein the XSL file is at the DocumentRoot. However, I have a unique  
case I haven't yet seen addressed. My configuration looks like this:

<Location />
DAV svn
..
..
SVNIndexXSLT "/somepath/myindex.xsl"
..
</Location>

We do this so we can keep our URL's clean, as in https://svn.mydomain.com/myRepo/etc/ 
  So the server never looks to DocumentRoot and assumes everything  
beyond / is a repository. Is there a way using Location within my  
virtualhost to set up a path which has DAV disabled, where I can place  
the XSLT files?

Thanks,
-Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVNIndexXSLT when Location is /

Posted by Patrick Krekelberg <pa...@bellapk.com>.
On Jul 8, 2008, at 1:48 PM, Ryan Schmidt wrote:

>
> On Jul 8, 2008, at 12:54, Patrick Krekelberg wrote:
>
>> I understand that this is the typical usage for SVNIndexXSLT:
>>
>> <Location /svn>
>> DAV svn
>> ..
>> ..
>> SVNIndexXSLT "/myindex.xsl"
>> ..
>> </Location>
>>
>> Wherein the XSL file is at the DocumentRoot. However, I have a  
>> unique case I haven't yet seen addressed. My configuration looks  
>> like this:
>>
>> <Location />
>> DAV svn
>> ..
>> ..
>> SVNIndexXSLT "/somepath/myindex.xsl"
>> ..
>> </Location>
>>
>> We do this so we can keep our URL's clean, as in https://svn.mydomain.com/myRepo/etc/ 
>>  So the server never looks to DocumentRoot and assumes everything  
>> beyond / is a repository. Is there a way using Location within my  
>> virtualhost to set up a path which has DAV disabled, where I can  
>> place the XSLT files?
>
> Maybe, but why don't you place the XSLT files in the repository?  
> Wouldn't that be the best idea?
>
>

That would make far too much sense :) I'll give it a try.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVNIndexXSLT when Location is /

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 8, 2008, at 12:54, Patrick Krekelberg wrote:

> I understand that this is the typical usage for SVNIndexXSLT:
>
> <Location /svn>
> DAV svn
> ..
> ..
> SVNIndexXSLT "/myindex.xsl"
> ..
> </Location>
>
> Wherein the XSL file is at the DocumentRoot. However, I have a  
> unique case I haven't yet seen addressed. My configuration looks  
> like this:
>
> <Location />
> DAV svn
> ..
> ..
> SVNIndexXSLT "/somepath/myindex.xsl"
> ..
> </Location>
>
> We do this so we can keep our URL's clean, as in https:// 
> svn.mydomain.com/myRepo/etc/ So the server never looks to  
> DocumentRoot and assumes everything beyond / is a repository. Is  
> there a way using Location within my virtualhost to set up a path  
> which has DAV disabled, where I can place the XSLT files?

Maybe, but why don't you place the XSLT files in the repository?  
Wouldn't that be the best idea?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org