• PHP mail() function simple test script

    This is a simple script you can use to test the functionality of the php mail() function on your server: ?php $to = “your@emailaddress.here“; // <– replace with your address here $subject = “Test mail”; $message = “Hello! This is a simple test email message.”; $from = “sender@emailaddress.here“; $headers = “From:” . $from; mail($to,$subject,$message,$headers); echo “Mail Sent.”; ?> Simply add your e-mail address, copy and paste the script into a .php file (eg. test.php), upload it on your server and access it directly. Once accessed, the file will return the message “Mail sent” and you should receive the test message […]

     
  • How to patch/disable SSL 3.0 and fix POODLE vulnerability

    SSL 3.0 is an old protocol for securing connections over the internet, its successors¬†currently used are TLS 1.1 ¬†and TLS 1.2. However, for compatibility reasons, most servers still support SSL 3.0 and default back to it if a connection via TLS cannot be established. To disable SSL 3.0 and thus protect yourself from POODLE, you need to alter your server config. Apache Server Add the following to your configuration file: SSLProtocol All -SSLv2 -SSLv3 and restart the server using: #service httpd restart or #service apache2 restart Nginx server Include the following line in your configuration among the other SSL directives: […]

     
  • Force redirect http to https

    A simple and very straight forward way to force redirect http requests to https without amending your website code in environments where the server hosting your website is behind a load balancer (such as for most shared hosting/cloud platforms) is by using this piece of code in your .htaccess file: RewriteEngine On RewriteCond %{ENV:SSL} !1 RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]

     
  • WordPress force redirect http to https

    Usually when needed to force redirect requests to https a simple rule is added in a htaccess file to take care of this, but not all hosts support that especially when a proxy or load balancer is used. What you need to to is to simply download and manually install this plugin.    

     
  • Configure FTP access in Dreamweaver CS6

    Configure FTP access in Dreamweaver CS6

    I will try to explain in this article how to set up the FTP connection¬† to your hosting space in Adobe Dreamweaver in order to start building your website or edit your existing one’s files. 1) From the main menu, click on “Site”: 2) Select “New Site”: 3) Set the name of your website as you want it to appear later in the “Manage Sites” section: 4) From the same section, go to “Servers”: 5) Set up the FTP connection using the details received from your hosting provider or the ones set up by you if you’re on a self […]