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

xslt problem with subversion vhost

From: Bernhard D Rohrer <graylion_at_sm-wg.net>
Date: 2007-03-04 22:06:56 CET

Hi folks

I have setup a subversion vhost and at the mo I am getting an xsl error

Error loading stylesheet: A network error occured loading an XSLT
stylesheet:

I know that this has been discussed before and indeed when i try to
access it directly I am getting a 404

I just dunno where to put the file. I am having a strong feeling that I
am barkign up the wrong tree with my DocumentRoot but can't quite figure
out what would be correct :/

thanks

Bernhard

<VirtualHost *:80>

     ServerAdmin webmaster@graylion.net
     ServerName svn.domain.tld
     DocumentRoot /var/lib/svn/shop
     HostNameLookups On

     ErrorLog /var/log/apache2/svn.error.log

     # Possible values include: debug, info, notice, warn, error, crit,
     # alert, emerg.
     LogLevel warn

     CustomLog /var/log/apache2/svn.access.log combined
     ServerSignature On

         <IfModule mod_rewrite.c>
                 RewriteEngine On
                 RewriteCond %{HTTP_HOST} svn.domain.tld [NC]

                 RewriteCond %{SERVER_PORT} !^443$

                 RewriteRule ^/(.*)$ https://svn.domain.tld/$1 [R=301,L]

         </IfModule>

</VirtualHost>

<VirtualHost *:443>
     ServerAdmin yyy
     ServerName svn.domain.tld
     DocumentRoot /var/lib/svn/shop
     HostNameLookups On

     ErrorLog /var/log/apache2/svn.error.log

     # Possible values include: debug, info, notice, warn, error, crit,
     # alert, emerg.
     LogLevel warn

     CustomLog /var/log/apache2/svn.access.log combined
     ServerSignature On
     SSLEngine on
     SSLCertificateFile sss
     SSLCertificateKeyFile sss

# <Directory "/var/lib/svn/shop">
# SSLRequireSSL
# </Directory>

     BrowserMatch "Opera" xsltfilter

     ExtFilterDefine xslt mode=output enableenv=xsltfilter
intype=text/xml outtype=text/html cmd="/usr/bin/xsltproc
/var/lib/svn/shop/svnindex.xsl -"

     <Location "/">
         DAV svn
         SVNPath /var/lib/svn/shop
         SVNAutoVersioning On
         SVNIndexXSLT "/svnindex.xsl"
         SVNPathAuthz off
         SetOutputFilter xslt
         AddDefaultCharset utf-8
         AllowOverride None
         Order deny,allow
         Deny from *
         AuthType Basic
         AuthName "Graylion SVN Server"
         AuthLDAPEnabled On
         AuthLDAPURL xxx
         AuthLDAPAuthoritative ON
         Require valid-user
         Require group ou=trac,ou=groups
     </Location>

     CustomLog /var/log/apache2/svn_logfile "%t %u %{SVN-ACTION}e"
env=SVN-ACTION

</VirtualHost>

-- 
Graylion's Fetish & Fashion Store
Goth and Kinky Boots, Clothing and Jewellery
http://www.graylion.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 4 22:07:29 2007

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.