[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem with SVNIndexXSLT

From: Thom Borton <borton_at_phys.ethz.ch>
Date: 2004-11-15 20:39:06 CET

Okay, Problem solved, I mixed up the directories /svn of apache and /svn
of mod_dav_svn. Putting svnindex.xsl/css into the server root directory
is the solution.

Thanks, Thom

Thom Borton wrote:

>
> Hello
>
> I don't get the tree browsing set up correctly. Maybe someone could help
> me. I wasn't successful with Google either.
>
> I am running svn on a Gentoo Linux installation. My apache2
> configuration goes as follows:
>
> <IfDefine SVN>
> <IfModule !mod_dav_svn.c>
> LoadModule dav_svn_module extramodules/mod_dav_svn.so
> </IfModule>
> <Location /svn>
> DAV svn
> #SVNPath /var/svn/repos
> SVNParentPath /var/svn/repos
> SVNIndexXSLT /svnindex.xsl
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile /var/svn/conf/svnusers
> Require valid-user
> </Location>
> </IfDefine>
>
>
> I can work with the repository via
> svn command https://computername/svn/NAME_OF_REPOS
> without problem (checkout, checkin, list, ...).
>
> But pointing my browser at https://computername/svn/NAME_OF_REPOS/ asks
> for username and password and then gives me in IE:
>
> %%%%%%%%%%%
> The XML page cannot be displayed
> Cannot view XML input using XSL style sheet. Please correct the error
> and then click the Refresh button, or try again later.
>
> --------------------------------------------------------------------------------
>
>
> The stylesheet does not contain a document element. The stylesheet may
> be empty, or it may not be a well-formed XML document.
> %%%%%%%%%%%
>
> Username and pw are the same as the ones I use for authentication via
> svn directly (see above).
>
> The file svnindex.xsl resides in /var/svn/repos (I can also put it into
> /var/svn/ -> does not help), is readable by apache.
>
> The error I get in /var/log/apache2/ssl_error_log is
>
> [Mon Nov 15 15:57:16 2004] [error] [client 10.0.0.12] (20014)Error
> string not specified yet: Can't open file
> '/var/svn/repos/svnindex.xsl/format': Not a directory
> [Mon Nov 15 15:57:16 2004] [error] [client 10.0.0.12] Could not fetch
> resource information. [500, #0]
> [Mon Nov 15 15:57:16 2004] [error] [client 10.0.0.12] Could not open the
> requested SVN filesystem [500, #20]
> [Mon Nov 15 15:57:16 2004] [error] [client 10.0.0.12] Could not open the
> requested SVN filesystem [500, #20]
> [Mon Nov 15 15:57:16 2004] [error] [client 10.0.0.12] (20014)Error
> string not specified yet: Can't open file
> '/var/svn/repos/svnindex.xsl/format': Not a directory, referer:
> https://10.0.0.5/svn/Controller/
> [Mon Nov 15 15:57:16 2004] [error] [client 10.0.0.12] Could not fetch
> resource information. [500, #0], referer: https://10.0.0.5/svn/Controller/
> [Mon Nov 15 15:57:16 2004] [error] [client 10.0.0.12] Could not open the
> requested SVN filesystem [500, #20], referer:
> https://10.0.0.5/svn/Controller/
> [Mon Nov 16 15:57:16 2004] [error] [client 10.0.0.12] Could not open the
> requested SVN filesystem [500, #20], referer:
> https://10.0.0.5/svn/Controller/
>
>
> I don't understand why it would want to open
> /var/svn/repos/svnindex.xsl/format.
>
> Any ideas???
>
> Thanks a lot,
>
> Thom
>
>
>

-- 
Thom Borton
Switzerland
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 15 20:41:03 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.