vendredi 4 octobre 2013

Install Symfony sous ubuntu

Donner l'accés à une machine distance sur les ficheir de conf :

Open config.php and edit following code
sudo nano sudo nano /var/www/Symfony/web/config.php

if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
    '127.0.0.1',
 '192.168.1.180',
    '::1',
))) {
    header('HTTP/1.0 403 Forbidden');
    exit('This script is only accessible from localhost.');
}
 
 
 
http://www.joelverhagen.com/blog/2011/05/how-to-configure-symfony-2-0-on-ubuntu-server-2011-4/ 

Aucun commentaire:

Enregistrer un commentaire

Dockker - 001 - De zéro à HTTPS : Déployer SWAG sur Debian avec Docker et OVH

Installer SWAG sur Debian avec Docker et gérer les DNS OVH Dans ce tutoriel, découvrez comment installer SWAG (Secure Web Application Ga...