X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=apache%2Fmyslice.conf;h=c994af369aff4f4d6285decc82bb3bdb799dbf66;hb=fb214ca95fc3d8fb37a94a3fcbdf5ab60a617049;hp=b78245200dc236c6c533bf95d570e611d62ff724;hpb=0c8a634162f3271018102e75a3934c5db5e48f59;p=myslice.git diff --git a/apache/myslice.conf b/apache/myslice.conf index b7824520..c994af36 100644 --- a/apache/myslice.conf +++ b/apache/myslice.conf @@ -1,5 +1,7 @@ +# xxx it might be smarter to install wsgi.py in some other location +# so we don't have to hard-wire these paths here - WSGIScriptAlias / /usr/share/unfold/myslice/wsgi.py + WSGIScriptAlias / /usr/lib/python2.7/dist-packages/myslice/wsgi.py Order deny,allow @@ -12,3 +14,37 @@ Allow from all + +# This port (not necessarily well picked) is configured +# with client-certificate required +# corresponding trusted roots (e.g. ple.gid and plc.gid) should be +# configured in /etc/unfold/trusted_roots +# check Jordan's email and pointer to trac, although we do not want +# this to be optional on that port + + + WSGIScriptAlias / /usr/lib/python2.7/dist-packages/myslice/wsgi.py + + + Order deny,allow + Allow from all + + + Alias /static/ /usr/share/unfold/static/ + + Order deny,allow + Allow from all + + + SSLEngine on + SSLVerifyClient require + SSLVerifyDepth 5 +# make this a symlink to /etc/sfa/trusted_roots if that makes sense in your env. + SSLCACertificatePath /etc/unfold/trusted_roots +# see init-ssl.sh for how to create self-signed stuff in here + SSLCertificateFile /etc/unfold/myslice.cert + SSLCertificateKeyFile /etc/unfold/myslice.key + +# SSLOptions +StdEnvVars +ExportCertData + SSLOptions +StdEnvVars +