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.



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: […]