The French Guy


CPANEL redirect feature redirects both HTTP and HTTPS. Therefore, if you try to redirect http to https , you will create a loop. This is what CPANEL Redirect adds: RewriteCond %{HTTP_HOST} ^your.domain.com$ RewriteRule ^/?$ “https\:\/\/your\.domain\.com\/” [R=301,L] Edit the .htaccess of the subdomain you created for owncloud, and add at the end: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} “%{HTTPS} off” is saying if the connection is insecure, send it to https.



If you try to connect to an EXIM server with a certified certificate in order to send an email, you might get an error like this one: Sending of the message failed The message could not bt sent because the connection to the outgoing server mandrake.universe-corrupted.com timed out. A quick work around is to change the server connection type from 465 SSL/TLS to 587 STARTTLS   It sounds crazy, but it fixes the issue.



So your server is bombarded by spammer, and you really want to block them at the server side instead of per domain. Here is what I did, and it works for me. If you read this and it worked for you, or used this solution but tweaked it, please comment. Thank you !   Go to WHM / Service configuration / Exim Configuration Manager / Advanced Editor Scroll down to the big blue button “Add additional configuration settings”. In BOX1, enter: […]