home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / admin / config.php < prev    next >
Encoding:
PHP Script  |  2004-07-05  |  3.3 KB  |  86 lines

  1. <?
  2. // This program is free software; you can redistribute it and/or
  3. // modify it under the terms of the GNU General Public License
  4. // as published by the Free Software Foundation; either version 2
  5. // of the License, or (at your option) any later version.
  6.                                                 $Version="3.6";
  7. // This program is distributed in the hope that it will be useful,
  8. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  10. // GNU General Public License for more details.
  11. //
  12. // You should have received a copy of the GNU General Public License
  13. // along with this program; if not, write to the Free Software
  14. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  15.  
  16. // Secure this page so you need to login. Value can be true or false
  17. $securesite             =false;
  18. $infotext            ="sysinfo "; // The text that's displayed in the logon window
  19. $loginname           ="sysinfo";  // The login name for the secured page
  20. $password            ="admin";    // The password for the secured page
  21.  
  22. // Check if there's an update available
  23. $updatecheck         =false;
  24.  
  25. // The location of the pagefile.sys. Windowsdefault is c:\
  26. $pagefile             = "c:\pagefile.sys";
  27.  
  28. // Options for logging
  29. $logenable             =true;               // true to enable, false to disable logging
  30. $countfile             ="data/counter.txt"; // The log file for counting
  31. $logfile             ="data/WebLog.txt";  // The log file for statistics
  32.  
  33. // The default language and theme for this page
  34. $defaultlang         ="german";   // The Language
  35. $defaulttheme         ="tsw";      // The theme
  36.  
  37. // Show the hostname of the visitor. Value can be true or false
  38. $show['hostname']    =false;
  39.  
  40. // Show running servers like Mail, Http . Value can be true or false.
  41. $show['services']    =true;
  42.  
  43. // The different servers to choose when the above one is true
  44. $show['pop']         =true;
  45. $show['news']        =true;
  46. $show['mysql']       =true;
  47. $show['ftp']         =true;
  48. $show['mail']        =true;
  49. $show['telnet']      =true;
  50. $show['tswcc']         =true;
  51. $show['http']         =true;
  52. $show['https']         =true;
  53. $show['imap']         =true;
  54. $show['tomcat']         =true;
  55. $show['ajp']         =true;
  56. $show['fireb']         =true;
  57.  
  58.  
  59. // The different ports for the above listed servers
  60. $port['pop']         ="110";
  61. $port['news']        ="119";
  62. $port['mysql']       ="3306";
  63. $port['ftp']         ="21";
  64. $port['mail']        ="25";
  65. $port['telnet']      ="19";
  66. $port['tswcc']         ="3000";
  67. $port['http']         ="80";
  68. $port['https']         ="443";
  69. $port['imap']         ="143";
  70. $port['tomcat']         ="8080";
  71. $port['ajp']         ="8009";
  72. $port['fireb']         ="3050";
  73.  
  74.  
  75. // Choose here wich pages will be accesible
  76. $show['pagedisks']   =true; // The page with harddiskdetail
  77. $show['pagetasks']   =false; // The page with listed tasks
  78. $show['pagerserv']   =false; // The page with running services
  79. $show['pagedrivers'] =false; // The page with loaded drivers
  80. $show['pagenetwork'] =true; // The page with network enviroment
  81. $show['pagephp']     =false; // The page with the php details
  82. $show['serverstatus']=false; // The page with apache server status
  83. $show['serverinfo']     =false; // The page with apacha server info
  84. $show['treeharddisk']=true; // The pages with the trees on de harddisks
  85. $show['logs']         =true; // The page with the statititics
  86. ?>