본문 바로가기

Server

httpd.conf : Apache+OpenSSL+ViewVC

NameVirtualHost *:443
<VirtualHost *:443>
    SSLEngine on
    SSLCertificateFile "S:\ToT\server\Apache\Apache2\conf\infos.crt"
    SSLCertificateKeyFile "S:\ToT\server\Apache\Apache2\conf\infos.key"
    SSLProtocol all
    SSLCipherSuite HIGH:MEDIUM
 ScriptAlias /check "S:/ToT/server/ViewVC/bin/mod_python/viewvc.py"
 <Location /check>
         AuthType Basic
         AuthName "SVN Serve for Apache by Infos."
         AuthUserFile "S:\ToT\server\Apache\Apache2\conf\htpasswd"
         Require valid-user
     AddHandler mod_python .py
     PythonPath "[r'S:\\ToT\\server\\ViewVC\\bin\\mod_python']+sys.path"
     PythonHandler handler
     PythonDebug On
     AddDefaultCharset UTF-8
     Options +Includes
 </Location>