4 |
session_start(); |
session_start(); |
5 |
if( !isset($_SESSION['openclose']) ) |
if( !isset($_SESSION['openclose']) ) |
6 |
{ |
{ |
7 |
session_register('openclose'); |
//session_register('openclose'); |
8 |
|
//$_SESSION['openclose'] = $openclose; |
9 |
$_SESSION['openclose'] = array(); |
$_SESSION['openclose'] = array(); |
10 |
} |
} |
11 |
|
|
12 |
// Datenbankverbindungs-Konfiguration |
// Datenbankverbindungs-Konfiguration |
13 |
$dbhost = "localhost"; |
$dbhost = "127.0.0.1"; |
14 |
$dbname = "alx_web"; |
$dbname = "mcore"; |
15 |
$dbuname = "alx_install"; |
$dbuname = "alx_install"; |
16 |
$dbpass = "@lx"; |
$dbpass = "@lx"; |
17 |
|
|
18 |
// www root of the alx_install |
// www root of the alx_install |
19 |
$wwwroot = "/var/www/htdocs"; |
$wwwroot = "/var/www/htdocs/alx-web-070"; |
20 |
|
|
21 |
// Home Verzeichnis des httpd-daemons für ssh-certs |
// Home Verzeichnis des httpd-daemons für ssh-certs |
22 |
$home = "/var/lib/apache"; |
$home = "/var/lib/apache"; |
23 |
|
|
|
// ping Kommando zum überprüfen der Errreichbarkeit der Hosts |
|
|
$pingcmd = "/usr/sbin/fping -c 1 -t 50 -q"; |
|
|
|
|
24 |
// ssh Kommando |
// ssh Kommando |
25 |
$sshcmd = "/usr/bin/ssh -l root -o ConnectTimeout=5"; |
$sshcmd = "/usr/bin/ssh -l root -o ConnectTimeout=5"; |
26 |
|
|
27 |
// wake-on-lan Kommando |
// wake-on-lan Kommando |
28 |
$wolcmd = "/usr/bin/etherwake"; |
$woliface = "eth0"; |
29 |
|
$wolcmd = "/usr/bin/ether-wake -i ".$woliface; |
30 |
|
|
31 |
// fixed config.rc |
// fixed config.rc |
32 |
$configrc = $wwwroot."/share/config.rc"; |
$configrc = $wwwroot."/share/config.rc"; |
34 |
// fixed mage.rc |
// fixed mage.rc |
35 |
$magerc = $wwwroot."/share/mage.rc"; |
$magerc = $wwwroot."/share/mage.rc"; |
36 |
|
|
37 |
|
// default socket timeout for ssh conections |
38 |
|
$socket_timeout = 10; |
39 |
|
|
40 |
// ssh public key file |
// ssh public key file |
41 |
$pubkey_file = $home.'/.ssh/id_dsa.pub'; |
$pubkey_file = $home.'/.ssh/id_dsa.pub'; |
42 |
|
|
44 |
$privkey_file = $home.'/.ssh/id_dsa'; |
$privkey_file = $home.'/.ssh/id_dsa'; |
45 |
|
|
46 |
// citrix_browser addresses |
// citrix_browser addresses |
47 |
$citrix_browseradrs = '128.20.50.50;128.20.50.66;128.20.50.71;128.20.50.46;128.20.100.31;128.20.100.32;128.20.100.33;128.20.100.34'; |
$citrix_browseradrs = 'ica.dom-aka-nt.intern'; |
48 |
|
|
49 |
|
// citrix default domain name |
50 |
|
$citrix_domain_name = 'DOM_AKA_NT'; |
51 |
|
|
52 |
|
// storefront store |
53 |
|
$storefront_store = 'https://storefront.dom-aka-nt.intern'; |
54 |
|
|
55 |
|
// storefront default domain name |
56 |
|
$storefront_domain_name = 'DOM_AKA_NT'; |
57 |
|
|
58 |
|
// mcore client port |
59 |
|
$mcore_port = 6666; |
60 |
|
|
61 |
|
// ssh port of older clients |
62 |
|
$ssh_port = 22; |
63 |
|
|
64 |
|
// ping timout |
65 |
|
$ping_timeout = 0.01; |
66 |
|
|
67 |
?> |
?> |