Vincent Faliès - Artisan Codeur

Development's tests are a mandatory step for guarantee the validity and viability of the code. Sometimes, the tests writing are not trivial. For instance, a method can do an HTTP redirection :

class MyClass
{
    /**
     * Method to redirect to https://vfac.fr
    **/
    public function doRedire...

Continue reading...

Several methods exist to redirect traffic from HTTP to HTTPS automaticaly.

Apache

From virtual host

The definition fo the redirection is simple, we must specify that all connection on standard port must be rewrite to HTTPS protocol.


   ...
   ServerName subdomain.domain.tl...

Continue reading...