-
Increased php available memory
In order to increase php performance it is advisable that you increase the php allocable memory.
Modify the
/etc/php.ini to have the folloving line (at least 128) :
memory_limit = 128M
-
Secure http enabled (required for enabling user stats web access)
The WMSMON server needs a valid host certificate stored in a HOST_CERTIFICATE_DIR (i.e.
/etc/grid-security)
Install the accepted ca packages, i.e. you can execute the following:
- $> wget http://repository.egi.eu/sw/production/cas/1/current/repo-files/egi-trustanchors.repo
-O /etc/yum.repos.d/egi-trustanchors.repo
- $> yum install ca-policy-egi-core
Edit the
/etc/httpd/conf/httpd.conf and add the following inside the
<Directory /var/www/html> section the following lines
:
SSLRequireSSL
SSLVerifyClient require
SSLVerifyDepth 10
Edit the
/etc/httpd/conf.d/ssl.conf and:
- set the
SSLCertificateFile variable to HOST_CERTIFICATE_DIR/hostcert.pem and comment any other line that set this variable.
- set the
SSLCertificateKeyFile variable to HOST_CERTIFICATE_DIR/hostkey.pem and comment any other line that set this variable. _ _
- set the
SSLCACertificatePath variable to the name of the directory containing the CA file (i.e.
/etc/grid-security/certificates if you installed the
lcg_CA metapackage) and comment any other line that set this variable.
\If you want to change the default https port (443) you should change in the
/etc/httpd/conf.d/ssl.conf file the line:
Listen <port_number> (i.e. Listen 8443)
_Oprtional redirect - If you want to automatically redirect http
requests to https pages you should add to the
/etc/httpd/conf/httpd.conf file the following section (using the proper
values for the variables_
SERVER_HOST_IP,SERVER_HOST_NAME and YOUR_DOMAIN):
<VirtualHost SERVER_HOST_IP:80>
DocumentRoot /var/www/html
ServerName SERVER_HOST_NAME.YOUR_DOMAIN
RedirectMatch (/.*)$ https://SERVER_HOST_NAME.YOUR_DOMAIN/$1
</VirtualHost>
- $> service httpd restart