How to configure httpd.conf to look for stylesheets in other directories ?

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

 



I am trying to configure Subversion http server to work from an existing install of apache on CentOs 5.2.

The stylesheet is located here:
/opt/lampstack-1.2-4/apps/subversion/htdocs/svnindex.xs

The SVN repo:
/var/lib/svn/

The error I get from  http://localhost/svn/
Error loading stylesheet: A network error occured loading an XSLT stylesheet:
http://localhost/svnindex.xsl

Is there something I can add to the <Location> to tell it where to find style sheets?  Or is this a <Directory> configuration?  The DocumentRoot is set to my MediaWiki so I do not want to change that.

Thanks in advance,

-Ed


File:subversion.conf
----------------------------

LoadModule dav_svn_module     modules/mod_dav_svn.so

<Location /svn/>
   DAV svn
   SVNListParentPath on
   SVNParentPath /var/lib/svn/
   SVNIndexXSLT "/svnindex.xsl"

   # Limit write permission to list of valid users.
   <LimitExcept GET PROPFIND OPTIONS REPORT>
      # Require SSL connection for password protection.
      # SSLRequireSSL

      AuthType Basic
      AuthName "Authorization Realm"
      AuthUserFile /etc/passwd
      Require valid-user
   </LimitExcept>
</Location>


# /svnindex.xsl is located in this directory
<Directory "/opt/lampstack-1.2-4/apps/subversion/htdocs">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>


-Ed


---------------------------------------------------------------------
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