Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

Config "jeedom" pour apache2 (contenu à copier)

Avatar de l’utilisateur
Sshafi
Actif
Messages : 3882
Inscription : 01 juil. 2014, 16:08
Localisation : Albi

Config "jeedom" pour apache2 (contenu à copier)

Message par Sshafi » 26 févr. 2016, 14:49

Créer un fichier nommé "jeedom" dans /etc/apache2/sites-available copier le contenu ci-dessous pour faire fonctionner jeedom sur le port 8080.

Code : Tout sélectionner

<VirtualHost *:8080>
       ServerAdmin webmaster@localhost
       DocumentRoot /var/www
       <Directory />
               Options FollowSymLinks
               AllowOverride None
       </Directory>
       <Directory /var/www/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride AuthConfig
               Order allow,deny
               allow from all
       </Directory>
       ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
       <Directory "/usr/lib/cgi-bin">
               AllowOverride None
               Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
               Order allow,deny
               Allow from all
       </Directory>
       ErrorLog ${APACHE_LOG_DIR}/jeedom-error.log
       # Possible values include: debug, info, notice, warn, error, crit,
       # alert, emerg.
       LogLevel warn
       CustomLog ${APACHE_LOG_DIR}/access.log combined
       <Directory /var/www/jeedom/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride AuthConfig
               Order allow,deny
               allow from all
               DirectoryIndex index.html index.php
       </Directory>
       <Directory /var/www/jeedom/tmp/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride AuthConfig
               Order allow,deny
               deny from all
       </Directory>
       <Directory /var/www/jeedom/log/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride AuthConfig
               Order allow,deny
               deny from all
       </Directory>                                                                                                                       
       <Directory /var/www/jeedom/backup/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride AuthConfig
               Order allow,deny
               deny from all
       </Directory>
               ProxyPreserveHost On
               ProxyRequests On
       <Location /nodeJS/>
               ProxyPass http://127.0.0.1:8070/
               ProxyPassReverse http://127.0.0.1:8070/
       </Location>                                                                                                                            
       <Location /socket.io/>
               ProxyPass  http://127.0.0.1:8070/socket.io/
               ProxyPassReverse http://127.0.0.1:8070/socket.io/
       </Location>
       <ProxyMatch ^((?!127\.0\.0\.1).)*$>
               Order deny,allow
               Deny from all
       </ProxyMatch>
       <ProxyMatch 127\.0\.0\.1>
               Order deny,allow
               Allow from all
       </ProxyMatch>
</VirtualHost>
Activer la nouvelle configuration

Code : Tout sélectionner

cd /etc/apache2/sites-enabled
ln -s ../sites-available/jeedom 100-jeedom
??? Menfin ...
VM ESXi # Aeon Lab Gen5 | RFXtrx433E | ...
Trucs & Astuces

Verrouillé

Revenir vers « Installation de Jeedom »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 10 invités