1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
|
3
|
<creole>
|
4
|
<files>
|
5
|
<file name='/usr/share/eole/firewall/00_web.fw'/>
|
6
|
<file name='/usr/share/eole/firewall/00_web_mail.fw' container_only='True'/>
|
7
|
</files>
|
8
|
<containers>
|
9
|
<container name='web' id='15'>
|
10
|
<package>web-pkg</package>
|
11
|
<service servicelist="apache">apache2</service>
|
12
|
|
13
|
<service method="apache" servicelist="web">000-default</service>
|
14
|
<service method="apache" servicelist="web">scribe</service>
|
15
|
<service method="apache" servicelist="web">Vhost</service>
|
16
|
<service method="apache" servicelist="web">Vhost-ssl</service>
|
17
|
<file name='/etc/apache2/ports.conf'/>
|
18
|
<file name='/etc/apache2/apache2.conf'/>
|
19
|
|
20
|
<file name='/etc/apache2/sites-available/000-default' source='apache-default'/>
|
21
|
<file name='/etc/apache2/sites-available/scribe' source='apache-scribe.conf'/>
|
22
|
<file name='/etc/apache2/sites-available/Vhost' source='Vhost.conf'/>
|
23
|
<file name='/etc/apache2/sites-available/Vhost-ssl' source='Vhost-ssl.conf'/>
|
24
|
|
25
|
<file filelist='rpaf' name='/etc/apache2/mods-available/rpaf.conf'/>
|
26
|
<file name='/etc/php5/apache2/php.ini' del_comment=';'/>
|
27
|
<file filelist='ssoclient' name='/usr/share/php/configCAS/cas.inc.php' source='cas.inc.php.tmpl' mkdir='True'/>
|
28
|
<file name='/etc/ssmtp/ssmtp.conf' container_only='True' mkdir='True'/>
|
29
|
</container>
|
30
|
</containers>
|
31
|
|
32
|
<variables>
|
33
|
<family name='services'>
|
34
|
<variable name='activer_apache' type='oui/non' description="Activer le serveur web Apache" >
|
35
|
<value>oui</value>
|
36
|
</variable>
|
37
|
<variable name='adresse_ip_web' type='ip' hidden='True' description="Adresse IP du conteneur web"/>
|
38
|
</family>
|
39
|
<family name='applications web'>
|
40
|
<variable name='web_url' type='string' description="Nom de domaine des applications web (sans http://)"/>
|
41
|
|
42
|
<variable name='force_envole' type='oui/non' mandatory='True' hidden='True'/>
|
43
|
<variable name='web_redirection' type='string' description='Application web par défaut (redirection)' >
|
44
|
<value>/</value>
|
45
|
</variable>
|
46
|
<variable name='activer_web_behind_revproxy' type='oui/non' description="Le serveur web est derrière un reverse proxy">
|
47
|
<value>non</value>
|
48
|
</variable>
|
49
|
<variable name='web_behind_revproxy_ip' type='ip' description="Adresse IP du serveur reverse proxy"/>
|
50
|
</family>
|
51
|
<family name='apache' mode='expert'>
|
52
|
<variable name='apache_plus' type='oui/non' description="Ajout d'applications web supplémentaire" >
|
53
|
<value>non</value>
|
54
|
</variable>
|
55
|
<variable name='apache_dir' type='string' description="Chemin complet l'application (exemple : /var/www/html/appli)" multi='True' />
|
56
|
<variable name='apache_alias' type='string' description="Alias de l'application (exemple : /appli)" />
|
57
|
|
58
|
<variable name='php_post_max_size' type='number' description="Taille maximale des données reçues par la méthode POST (en Mo)">
|
59
|
<value>16</value>
|
60
|
</variable>
|
61
|
<variable name='php_upload_max_filesize' type='number' description="Taille maximale d'un fichier à charger (en Mo)">
|
62
|
<value>32</value>
|
63
|
</variable>
|
64
|
<variable name='php_max_execution_time' type='number' description="Temps maximal d'exécution d'un script (en secondes)">
|
65
|
<value>30</value>
|
66
|
</variable>
|
67
|
<variable name='php_max_input_time' type='number' description="Durée maximale pour analyser les données d'entrée (en secondes)">
|
68
|
<value>60</value>
|
69
|
</variable>
|
70
|
<variable name='php_memory_limit' type='number' description="Taille mémoire maximale qu'un script est autorisé à allouer (en Mo)">
|
71
|
<value>128</value>
|
72
|
</variable>
|
73
|
<variable name='php_display_errors' type='string' description="Affichage des erreurs à l'écran">
|
74
|
<value>Off</value>
|
75
|
</variable>
|
76
|
<variable name='php_session_gc_maxlifetime' type='number' description="Durée de vie des données sur le serveur (en secondes)">
|
77
|
<value>3600</value>
|
78
|
</variable>
|
79
|
</family>
|
80
|
<separators>
|
81
|
<separator name='apache_plus'>Applications supplementaires</separator>
|
82
|
<separator name='php_post_max_size'>Configuration PHP</separator>
|
83
|
</separators>
|
84
|
</variables>
|
85
|
<constraints>
|
86
|
<check name='obligatoire' target='web_redirection'/>
|
87
|
<check name='valid_alias' target='web_redirection'/>
|
88
|
|
89
|
<check name='obligatoire' target='web_url'/>
|
90
|
<check name='obligatoire' target='web_behind_revproxy_ip'/>
|
91
|
|
92
|
<auto name='calc_container' target='adresse_ip_web'>
|
93
|
<param type='eole'>mode_conteneur_actif</param>
|
94
|
<param type='container'>web</param>
|
95
|
<param type='eole' optional='True'>mode_zephir</param>
|
96
|
</auto>
|
97
|
<group master='apache_dir'>
|
98
|
<slave>apache_alias</slave>
|
99
|
</group>
|
100
|
<condition name='hidden_if_in' source='activer_web_behind_revproxy'>
|
101
|
<param>non</param>
|
102
|
<target type="filelist">rpaf</target>
|
103
|
<target type='variable'>web_behind_revproxy_ip</target>
|
104
|
</condition>
|
105
|
<condition name='hidden_if_in' source='activer_apache'>
|
106
|
<param>non</param>
|
107
|
<target type="servicelist">apache</target>
|
108
|
<target type='servicelist'>web</target>
|
109
|
<target type='family'>apache</target>
|
110
|
<target type='family'>applications web</target>
|
111
|
</condition>
|
112
|
<condition name='hidden_if_in' source='apache_plus'>
|
113
|
<param>non</param>
|
114
|
<target type='variable'>apache_dir</target>
|
115
|
<target type='variable'>apache_alias</target>
|
116
|
</condition>
|
117
|
<check name='obligatoire' target='php_post_max_size'/>
|
118
|
<check name='obligatoire' target='php_upload_max_filesize'/>
|
119
|
<check name='obligatoire' target='php_max_execution_time'/>
|
120
|
<check name='obligatoire' target='php_max_input_time'/>
|
121
|
<check name='obligatoire' target='php_memory_limit'/>
|
122
|
<check name='valid_enum' target='php_display_errors'>
|
123
|
<param>['On','Off']</param>
|
124
|
</check>
|
125
|
<check name='obligatoire' target='php_session_gc_maxlifetime'/>
|
126
|
<fill name='calc_val' target='web_url'>
|
127
|
<param type='eole'>adresse_ip_eth0</param>
|
128
|
</fill>
|
129
|
</constraints>
|
130
|
|
131
|
<help>
|
132
|
<variable name='web_redirection'>Application proposée par défaut lors de l'accès du serveur web</variable>
|
133
|
<variable name='web_url'>Nom de domaine de votre établissement ex : etablissement.ac-acad.fr</variable>
|
134
|
</help>
|
135
|
|
136
|
</creole>
|
137
|
|
138
|
|