Vincent Faliès - Artisan Codeur

When you administrate a server, it could be interresting to list all crontab from all users declare on it.

Naturally you will not connect with each user (if you can...) to check crontab.

To simply list crontabs, connect to server iwth root user and type the following command :

for user in $(cu...

Continue reading...

Since June 2017, Debian 9 Stretch is available in stable branch. Consequently, Debian 8 (Jessie) is tagged now oldtable and Debian 7 (Wheezy) is tagged oldoldstable.

What's new ?

After 26 months of development the Debian project is proud to present its new stable version 9 (code name Stret...

Continue reading...

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 192.168.1.2
    Require not i...

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...

When you reviewing your website with Google Pagespeed Insights, you could have the following error :

To fix this problem, a little modification of Nginx configuration is necessary :

In /etc/nginx/nginx.conf file or in new file /etc/nginx/conf.d/gzip.conf, add the following code :

gzip...

Continue reading...