0fd1a365334e119475bc0ac0cc040db3f25b089e
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

1) <?php
2) 
3) require_once('inc/debug.php');
4) require_once('inc/security.php');
5) 
6) require_once('vhosts.php');
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

7) require_once('certs.php');
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

8) 
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

9) $section = 'vhosts_vhosts';
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

10) 
11) require_role(ROLE_SYSTEMUSER);
12) 
bernd Einige notices (undefined i...

bernd authored 14 years ago

13) $id = (isset($_GET['vhost']) ? (int) $_GET['vhost'] : 0);
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

14) $vhost = empty_vhost();
15) 
16) if ($id != 0)
17)   $vhost = get_vhost_details($id);
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

18) 
bernd IPv6-Option nur anzeigen we...

bernd authored 13 years ago

19) $have_v6 = false;
20) $server = (isset($vhost['server']) ? $vhost['server'] : $_SESSION['userinfo']['server']);
21) if (ipv6_possible($server))
22)   $have_v6 = true;
23) 
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

24) DEBUG($vhost);
bernd Aliases editieren

bernd authored 16 years ago

25) if ($id == 0) {
bernd Benutze überall title() sta...

bernd authored 13 years ago

26)   title("Neue Subdomain anlegen");
bernd Aliases editieren

bernd authored 16 years ago

27) }
28) else {
bernd Benutze überall title() sta...

bernd authored 13 years ago

29)   title("Subdomain bearbeiten");
bernd Aliases editieren

bernd authored 16 years ago

30) }
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

31) 
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

32) html_header("<script type=\"text/javascript\">
bernd vhost-Modul kann jetzt SVN-...

bernd authored 16 years ago

33)  
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

34)   function selectedDomain() {
35)     var selected;
36)     selected=document.getElementById('domain').options.selectedIndex;
37)     return document.getElementById('domain').options.item(selected).text;
38)     }
39)   
40)   function defaultDocumentRoot() {
41)     var hostname;
42)     if (document.getElementById('hostname').value == '') 
43)       hostname = selectedDomain();
44)     else
45)       hostname = document.getElementById('hostname').value + '.' + selectedDomain();
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

46)     var default_docroot = hostname + '/htdocs';
47)     useDefaultDocroot(default_docroot);
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

48)   }
49)   
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

50)   function useDefaultDocroot( default_docroot ) {
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

51)     var do_it = (document.getElementById('use_default_docroot').checked == true);
52)     var inputfield = document.getElementById('docroot');
53)     inputfield.disabled = do_it;
54)     if (do_it) {
bernd vhost-Modul kann jetzt SVN-...

bernd authored 16 years ago

55)       document.getElementById('docroot').value = default_docroot;
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

56)     }
57)   }
bernd Erster Versuch, SVN, DAV un...

bernd authored 16 years ago

58)   
59)   function showAppropriateLines() {
60)     if (document.getElementById('vhost_type_regular').checked == true) {
bernd Docroot auch bei WebDAV anz...

bernd authored 16 years ago

61)       document.getElementById('options_docroot').style.display = 'block';
62)       document.getElementById('options_scriptlang').style.display = 'block';
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

63)       document.getElementById('options_webapp').style.display = 'none';
bernd Erster Versuch, SVN, DAV un...

bernd authored 16 years ago

64)     }
bernd Docroot auch bei WebDAV anz...

bernd authored 16 years ago

65)     else if (document.getElementById('vhost_type_dav').checked == true) { 
66)       document.getElementById('options_docroot').style.display = 'block';
67)       document.getElementById('options_scriptlang').style.display = 'none';
68)       document.getElementById('options_webapp').style.display = 'none';
69)     }
70)     else if (document.getElementById('vhost_type_svn').checked == true) {
71)       document.getElementById('options_docroot').style.display = 'none';
72)       document.getElementById('options_scriptlang').style.display = 'none';
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

73)       document.getElementById('options_webapp').style.display = 'none';
bernd Erster Versuch, SVN, DAV un...

bernd authored 16 years ago

74)     }
75)     else if (document.getElementById('vhost_type_webapp').checked == true) {
bernd Docroot auch bei WebDAV anz...

bernd authored 16 years ago

76)       document.getElementById('options_docroot').style.display = 'none';
77)       document.getElementById('options_scriptlang').style.display = 'none';
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

78)       document.getElementById('options_webapp').style.display = 'block';
bernd Erster Versuch, SVN, DAV un...

bernd authored 16 years ago

79)     }
80)   }
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

81)   </script>");
82) 
83) $defaultdocroot = $vhost['domain'];
bernd domain = NULL ==> user-subd...

bernd authored 16 years ago

84) if (! $vhost['domain'])
bernd Mehr config-optionen und co...

bernd authored 14 years ago

85)   $defaultdocroot = $_SESSION['userinfo']['username'].'.'.config('masterdomain');
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

86) if ($vhost['hostname'])
87)   $defaultdocroot = $vhost['hostname'].'.'.$defaultdocroot;
88) 
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

89) $defaultdocroot = $defaultdocroot.'/htdocs';
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

90) 
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

91) $is_default_docroot = ($vhost['docroot'] == NULL) || ($vhost['homedir'].'/websites/'.$defaultdocroot == $vhost['docroot']);
92) 
93) if ($vhost['docroot'] != '' && ! strstr($vhost['docroot'], '/websites/'))
94) {
95)   warning("Sie verwenden einen Speicherplatz außerhalb von »~/websites/«. Diese Einstellung ist momentan nicht mehr gestattet. Ihre Einstellung wurde daher auf die Standardeinstellung zurückgesetzt. Prüfen Sie dies bitte und verschieben Sie ggf. ihre Dateien.");
96)   $is_default_docroot = True;
97) }
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

98) 
99) $docroot = '';
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

100) if ($is_default_docroot)
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

101)   $docroot = $defaultdocroot;
102) else
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

103)   $docroot = substr($vhost['docroot'], strlen($vhost['homedir'].'/websites/'));
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

104) 
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

105) $s = (strstr($vhost['options'], 'aliaswww') ? ' checked="checked" ' : '');
bernd Einige notices (undefined i...

bernd authored 14 years ago

106) $errorlog = ($vhost['errorlog'] == 1 ? ' checked="checked" ' : '');
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

107) 
108) $vhost_type = 'regular';
109) if ($vhost['is_dav'])
110)   $vhost_type = 'dav';
111) elseif ($vhost['is_svn'])
112)   $vhost_type = 'svn';
113) elseif ($vhost['is_webapp'])
114)   $vhost_type = 'webapp';
115) 
bernd Webapps implementiert

bernd authored 16 years ago

116) $applist = list_available_webapps();
117) $webapp_options = '';
118) foreach ($applist as $app)
119)   $webapp_options .= "<option value=\"{$app['id']}\">{$app['displayname']}</option>\n";
120) 
121) 
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

122) $form = "
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

123) <h4 style=\"margin-top: 2em;\">Name des VHost</h4>
bernd Schon beim tippen ändern, n...

bernd authored 16 years ago

124)     <div style=\"margin-left: 2em;\"><input type=\"text\" name=\"hostname\" id=\"hostname\" size=\"10\" value=\"{$vhost['hostname']}\" onkeyup=\"defaultDocumentRoot()\"  onchange=\"defaultDocumentRoot()\" /><strong>.</strong>".domainselect($vhost['domain_id'], 'onchange="defaultDocumentRoot()"');
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

125) $form .= "<br /><input type=\"checkbox\" name=\"options[]\" id=\"aliaswww\" value=\"aliaswww\" {$s}/> <label for=\"aliaswww\">Auch mit <strong>www</strong> davor.</label></div>
126) 
bernd vhost-Modul kann jetzt SVN-...

bernd authored 16 years ago

127) <div class=\"vhostsidebyside\">
bernd Docroot auch bei WebDAV anz...

bernd authored 16 years ago

128) <div class=\"vhostoptions\" id=\"options_docroot\" ".($vhost_type=='regular' || $vhost_type=='dav' ? '' : 'style="display: none;"').">
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

129)   <h4>Optionen</h4>
130)   <h5>Speicherort für Dateien (»Document Root«)</h5>
131)   <div style=\"margin-left: 2em;\">
bernd Fix bug #488

bernd authored 15 years ago

132)     <input type=\"checkbox\" id=\"use_default_docroot\" name=\"use_default_docroot\" value=\"1\" onclick=\"defaultDocumentRoot()\" ".($is_default_docroot ? 'checked="checked" ' : '')."/>&#160;<label for=\"use_default_docroot\">Standardeinstellung benutzen</label><br />
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

133)     <strong>".$vhost['homedir']."/websites/</strong>&#160;<input type=\"text\" id=\"docroot\" name=\"docroot\" size=\"30\" value=\"".$docroot."\" ".($is_default_docroot ? 'disabled="disabled" ' : '')."/>
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

134)   </div>
bernd Docroot auch bei WebDAV anz...

bernd authored 16 years ago

135) </div>
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

136) ";
bernd Docroot auch bei WebDAV anz...

bernd authored 16 years ago

137) 
bernd Vorbereitung für PHP 5.3

bernd authored 14 years ago

138) 
bernd Zeige PHP-Versionsauswahl n...

bernd authored 13 years ago

139) $have_php = ($vhost['php'] == 'php53' ? ' checked="checked" ' : '');
140) 
141) $phpoptions = "<h5>PHP</h5>
142)   <div style=\"margin-left: 2em;\">
143)     <input type=\"checkbox\" name=\"php\" id=\"php\" value=\"php53\" {$have_php}/>&#160;<label for=\"php\">PHP einschalten</label>
144)   </div>
145) ";
146) 
147) /*
148)  * Zeige ein Auswahlmenü, wenn bisher PHP 5.2 eingestellt war!
149)  */
150) if ($vhost['php'] == 'fastcgi')
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

151) {
bernd Zeige PHP-Versionsauswahl n...

bernd authored 13 years ago

152)   $options = array("none" => 'ausgeschaltet', "php53" => 'PHP 5.3' , "fastcgi" => "Kompatibilitätsmodus: PHP 5.2");
153)   $phpoptions = "
154)   <h5>PHP</h5>
155)   <div style=\"margin-left: 2em;\">
156)     ".html_select("php", $options, $vhost['php'])."
157)   </div>";
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

158) }
bernd Vorbereitung für PHP 5.3

bernd authored 14 years ago

159) 
bernd "CGI-Aktivieren" ist jetzt...

bernd authored 13 years ago

160) $safemode = ($vhost['cgi'] == 1 ? '' : ' checked="checked" ');
bernd CGI abschaltbar

bernd authored 14 years ago

161) 
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

162) $form .= "
163) <div class=\"vhostoptions\" id=\"options_scriptlang\" ".($vhost_type=='regular' ? '' : 'style="display: none;"').">
bernd Zeige PHP-Versionsauswahl n...

bernd authored 13 years ago

164)   ".$phpoptions."
bernd "CGI-Aktivieren" ist jetzt...

bernd authored 13 years ago

165)   <h5>Abgesicherter Modus</h5>
bernd CGI abschaltbar

bernd authored 14 years ago

166)   <div style=\"margin-left: 2em;\">
bernd "CGI-Aktivieren" ist jetzt...

bernd authored 13 years ago

167)     <input type=\"checkbox\" name=\"safemode\" id=\"safemode\" value=\"yes\" {$safemode}/>&#160;<label for=\"safemode\">Abgesicherter Modus</label><br /><em>(Deaktiviert CGI, mod_rewrite und einige weitere Funktionen mit denen die Website auf andere Orte des Home-Verzeichnisses zugreifen könnte.)</em>
bernd CGI abschaltbar

bernd authored 14 years ago

168)   </div>
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

169) </div>
170) ";
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

171) 
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

172) $form .= "
bernd vhost-Modul kann jetzt SVN-...

bernd authored 16 years ago

173) <div class=\"vhostoptions\" id=\"options_webapp\" ".($vhost_type=='webapp' ? '' : 'style="display: none;"').">
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

174)   <h4>Optionen</h4>
175)   <h5>Anwendung</h5>
bernd vhost-Modul kann jetzt SVN-...

bernd authored 16 years ago

176)   <select name=\"webapp\" id=\"webapp\" size=\"1\">
bernd Webapps implementiert

bernd authored 16 years ago

177)     {$webapp_options}
bernd vhost-Modul kann jetzt SVN-...

bernd authored 16 years ago

178)   </select>
bernd Info-Text über E-mail mit Z...

bernd authored 16 years ago

179)   <p>Wenn Sie diese Option wählen, wird die Anwendung automatisch eingerichtet. Sie erhalten dann ihre Zugangsdaten per E-Mail.</p>
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

180) </div>
bernd R.I.P. Shared-Drupal

bernd authored 15 years ago

181) ";
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

182) 
bernd R.I.P. Shared-Drupal

bernd authored 15 years ago

183) $form .= "
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

184) <h4>Verwendung</h4>
185)         <div style=\"margin-left: 2em;\">
186) 	  <input class=\"usageoption\" onclick=\"showAppropriateLines()\" type=\"radio\" name=\"vhost_type\" id=\"vhost_type_regular\" value=\"regular\" ".(($vhost_type=='regular') ? 'checked="checked" ' : '')."/><label for=\"vhost_type_regular\">&#160;Normal (selbst Dateien hinterlegen)</label><br />
bernd R.I.P. Shared-Drupal

bernd authored 15 years ago

187) ";
188) if ($vhost_type=='webapp')
189) {
190)   // Wird nur noch angezeigt wenn der Vhost schon auf webapp konfiguriert ist, ansonsten nicht.
191)   // Die User sollen den Webapp-Installer benutzen.
192)   $form .= "
bernd Gloable Webapps weiter hoch

bernd authored 16 years ago

193) 	  <input class=\"usageoption\" onclick=\"showAppropriateLines()\" type=\"radio\" name=\"vhost_type\" id=\"vhost_type_webapp\" value=\"webapp\" ".(($vhost_type=='webapp') ? 'checked="checked" ' : '')."/><label for=\"vhost_type_webapp\">&#160;Eine vorgefertigte Applikation nutzen</label><br />
bernd R.I.P. Shared-Drupal

bernd authored 15 years ago

194) ";
195) }
196) $form .= "
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

197) 	  <input class=\"usageoption\" onclick=\"showAppropriateLines()\" type=\"radio\" name=\"vhost_type\" id=\"vhost_type_dav\" value=\"dav\" ".(($vhost_type=='dav') ? 'checked="checked" ' : '')."/><label for=\"vhost_type_dav\">&#160;WebDAV</label><br />
bernd Gloable Webapps weiter hoch

bernd authored 16 years ago

198) 	  <input class=\"usageoption\" onclick=\"showAppropriateLines()\" type=\"radio\" name=\"vhost_type\" id=\"vhost_type_svn\" value=\"svn\" ".(($vhost_type=='svn') ? 'checked="checked" ' : '')."/><label for=\"vhost_type_svn\">&#160;Subversion-Server</label>
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

199) 	</div>
bernd vhost-Modul kann jetzt SVN-...

bernd authored 16 years ago

200) <br />
bernd R.I.P. Shared-Drupal

bernd authored 15 years ago

201) <br />
202) <br />
bernd vhost-Modul kann jetzt SVN-...

bernd authored 16 years ago

203) </div>
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

204) 
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

205) <h4 style=\"clear: right; margin-top: 3em;\">Allgemeine Optionen</h4>
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

206) <div style=\"margin-left: 2em;\">
207)     <h5>SSL-Verschlüsselung</h5>
208)     <div style=\"margin-left: 2em;\">
209)     <select name=\"ssl\" id=\"ssl\">
bernd SSL auch über webinterface...

bernd authored 16 years ago

210)       <option value=\"none\" ".($vhost['ssl'] == NULL ? 'selected="selected"' : '')." >SSL optional anbieten</option>
211)       <option value=\"http\" ".($vhost['ssl'] == 'http' ? 'selected="selected"' : '')." >kein SSL</option>
212)       <option value=\"https\" ".($vhost['ssl'] == 'https' ? 'selected="selected"' : '')." >nur SSL</option>
213)       <option value=\"forward\" ".($vhost['ssl'] == 'forward' ? 'selected="selected"' : '')." >Immer auf SSL umleiten</option>
214)     </select>
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

215)     </div>
216)     <h5>Logfiles <span class=\"warning\">*</span></h5>
217)     <div style=\"margin-left: 2em;\">
218)       <select name=\"logtype\" id=\"logtype\">
219)         <option value=\"none\" ".($vhost['logtype'] == NULL ? 'selected="selected"' : '')." >keine Logfiles</option>
220)         <option value=\"anonymous\" ".($vhost['logtype'] == 'anonymous' ? 'selected="selected"' : '')." >anonymisiert</option>
221)         <option value=\"default\" ".($vhost['logtype'] == 'default' ? 'selected="selected"' : '')." >vollständige Logfile</option>
222)       </select><br />
bernd Webalizer/Statistik-Funktio...

bernd authored 14 years ago

223)       <input type=\"checkbox\" id=\"errorlog\" name=\"errorlog\" value=\"1\" ".($vhost['errorlog'] == 1 ? ' checked="checked" ' : '')." />&#160;<label for=\"errorlog\">Fehlerprotokoll (error_log) einschalten</label><br />
224)       <input type=\"checkbox\" id=\"stats\" name=\"stats\" value=\"1\" ".($vhost['stats'] != NULL ? ' checked="checked" ' : '')." />&#160;<label for=\"stats\">Statistiken/Auswertungen erzeugen</label>
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

225)     </div>
bernd Webalizer/Statistik-Funktio...

bernd authored 14 years ago

226)     <p>Logfiles werden unter <b>/var/log/apache2/".$_SESSION['userinfo']['username']."</b> abgelegt.</p>
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

227) </div>
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

228)     ";
bernd neues VHosts-Modul (unbenut...

bernd authored 16 years ago

229) 
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

230) $ipaddrs = user_ipaddrs();
231) $certs = user_certs();
bernd SuExec-Useraccount einstellbar

bernd authored 14 years ago

232) $available_users = available_suexec_users();
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

233) 
bernd IPv6-Option nur anzeigen we...

bernd authored 13 years ago

234) $extended = '';
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

235)   if (count($certs))
236)   {
237)     $certselect = array(0 => 'kein Zertifikat / System-Standard benutzen');
238)     foreach ($certs as $c)
239)     {
240)       $certselect[$c['id']] = $c['subject'];
241)     }
bernd IPv6-Option nur anzeigen we...

bernd authored 13 years ago

242)     $extended .= "
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

243)       <h5>verwendetes SSL-Zertifikat</h5>
244)       <div style=\"margin-left: 2em;\">
245)       ".html_select('cert', $certselect, $vhost['certid'])."
246)       </div>";
247)   }
bernd IP-Adressen aktivieren

bernd authored 14 years ago

248)   if (count($ipaddrs))
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

249)   {
250)     $ipselect = array(0 => 'System-Standard');
251)     foreach ($ipaddrs AS $i)
252)     {
253)       $ipselect[$i] = $i;
254)     }
bernd IPv6-Option nur anzeigen we...

bernd authored 13 years ago

255)     $extended .= "
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

256)       <h5>IP-Adresse</h5>
257)       <div style=\"margin-left: 2em;\">
bernd IP-Adressen aktivieren

bernd authored 14 years ago

258)       ".html_select('ipv4', $ipselect, $vhost['ipv4'])."
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

259)       </div>";
bernd IP-Adressen aktivieren

bernd authored 14 years ago

260)   } 
bernd SuExec-Useraccount einstellbar

bernd authored 14 years ago

261)   if (count($available_users))
262)   {
263)     $userselect = array(0 => 'Eigener Benutzeraccount');
264)     foreach ($available_users AS $u)
265)     {
266)       $userselect[$u['uid']] = $u['username'];
267)     }
bernd IPv6-Option nur anzeigen we...

bernd authored 13 years ago

268)     $extended .= "
bernd SuExec-Useraccount einstellbar

bernd authored 14 years ago

269)       <h5>SuExec-Benutzeraccount</h5>
270)       <div style=\"margin-left: 2em;\">
271)       ".html_select('suexec_user', $userselect, $vhost['suexec_user'])."
272)       </div>";
273)   }
bernd IPv6-Option nur anzeigen we...

bernd authored 13 years ago

274) if ($have_v6) 
275) {
bernd IPv6-Regelbetrieb vorbereit...

bernd authored 13 years ago

276)   $ipv6_address = '';
bernd Zusätzlicher Haken für eige...

bernd authored 13 years ago

277)   if ($vhost['id'] && ($vhost['autoipv6'] >0 ))
278)     $ipv6_address = '<strong>IPv6-Adresse dieser Subdomain:</strong> '.autoipv6_address($vhost['id'], $vhost['autoipv6']);
279)   $checked = ($vhost['autoipv6'] > 0) ? ' checked="checked"' : '';
280)   $checked2 = ($vhost['autoipv6'] == 2) ? ' checked="checked"' : '';
bernd IPv6-Option nur anzeigen we...

bernd authored 13 years ago

281)   $extended .= '<h5>IPv6</h5>
bernd IPv6

bernd authored 14 years ago

282) <div style="margin-left: 2em;">
bernd IPv6-Regelbetrieb vorbereit...

bernd authored 13 years ago

283) <input type="checkbox" name="ipv6" id="ipv6" value="yes" '.$checked.'/>&#160;<label for="ipv6">Auch über IPv6 erreichbar machen</label><br />
bernd Zusätzlicher Haken für eige...

bernd authored 13 years ago

284) <input type="checkbox" name="ipv6_separate" id="ipv6_separate" value="yes" '.$checked2.'/>&#160;<label for="ipv6_separate">Für diese Website eine eigene IPv6-Adresse reservieren</label><br />
bernd IPv6-Regelbetrieb vorbereit...

bernd authored 13 years ago

285) '.$ipv6_address.'
bernd IPv6

bernd authored 14 years ago

286) </div>';
bernd IPv6-Option nur anzeigen we...

bernd authored 13 years ago

287) }
288) if ($extended)
289)   $form .= "
290) <h4 style=\"margin-top: 3em;\">Erweiterte Optionen</h4>
291) <div style=\"margin-left: 2em;\">
292) ".$extended."</div>";
bernd IPv6

bernd authored 14 years ago

293) 
bernd Neue Zertifikatsverwaltung

bernd authored 14 years ago

294) 
295) 
296) 
bernd VHosts-Modul mit neuem Layo...

bernd authored 16 years ago

297) $form .= '
bernd eliminate .php extensions f...

bernd authored 15 years ago

298)   <p><input type="submit" value="Speichern" />&#160;&#160;&#160;&#160;'.internal_link('vhosts', 'Abbrechen').'</p>
bernd mod_php deprecated, zwang z...

bernd authored 15 years ago

299)   <p class="warning"><span class="warning">*</span>Es ist im Moment fraglich, ob die Speicherung von Logfiles mit IP-Adressen auf Webservern
bernd warnung bzgl. logfiles eing...

bernd authored 16 years ago

300)   zulässig ist. Wir weisen alle Nutzer darauf hin, dass sie selbst dafür verantwortlich sind, bei geloggten Nutzerdaten die
301)   Seitenbesucher darauf hinzuweisen. Wir empfehlen, wenn möglich, Logfiles abzuschalten oder anonymes Logging einzusetzen.</p>
bernd VHosts können bearbeitet we...

bernd authored 16 years ago

302) ';
bernd eliminate .php extensions f...

bernd authored 15 years ago

303) output(html_form('vhosts_edit_vhost', 'save', 'action=edit&vhost='.$vhost['id'], $form));