Location "/" and SVNParentPath set, so my url are like:
http://svn.mydomain.suffix/myrepo
<Location "/">
DAV svn
SVNParentPath /var/devel/svn-repositories/repos
SVNListParentPath on
SVNIndexXSLT "/repos-web/view/repos.xsl"
AuthType Basic
AuthName "Subversion repository"
AuthBasicProvider ldap
AuthzLDAPAuthoritative On
AuthLDAPURL "ldap://mydomain.suffix/dc=domain,dc=suffix?uid?sub?(objectClass=*)"
AuthLDAPBindDN "uid=bindsvn,dc=domain,dc=suffix"
AuthLDAPBindPassword "secret"
Require valid-user
AuthzSVNAccessFile
/var/devel/svn-repositories/config/authz
</Location>
I've put repos-web under /var/devel/svn-repositories/repos
My index.php
// URL or path to repository, no trailing slash
// (note that the log viewer may bypass access control)
$repo = 'file:///var/devel/svn-repositories/repos';
// For SVNParentPath set $repo to parent and this to true
$isParent = true;
But I get:
Error loading stylesheet: Parsing an XSLT stylesheet failed.
My http-error.log says when I try to reach any repository:
[Mon Nov 16 03:37:57 2009] [error] [client xxx.xxx.xxx.xxx]
(20014)Internal error: Can't open file
'/var/devel/svn-repositories/repos/repos-web/format': No such file or
directory, referer: http://svn.patota.mine.nu:6380/unimed_inst/
[Mon Nov 16 03:37:57 2009] [error] [client xxx.xxx.xxx.xxx] Could not
fetch resource information. [500, #0], referer:
http://svn.patota.mine.nu:6380/unimed_inst/
[Mon Nov 16 03:37:57 2009] [error] [client xxx.xxx.xxx.xxx] Could not open
the requested SVN filesystem [500, #2], referer:
http://svn.patota.mine.nu:6380/unimed_inst/
[Mon Nov 16 03:37:57 2009] [error] [client xxx.xxx.xxx.xxx] Could not open
the requested SVN filesystem [500, #2], referer:
http://svn.patota.mine.nu:6380/unimed_inst/
So, Am I missing something or being somehow stupid?
Thanks,
Aline
Hi Scott,
>
>Does /var/devel/svn-repositories/repos/repos-web/format exist ?
>
repos-web is directory which contains repostyle. I supose "format" should
exist in a repository. Does this means that my system is treating
repos-web as a repository? Or format should really exist in repos-web?
>Does the jail have access to /var ? If not you have to fix that.
Yes, /var is inside jail
Thank you!
Aline
>--~--~---------~--~----~------------~-------~--~----~
>You received this message because you are subscribed to the Google Groups "ReposStyle" group.
>To post to this group, send email to repos...@googlegroups.com
>To unsubscribe from this group, send email to reposstyle+...@googlegroups.com
>For more options, visit this group at http://groups.google.com/group/reposstyle?hl=en
>-~----------~----~----~----~------~----~------~--~---
--
--
Aline Freitas
www.gringo.nu
al...@gringo.nu
R. Viradouro 63 - conj142
04538-110 Sao Paulo, SP, Brazil
+55 11 33715209 / +55 11 72088328
Gringo - more action, less talk
Aten�ão: As informa�ões existentes nessa mensagem (incluindo arquivos anexados) são confidenciais e para uso restrito, sendo seu sigilo protegido por lei. Caso não seja destinatário, saiba que leitura, reten�ão, impressão, uso, divulga�ão ou cópia são proibidos. Favor apagar as informa�ões e notificar o remetente. O uso impróprio será tratado conforme as normas da empresa e a legisla�ão em vigor.
Attention: The information existing in this message (including any attachments) is confidential and for restricted use, its confidentiality being protected by law. In case you are not the intended addressee, please be aware that its reading, retention, impression, use, publishing or copying are prohibited. Please delete the information and notify the sender. The improper use will be treated according to the company's rules and the laws in force