Projet

Général

Profil

Vhost.conf

Arnaud FORNEROT, 11/02/2015 10:58

Télécharger (376 octets)

 
1
%if %%activer_apache == 'oui'
2
 %if %%container_ip_web != '127.0.0.1'
3
<VirtualHost %%container_ip_web:80>
4
 %else
5
<VirtualHost %%adresse_ip_eth0:80>
6
 %end if
7
    TransferLog /var/log/apache2/access.log
8
    ErrorLog /var/log/apache2/error.log
9
    RewriteEngine On
10
 %if %%web_redirection != '/'
11
    RewriteRule ^/$ %%web_redirection [R=permanent]
12
 %end if
13

    
14
</VirtualHost>
15
%end if