Vincent Faliès - Artisan Codeur

EnvDev 2.1 is available

php web project Development composer apache nginx envdev nodejs docker
Reading time: 1 minute, 0 seconds

A new version of EnvDev project is now available in 2.1 version.

Changelog :

[2.1] - 2018-04-05

Added

  • Share git config & ssh keys
  • Add envdev vhost configuration for Apache & Nginx
  • Rename projects directory to home
  • Add `.env.dist configuration example
  • Add Makefile
  • Use curre...

Continue reading...

EnvDev 2.0 is available

Development php web project apache nginx envdev
Reading time: 1 minute, 0 seconds

A new version of EnvDev project is now available in 2.0 version.

This version is a complete refactoring of the project to rationnalize the stack and use Alpine version of container to reduce the image size.

Your projects can be with several PHP version from 5.6 to 7.2. A cache stack had been a...

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

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.

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