Back to home page

EIC code displayed by LXR

 
 

    


Warning, /iDDS/main/etc/idds/rest/httpd-idds-443-py36-cc7_normal.conf.template is written in an unsupported language. File is not indexed.

0001 # Licensed under the Apache License, Version 2.0 (the "License");
0002 # You may not use this file except in compliance with the License.
0003 # You may obtain a copy of the License at
0004 # http://www.apache.org/licenses/LICENSE-2.0
0005 #
0006 # Authors:
0007 # - Wen Guan, <wen.guan@cern.ch>, 2019
0008 
0009 
0010 # Built-in modules
0011 LoadModule ssl_module /usr/lib64/httpd/modules/mod_ssl.so
0012 
0013 # External modules
0014 LoadModule gridsite_module /usr/lib64/httpd/modules/mod_gridsite.so
0015 #LoadModule wsgi_module /usr/lib64/httpd/modules/mod_wsgi.so
0016 LoadModule wsgi_module {python_site_packages_path}/mod_wsgi/server/mod_wsgi-py36.cpython-36m-x86_64-linux-gnu.so
0017 
0018 WSGIPythonHome {python_site_home_path}
0019 WSGIPythonPath {python_site_packages_path}
0020 WSGIScriptAlias /idds  {python_site_bin_path}/idds.wsgi
0021 
0022 Listen 443
0023 
0024 <VirtualHost *:443>
0025     # ServerName aipanda182.cern.ch:443
0026     ServerAdmin wguan@cern.ch
0027 
0028     SSLEngine on
0029     SSLCertificateFile /etc/grid-security/hostcert.pem
0030     SSLCertificateKeyFile /etc/grid-security/hostkey.pem
0031     SSLCACertificatePath /etc/grid-security/certificates
0032     SSLCARevocationPath /etc/grid-security/certificates
0033     SSLVerifyClient optional
0034     SSLVerifyDepth 10
0035     SSLOptions +StdEnvVars +ExportCertData
0036 
0037     LogLevel debug
0038     ErrorLog /var/log/idds/httpd_error_log
0039     TransferLog /var/log/idds/httpd_access_log
0040 
0041     # Proxy authentication via mod_gridsite
0042     <LocationMatch /auth/x509_proxy>
0043         GridSiteIndexes on
0044         GridSiteAuth on
0045         GridSiteDNlists /etc/grid-security/dn-lists/
0046         GridSiteGSIProxyLimit 16
0047         GridSiteEnvs on
0048         GridSiteACLPath /etc/idds/rest/gacl
0049     </LocationMatch>
0050 
0051     <Directory {python_site_packages_path}>
0052         Order deny,allow
0053         Allow from all
0054         Require all granted
0055     </Directory>
0056 
0057     <Directory {python_site_bin_path}>
0058         Order deny,allow
0059         Allow from all
0060         Require all granted
0061     </Directory>
0062 
0063 </VirtualHost>