RE: Apache Conf. Issue - SVN

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

 



Sorry if this is a duplicate, but I am new to the list and did not see my message come back to me, so I was not sure if it posted.

 

Thanks for any help.

-- Jeff

 

 

From: Jeff Chastain [mailto:lists@xxxxxxxxxxxx]
Sent: Saturday, October 04, 2008 6:03 PM
To: 'users@xxxxxxxxxxxxxxxx'
Subject: Apache Conf. Issue - SVN

 

This is probably a basic question, but I am anything but an expert at Apache and I cannot seem to find the answer anywhere.   I have the latest version of Apache setup with Subversion.  I have setup a VirtualHost such that SVN is on its own domain (svn.mydomain.com) and serves the repositories directly off of that domain (without a /svn folder).  Currently, my VirtualHost definition looks like this ....

 

NameVirtualHost *:443

 

<VirtualHost *:443 >

 

                ServerName                      svn.mydomain.com

                ServerAdmin                     webmaster@xxxxxxxxxxxx

                ErrorLog                               F:/Repositories/error.log

 

                SSLEngine                            on

                SSLCertificateFile      conf/server.pem

                SSLCertificateKeyFile   conf/server.pem

 

                DocumentRoot                                 "C:/Program Files/VisualSVN Server"

 

                <Location "/" >

                                DAV svn

 

                                SVNParentPath                                "F:\Repositories"

                                SVNListParentPath          on

                                SVNIndexXSLT                  "/htdocs/svnindex.xsl"

                                SVNPathAuthz                  on

 

                                AuthName                          "Subversion Repositories"

                                AuthType                            Basic

                                AuthBasicProvider           file

                                AuthUserFile                     "F:/Repositories/htpasswd"

                                AuthzSVNAccessFile       "F:/Repositories/authz"

 

                                require valid-user

                </Location>

               

                <Location "/htdocs" >

                                DAV off

                </Location>

 

</VirtualHost>

 

With this config, I am currently having two issues.  I can browse the domain just fine, but if I do not enter a repository name (i.e. https://svn.mydomain.com/ only), then I get a 403 error message.  Second, if I try to browse a repository (https://svn.mydomain.com/Sandbox), then I get an error which states "Error loading stylesheet: Parsing an XSLT stylesheet failed."

 

From what I have found thus far, potentially both of these issues are because I am serving the SVN repositories directly off of the root of the domain instead of having a sub "/svn" folder.  I know I have seen this setup before though, so surely this is just a matter of configuration in order to get the server to find the XSLT stylesheet and recognize the HTDOCS folder for the root of the domain.

 

Anybody out there have any ideas?

 

Thanks

-- Jeff

 


[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