moving modpython stuff here
[sfa.git] / sfa / server / modpython / sfa.registry.httpd.conf
1 Listen 12345
2
3 <VirtualHost *:12345>
4     ErrorLog logs/sfa_ssl_error_log
5     TransferLog logs/sfa_ssl_access_log
6     CustomLog logs/ssl_request_log \
7           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b
8     LogLevel warn
9
10     SSLEngine on
11     SSLProtocol all -SSLv2
12
13     SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
14     SSLCertificateFile /etc/sfa/authorities/server.cert
15     SSLCertificateKeyFile /etc/sfa/authorities/server.key
16     SetEnvIf User-Agent ".*MSIE.*" \
17          nokeepalive ssl-unclean-shutdown \
18          downgrade-1.0 force-response-1.0
19
20     SetHandler mod_python
21     PythonPath "sys.path + ['/usr/lib/python2.5/site-packages/sfa/', '/usr/lib/python2.5/site-packages/sfa/server/']"
22     PythonHandler SfaRegistryModPython
23
24 </VirtualHost>