Exception on a web folder
<Location "/timeline"> <Limit GET> Order deny,allow Allow from all Require valid-user Satisfy any </Limit> </Location>
Restart Apache2 on a RedHat system
# /usr/local/apache2/bin/httpd -f /usr/local/apache2/conf/httpd.conf -k restart
Apache2 – SSL – Put a website on HTTPS
You must have certificates previously created in order to have an https website.
We add to the beginning of our vhosts configution file:
And we addin that same file: <VirtualHost *:443> […] SSLEngine on SSLCertificateFile /usr/local/apache2/conf/server.crt SSLCertificateKeyFile /usr/local/apache2/conf/server.key </VirtualHost>
Keep in mind that Apache have in it cache these certificates. If you modify them, you must restart Apache even if they still have the same names as it is previously configured in the vhost configuration file.