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

Perplexica + Ollama + SearXNG : la solution locale pour interroger vos modèles IA

🧠 Installer Perplexica — Une interface locale pour interroger vos LLMs auto-hébergés ! Perplexica est une interface web qui vous permet ...