Apache Conf. Issue - SVN

Apache Conf. Issue - SVN

am 05.10.2008 01:02:59 von Jeff Chastain

------=_NextPart_000_0014_01C9264B.741EFB80
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

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







ServerName svn.mydomain.com

ServerAdmin webmaster@mydomain.com

ErrorLog
F:/Repositories/error.log



SSLEngine on

SSLCertificateFile conf/server.pem

SSLCertificateKeyFile conf/server.pem



DocumentRoot "C:/Program
Files/VisualSVN Server"





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







DAV off









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




------=_NextPart_000_0014_01C9264B.741EFB80
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









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 >



 



class=3DMsoNormal>         &=
nbsp;      =
ServerName          &nb=
sp;           =
svn.mydomain.com



class=3DMsoNormal>         &=
nbsp;      =
ServerAdmin          &n=
bsp;          =
webmaster@mydomain.com



class=3DMsoNormal>         &=
nbsp;      =
ErrorLog           =
;            =
        =
F:/Repositories/error.log



 



class=3DMsoNormal>         &=
nbsp;      =
SSLEngine          &nbs=
p;            =
;     on



class=3DMsoNormal>         &=
nbsp;      =
SSLCertificateFile     
conf/server.pem



class=3DMsoNormal>         &=
nbsp;      SSLCertificateKeyFile  
conf/server.pem



 



class=3DMsoNormal>         &=
nbsp;      DocumentRoot
            &=
nbsp;           &n=
bsp;       "C:/Program
Files/VisualSVN Server"



 



class=3DMsoNormal>         &=
nbsp;      <Location
"/" >



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          DAV
svn



 



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
SVNParentPath          =
            &=
nbsp;         =
"F:\Repositories"



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
SVNListParentPath          =
on



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
SVNIndexXSLT          &=
nbsp;       =
"/htdocs/svnindex.xsl"



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
SVNPathAuthz          &=
nbsp;       on



 



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
AuthName           =
;            =
   "Subversion
Repositories"



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
AuthType           =
;            =
     Basic



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
AuthBasicProvider         &n=
bsp; file



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
AuthUserFile          &=
nbsp;          =
"F:/Repositories/htpasswd"



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          =
AuthzSVNAccessFile       =
"F:/Repositories/authz"



 



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          require
valid-user



class=3DMsoNormal>         &=
nbsp;      </Location>



class=3DMsoNormal>         &=
nbsp;     



class=3DMsoNormal>         &=
nbsp;      <Location
"/htdocs" >



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;          DAV
off



class=3DMsoNormal>         &=
nbsp;      </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



 









------=_NextPart_000_0014_01C9264B.741EFB80--

RE: Apache Conf. Issue - SVN

am 06.10.2008 15:54:49 von Jeff Chastain

------=_NextPart_000_00B0_01C92791.33A9B170
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

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@admentus.com]
Sent: Saturday, October 04, 2008 6:03 PM
To: 'users@httpd.apache.org'
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







ServerName svn.mydomain.com

ServerAdmin webmaster@mydomain.com

ErrorLog
F:/Repositories/error.log



SSLEngine on

SSLCertificateFile conf/server.pem

SSLCertificateKeyFile conf/server.pem



DocumentRoot "C:/Program
Files/VisualSVN Server"





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







DAV off









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




------=_NextPart_000_00B0_01C92791.33A9B170
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









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.



style=3D'color:black'> 



Thanks for any =
help.



-- =
Jeff



style=3D'color:black'> 



style=3D'color:black'> 





0in 0in 0in'>

style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' >From:=
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"' > Jeff =
Chastain
[mailto:lists@admentus.com]

Sent: Saturday, October 04, 2008 6:03 PM

To: 'users@httpd.apache.org'

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 >



 



class=3DMsoNormal>         &=
nbsp;     
ServerName          &nb=
sp;          
svn.mydomain.com



class=3DMsoNormal>         &=
nbsp;     
ServerAdmin          &n=
bsp;         
webmaster@mydomain.com



class=3DMsoNormal>         &=
nbsp;     
ErrorLog           =
;            =
       
F:/Repositories/error.log



 



class=3DMsoNormal>         &=
nbsp;     
SSLEngine          &nbs=
p;            =
;    
on



class=3DMsoNormal>         &=
nbsp;     
SSLCertificateFile      =
conf/server.pem



class=3DMsoNormal>         &=
nbsp;     
SSLCertificateKeyFile   conf/server.pem



 



class=3DMsoNormal>         &=
nbsp;     
DocumentRoot
            &=
nbsp;           &n=
bsp;      
"C:/Program Files/VisualSVN Server"



 



class=3DMsoNormal>         &=
nbsp;     
<Location "/" >



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
DAV svn



 



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
SVNParentPath          =
            &=
nbsp;        
"F:\Repositories"



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
SVNListParentPath          =
on



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
SVNIndexXSLT          &=
nbsp;      
"/htdocs/svnindex.xsl"



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
SVNPathAuthz          &=
nbsp;      
on



 



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
AuthName           =
;            =
  
"Subversion Repositories"



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
AuthType           =
;            =
    
Basic



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
AuthBasicProvider         &n=
bsp;
file



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
AuthUserFile          &=
nbsp;         
"F:/Repositories/htpasswd"



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
AuthzSVNAccessFile       =
"F:/Repositories/authz"



 



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
require valid-user



class=3DMsoNormal>         &=
nbsp;     
</Location>



class=3DMsoNormal>         &=
nbsp;     



class=3DMsoNormal>         &=
nbsp;     
<Location "/htdocs" >



class=3DMsoNormal>         &=
nbsp;           &n=
bsp;         
DAV off



class=3DMsoNormal>         &=
nbsp;     
</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



 









------=_NextPart_000_00B0_01C92791.33A9B170--

Re: Apache Conf. Issue - SVN

am 06.10.2008 16:08:58 von Krist van Besien

On Sun, Oct 5, 2008 at 1:02 AM, Jeff Chastain wrote:

> NameVirtualHost *:443

This is surperflous, as you can't have SSL Named based Virtual Hosts.
You are not trying to do this, aren't you?

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

Can you tell us what the value is of your DocumentRoot parameter, and
where you actually put the xsl file?

Krist

--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: Apache Conf. Issue - SVN

am 06.10.2008 16:50:07 von Jeff Chastain

Krist,

Hmmm ... the server was originally only setup to serve SVN and was setup
with SSL. I added Trac to it on a different VirtualHost without thinking
about the SSL issue and it still appears to be working. But, yeah, if I had
thought through it I would have realized that you are not supposed to be
able to do this and can't with IIS at least.

For the SVN virtual host, the documentRoot parameter is set to "C:/Program
Files/VisualSVN Server". Within the "/" location block, the SVNIndexXSLT
parameter is set to "/htdocs/svnindex.xsl", thus the full file system path
to the XSLT file is "C:/Program Files/VisualSVN Server/htdocs/svnindex.xsl"
which is correct and valid. One suggestion I found online was to have a
separate location block for "/htdocs" where DAV was disabled and this is
what I have. The full config is shown below.

DocumentRoot "C:/Program Files/VisualSVN Server"


DAV svn

SVNParentPath "F:\Repositories"
SVNListParentPath on
SVNIndexXSLT "/htdocs/svnindex.xsl"

AuthName "Subversion Repositories"
AuthType Basic
AuthBasicProvider file
AuthUserFile "F:/Repositories/htpasswd"
AuthzSVNAccessFile "F:/Repositories/authz"

require valid-user



DAV off


Thanks for the help.
-- Jeff


-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com]
Sent: Monday, October 06, 2008 9:09 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache Conf. Issue - SVN

On Sun, Oct 5, 2008 at 1:02 AM, Jeff Chastain wrote:

> NameVirtualHost *:443

This is surperflous, as you can't have SSL Named based Virtual Hosts.
You are not trying to do this, aren't you?

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

Can you tell us what the value is of your DocumentRoot parameter, and
where you actually put the xsl file?

Krist

--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache Conf. Issue - SVN

am 06.10.2008 18:04:30 von Krist van Besien

On Mon, Oct 6, 2008 at 4:50 PM, Jeff Chastain wrote:


> But, yeah, if I had
> thought through it I would have realized that you are not supposed to be
> able to do this and can't with IIS at least.

You can't do this with Apache nor with IIS ,and it has nothing to do
with a limitation of the software. The problem is in the SSL
protocol..


> For the SVN virtual host, the documentRoot parameter is set to "C:/Program
> Files/VisualSVN Server". Within the "/" location block, the SVNIndexXSLT
> parameter is set to "/htdocs/svnindex.xsl", thus the full file system path
> to the XSLT file is "C:/Program Files/VisualSVN Server/htdocs/svnindex.xsl"
> which is correct and valid.

What happens If you try to request this directly in a browser, eg. you
try to request:
https://svn.mydomain.com/htdocs/svindex.xsl
It could be that the sever just won't allow you to get the file.
Also check what the error log says. When you get an error code usually
there will be something in the errorlog indicating what might be the
problem.

Krist


--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: Apache Conf. Issue - SVN

am 06.10.2008 18:18:09 von Jeff Chastain

Krist,

> What happens if you try to request this directly in a browser, eg. you try
to request: https://svn.mydomain.com/htdocs/svindex.xsl

Going to that url results in the error message "Could not open the requested
SVN filesystem" being displayed, which sounds like Subversion / DAV is still
trying to process this url instead of letting Apache handle it. The message
in the error log file is very similar ...

[Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] (20014)Internal
error: Can't open file 'F:\\Repositories\\svnindex.xsl\\format': The system
cannot find the path specified.
[Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not fetch
resource information. [500, #0]
[Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not open the
requested SVN filesystem [500, #720003]
[Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not open the
requested SVN filesystem [500, #720003]

I believe this is the root of the issues in that SVN / DAV is handling all
requests.

Thanks
-- Jeff


-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com]
Sent: Monday, October 06, 2008 11:05 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache Conf. Issue - SVN

On Mon, Oct 6, 2008 at 4:50 PM, Jeff Chastain wrote:


> But, yeah, if I had
> thought through it I would have realized that you are not supposed to be
> able to do this and can't with IIS at least.

You can't do this with Apache nor with IIS ,and it has nothing to do
with a limitation of the software. The problem is in the SSL
protocol..


> For the SVN virtual host, the documentRoot parameter is set to "C:/Program
> Files/VisualSVN Server". Within the "/" location block, the SVNIndexXSLT
> parameter is set to "/htdocs/svnindex.xsl", thus the full file system path
> to the XSLT file is "C:/Program Files/VisualSVN
Server/htdocs/svnindex.xsl"
> which is correct and valid.

What happens If you try to request this directly in a browser, eg. you
try to request:
https://svn.mydomain.com/htdocs/svindex.xsl
It could be that the sever just won't allow you to get the file.
Also check what the error log says. When you get an error code usually
there will be something in the errorlog indicating what might be the
problem.

Krist


--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache Conf. Issue - SVN

am 06.10.2008 18:29:53 von Tony Stevenson

Jeff,

Re-order your stanzas. So that is before
as at the moment in the order you have them, the / stanza
takes precedence.


Cheers,
Tony


Jeff Chastain wrote:
> Krist,
>
>> What happens if you try to request this directly in a browser, eg. you try
> to request: https://svn.mydomain.com/htdocs/svindex.xsl
>
> Going to that url results in the error message "Could not open the requested
> SVN filesystem" being displayed, which sounds like Subversion / DAV is still
> trying to process this url instead of letting Apache handle it. The message
> in the error log file is very similar ...
>
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] (20014)Internal
> error: Can't open file 'F:\\Repositories\\svnindex.xsl\\format': The system
> cannot find the path specified.
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not fetch
> resource information. [500, #0]
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not open the
> requested SVN filesystem [500, #720003]
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not open the
> requested SVN filesystem [500, #720003]
>
> I believe this is the root of the issues in that SVN / DAV is handling all
> requests.
>
> Thanks
> -- Jeff
>
>
> -----Original Message-----
> From: Krist van Besien [mailto:krist.vanbesien@gmail.com]
> Sent: Monday, October 06, 2008 11:05 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Apache Conf. Issue - SVN
>
> On Mon, Oct 6, 2008 at 4:50 PM, Jeff Chastain wrote:
>
>
>> But, yeah, if I had
>> thought through it I would have realized that you are not supposed to be
>> able to do this and can't with IIS at least.
>
> You can't do this with Apache nor with IIS ,and it has nothing to do
> with a limitation of the software. The problem is in the SSL
> protocol..
>
>
>> For the SVN virtual host, the documentRoot parameter is set to "C:/Program
>> Files/VisualSVN Server". Within the "/" location block, the SVNIndexXSLT
>> parameter is set to "/htdocs/svnindex.xsl", thus the full file system path
>> to the XSLT file is "C:/Program Files/VisualSVN
> Server/htdocs/svnindex.xsl"
>> which is correct and valid.
>
> What happens If you try to request this directly in a browser, eg. you
> try to request:
> https://svn.mydomain.com/htdocs/svindex.xsl
> It could be that the sever just won't allow you to get the file.
> Also check what the error log says. When you get an error code usually
> there will be something in the errorlog indicating what might be the
> problem.
>
> Krist
>
>


--


-----------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
http://www.pc-tony.com/

1024D/51047D66 ECAF DC55 C608 5E82 0B5E 3359 C9C7 924E 5104 7D66
-----------------------------------------

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: Apache Conf. Issue - SVN

am 06.10.2008 18:41:07 von Jeff Chastain

Tony,

That occurred to me after I sent that last message, but upon swapping the
two location blocks and restarting Apache, I still get the same result.
That part of the VirtualHost declaration looks like this right now ...


DAV off



DAV svn

SVNParentPath "F:\Repositories"
SVNListParentPath on
SVNIndexXSLT "/htdocs/svnindex.xsl"

AuthName "Subversion Repositories"
AuthType Basic
AuthBasicProvider file
AuthUserFile "F:/Repositories/htpasswd"
AuthzSVNAccessFile "F:/Repositories/authz"

require valid-user


Do I need something else in the block to make it
handle calls correctly instead of passing them on to the second "/" >?

Thanks
-- Jeff


-----Original Message-----
From: Tony Stevenson [mailto:tony@pc-tony.com]
Sent: Monday, October 06, 2008 11:30 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache Conf. Issue - SVN

Jeff,

Re-order your stanzas. So that is before
as at the moment in the order you have them, the / stanza
takes precedence.


Cheers,
Tony


Jeff Chastain wrote:
> Krist,
>
>> What happens if you try to request this directly in a browser, eg. you
try
> to request: https://svn.mydomain.com/htdocs/svindex.xsl
>
> Going to that url results in the error message "Could not open the
requested
> SVN filesystem" being displayed, which sounds like Subversion / DAV is
still
> trying to process this url instead of letting Apache handle it. The
message
> in the error log file is very similar ...
>
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] (20014)Internal
> error: Can't open file 'F:\\Repositories\\svnindex.xsl\\format': The
system
> cannot find the path specified.
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not fetch
> resource information. [500, #0]
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not open
the
> requested SVN filesystem [500, #720003]
> [Mon Oct 06 11:13:35 2008] [error] [client 192.168.1.51] Could not open
the
> requested SVN filesystem [500, #720003]
>
> I believe this is the root of the issues in that SVN / DAV is handling all
> requests.
>
> Thanks
> -- Jeff
>
>
> -----Original Message-----
> From: Krist van Besien [mailto:krist.vanbesien@gmail.com]
> Sent: Monday, October 06, 2008 11:05 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Apache Conf. Issue - SVN
>
> On Mon, Oct 6, 2008 at 4:50 PM, Jeff Chastain wrote:
>
>
>> But, yeah, if I had
>> thought through it I would have realized that you are not supposed to be
>> able to do this and can't with IIS at least.
>
> You can't do this with Apache nor with IIS ,and it has nothing to do
> with a limitation of the software. The problem is in the SSL
> protocol..
>
>
>> For the SVN virtual host, the documentRoot parameter is set to
"C:/Program
>> Files/VisualSVN Server". Within the "/" location block, the SVNIndexXSLT
>> parameter is set to "/htdocs/svnindex.xsl", thus the full file system
path
>> to the XSLT file is "C:/Program Files/VisualSVN
> Server/htdocs/svnindex.xsl"
>> which is correct and valid.
>
> What happens If you try to request this directly in a browser, eg. you
> try to request:
> https://svn.mydomain.com/htdocs/svindex.xsl
> It could be that the sever just won't allow you to get the file.
> Also check what the error log says. When you get an error code usually
> there will be something in the errorlog indicating what might be the
> problem.
>
> Krist
>
>


--


-----------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
http://www.pc-tony.com/

1024D/51047D66 ECAF DC55 C608 5E82 0B5E 3359 C9C7 924E 5104 7D66
-----------------------------------------

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache Conf. Issue - SVN

am 07.10.2008 16:46:16 von Tony Stevenson

Jeff,

Try using a stanza instead then.
Something like this perhaps


Dav Off



Cheers,
Tony




Jeff Chastain wrote:
> Tony,
>
> That occurred to me after I sent that last message, but upon swapping the
> two location blocks and restarting Apache, I still get the same result.
> That part of the VirtualHost declaration looks like this right now ...
>
>
> DAV off
>

>
>
> DAV svn
>
> SVNParentPath "F:\Repositories"
> SVNListParentPath on
> SVNIndexXSLT "/htdocs/svnindex.xsl"
>
> AuthName "Subversion Repositories"
> AuthType Basic
> AuthBasicProvider file
> AuthUserFile "F:/Repositories/htpasswd"
> AuthzSVNAccessFile "F:/Repositories/authz"
>
> require valid-user
>

>
> Do I need something else in the block to make it
> handle calls correctly instead of passing them on to the second > "/" >?
>
> Thanks
> -- Jeff
>
>

--


-----------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
http://www.pc-tony.com/

1024D/51047D66 ECAF DC55 C608 5E82 0B5E 3359 C9C7 924E 5104 7D66
-----------------------------------------

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Apache Conf. Issue - SVN

am 07.10.2008 16:50:09 von Tony Stevenson

Jeff,

Silly question, but you do have a DocumentRoot defined for this vhost,
right? Otherwise where will httpd serve $docroot/htdocs/svnindex.xsl from?


Tony


Tony Stevenson wrote:
> Jeff,
>
> Try using a stanza instead then.
> Something like this perhaps
>
>
> Dav Off
>

>
>
> Cheers,
> Tony
>

>


--


-----------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
http://www.pc-tony.com/

1024D/51047D66 ECAF DC55 C608 5E82 0B5E 3359 C9C7 924E 5104 7D66
-----------------------------------------

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: Apache Conf. Issue - SVN

am 07.10.2008 17:10:52 von Jeff Chastain

Tony,

The does not appear to work any different and yes, I do have
a DocumentRoot defined. The entire VirtualHost block is listed below.

However, after adding the the error message in the log file
has changed. Now, I am getting the following error which still makes it
look like it is going to the block as that is where the path
F:\Repositories is defined.

Thanks for the help.
-- Jeff

--------------------------------------------------

[Tue Oct 07 10:03:26 2008] [error] [client 192.168.1.51] (20014)Internal
error: Can't open file 'F:\\Repositories\\svnindex.xsl\\format': The system
cannot find the path specified. , referer:
https://svn.mydomain.com/Sandbox/
[Tue Oct 07 10:03:26 2008] [error] [client 192.168.1.51] Could not fetch
resource information. [500, #0], referer: https://svn.mydomain.com/Sandbox/
[Tue Oct 07 10:03:26 2008] [error] [client 192.168.1.51] Could not open the
requested SVN filesystem [500, #720003], referer:
https://svn.mydomain.com/Sandbox/
[Tue Oct 07 10:03:26 2008] [error] [client 192.168.1.51] Could not open the
requested SVN filesystem [500, #720003], referer:
https://svn.mydomain.com/Sandbox/

--------------------------------------------------



ServerName svn.mydomain.com
ServerAdmin webmaster@mydomain.com
ErrorLog F:/Repositories/error.log

SSLEngine on
SSLCertificateFile conf/server.pem
SSLCertificateKeyFile conf/server.pem

DocumentRoot "C:/Program Files/VisualSVN Server/htdocs"


DAV off



DAV svn

SVNParentPath "F:\Repositories"
SVNListParentPath on
SVNIndexXSLT "/svnindex.xsl"
SVNPathAuthz on

AuthName "Subversion Repositories"
AuthType Basic
AuthBasicProvider file
AuthUserFile "F:/Repositories/htpasswd"
AuthzSVNAccessFile "F:/Repositories/authz"

require valid-user





-----Original Message-----
From: Tony Stevenson [mailto:tony@pc-tony.com]
Sent: Tuesday, October 07, 2008 9:50 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache Conf. Issue - SVN

Jeff,

Silly question, but you do have a DocumentRoot defined for this vhost,
right? Otherwise where will httpd serve $docroot/htdocs/svnindex.xsl from?


Tony


Tony Stevenson wrote:
> Jeff,
>
> Try using a stanza instead then.
> Something like this perhaps
>
>
> Dav Off
>

>
>
> Cheers,
> Tony
>

>


--


-----------------------------------------
Tony Stevenson
tony@pc-tony.com // pctony@apache.org
http://www.pc-tony.com/

1024D/51047D66 ECAF DC55 C608 5E82 0B5E 3359 C9C7 924E 5104 7D66
-----------------------------------------

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org