Here are the two configurations I have tried.
================================
Configuration 1
================================
This configuration:
1. Allows OpenBD to use SSL for domain https://www.[domain name].com
2. When accessing a SVN repository https://www.[domain
name].com/svn/cms/ produces the following error:
HTTP Status 404 - /svn/cms/
type Status report
message /svn/cms/
description The requested resource (/svn/cms/) is not available.
Apache Tomcat/6.0.29
(NOTE: Before this error loads Apache will force authentication for
the svn repos.)
================================
tomcat/.../server.xml
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
. . . .
<Host name="www.[domain name].com">
<Context path="" docBase="F:/websites"/>
</Host>
================================
conf/httpd.conf
ServerName www.[domain name].com:80
. . . .
#DocumentRoot "C:\Program Files\WANdisco\Subversion\Apache2\htdocs"
DocumentRoot "F:/websites"
ProxyPass / http://www.[domain name].com:8080/
ProxyPassreverse / www.[domain name].com:8080/
HostnameLookups Off
================================
conf/extra/httpd-ssl.conf
#DocumentRoot "C:/Program Files/WANdisco/Subversion/Apache2/htdocs"
DocumentRoot "F:/websites"
ServerName www.[domain name].com:443
================================
conf/subversion.conf
<Location /svn>
DAV svn
SVNParentPath "D:/svn-repos"
AuthType Basic
AuthName "Subversion repository"
AuthUserFile "D:/svn-repos/conf/htpasswd"
Require valid-user
SSLRequireSSL
</Location>
================================
Configuration 2
================================
This configuration:
1. Allows SVN to use SSL for domain https://www.[domain name].com/svn/cms/
2. Tomcat/OpenBD cannot use SSL and can only be accessed by using
http://dev.[domain name].com because http://www.[domain name].com
loads DocumentRoot "C:\Program
Files\WANdisco\Subversion\Apache2\htdocs" which is not what I need.
================================
tomcat/.../server.xml
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
. . . .
<Host name="dev.[domain name].com">
<Context path="" docBase="F:/websites"/>
</Host>
================================
conf/httpd.conf
ServerName www.[domain name].com:80
. . . .
DocumentRoot "C:\Program Files\WANdisco\Subversion\Apache2\htdocs"
#DocumentRoot "F:/websites"
#
#ProxyPass / http://www.[domain name].com:8080/
#ProxyPassreverse / www.[domain name].com:8080/
#HostnameLookups Off
. . . .
Include conf/extra/httpd-vhosts.conf
================================
conf/extra/httpd-ssl.conf
DocumentRoot "C:/Program Files/WANdisco/Subversion/Apache2/htdocs"
#DocumentRoot "F:/websites"
ServerName www.[domain name].com:443
================================
conf/subversion.conf
<Location /svn>
DAV svn
SVNParentPath "D:/svn-repos"
AuthType Basic
AuthName "Subversion repository"
AuthUserFile "D:/svn-repos/conf/htpasswd"
Require valid-user
SSLRequireSSL
</Location>
================================
conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "F:/websites"
ServerName dev.[domain name].com
. . . .
ProxyPass / http://dev.[domain name].com:8080/
ProxyPassreverse / dev.[domain name].com:8080/
HostnameLookups Off
</VirtualHost>
================================
I greatly appreciate your help!
Thanks,
Stan
On Fri, Oct 29, 2010 at 8:46 AM, Matthew Woodward <[email protected]> wrote:
> Just another bit of info--this block is commented out in the Tomcat
> server.xml by default:
> <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
> maxThreads="150" scheme="https" secure="true"
> clientAuth="false" sslProtocol="TLS" />
>
> In case that adds anything to the mix of figuring this out.
> --
> Matthew Woodward
> [email protected]
> http://blog.mattwoodward.com
> identi.ca / Twitter: @mpwoodward
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/
mailing list - http://groups.google.com/group/openbd?hl=en