Vincent Faliès - Artisan Codeur

Web App Manifest

web Development progressive web apps
Reading time: 5 minutes, 0 seconds

Web app manifest is a part of a collection of web technologies called progressive web apps.

It is a jSon text file use to provide informations about application (name, author, icon, etc.). The purpose is providing a richer user experience on any devices. With the wep app manifest, the applicatio...

Continue reading...

Block / Allow IP with Apache 2

web system security apache
Reading time: 1 minute, 0 seconds

The access restriction by IP is a main feature of web server like Apache. You can specify easily, whom have access to a page and whom haven't, from the IP.

How to block / allow an IP in .htaccess ?

Apache 2.4

    Require all granted
    Require not ip
    Require not i...

Continue reading...

TMDb v1.6.2 is available

php web project TMDb
Reading time: 1 minute, 0 seconds

A new version of wrapper for TMDb API is now available in 1.6.2 version.

In this version, the main feature is the gestion of authentication and account methods for personnalize your experience with this API. You can now connecting to the platform, setting and gettting your favorites movies and...

Continue reading...

PHPunit : Test a method with redirection

php web Development phpunit test
Reading time: 1 minute, 0 seconds

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
    public function doRedire...

Continue reading...

HTTPS redirection

web system nginx ssl apache
Reading time: 1 minute, 0 seconds

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


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.


Continue reading...