From a47628eba53784db811e32ea072b59728f7f7cda Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 18 Jan 2013 02:20:10 +0000 Subject: [PATCH] - remove uniserver. --- .../home/admin/www/includes/lang/Chinese.php | 411 ------- .../uniserver/home/zentao/www/.ztaccess | 7 - build/windows/uniserver/readme.txt | 14 - .../uniserver/unicon/tray_menu/UniTray1.ini | 165 --- .../unicon/tray_menu/unitray_info.php | 98 -- .../uniserver/unicon/tray_menu/zentao.dat | Bin 2550 -> 0 bytes .../usr/local/apache2/conf/httpd.conf | 1037 ----------------- 7 files changed, 1732 deletions(-) delete mode 100644 build/windows/uniserver/home/admin/www/includes/lang/Chinese.php delete mode 100644 build/windows/uniserver/home/zentao/www/.ztaccess delete mode 100644 build/windows/uniserver/readme.txt delete mode 100644 build/windows/uniserver/unicon/tray_menu/UniTray1.ini delete mode 100644 build/windows/uniserver/unicon/tray_menu/unitray_info.php delete mode 100644 build/windows/uniserver/unicon/tray_menu/zentao.dat delete mode 100644 build/windows/uniserver/usr/local/apache2/conf/httpd.conf diff --git a/build/windows/uniserver/home/admin/www/includes/lang/Chinese.php b/build/windows/uniserver/home/admin/www/includes/lang/Chinese.php deleted file mode 100644 index 0eaac58ef9..0000000000 --- a/build/windows/uniserver/home/admin/www/includes/lang/Chinese.php +++ /dev/null @@ -1,411 +0,0 @@ - 'Uniform Server', - 'apanel' => '管理面板', - 'dev-team' => 'The Uniform Server Development Team', - - //-------------------------------------------------------------------------------------------- - // Source Code - //-------------------------------------------------------------------------------------------- - - 'code-show' => '查看源代码', - 'code-source' => '查看源代码', - 'code-back' => '关闭查看', - - //-------------------------------------------------------------------------------------------- - // Navigation - //-------------------------------------------------------------------------------------------- - - // Basic - 'nav-home' => '主页', - 'nav-web' => 'Uniform Server Website', - 'nav-secure' => '服务器安全性', - 'nav-phpinfo' => 'PHP信息', - 'nav-cgienv' => 'Perl环境', - 'nav-status' => 'Apache运行状态', - 'nav-info' => 'Apache信息', - 'nav-update' => '检查更新', - // Server Control - 'nav-start' => '服务器控制面板', - // Server Control - Service - 'nav-uservers' => '卸载服务', - 'nav-rapaches' => '重新启动Apache服务', - 'nav-rmysqls' => '重新启动MySQL服务', - // Server Control - Standard Program - 'nav-sserver' => '关闭所有服务', - 'nav-rmysql' => '运行MySQL', - 'nav-smysql' => '关闭MySQL', - // 配置s - 'nav-config' => '配置', - 'nav-aconfig' => 'Apache 配置', - 'nav-pconfig' => 'PHP 配置', - 'nav-vhost' => '管理虚拟机', - 'nav-apsetup' => '管理面板配置', - 'nav-psetup' => 'Private Server 配置', - 'nav-sslpsetup' => 'Private Secure Server Config', - 'nav-mqsetup' => 'MySQL Server 配置', - - // Tools Navigation - 'nav-tools' => '工具', - 'nav-pma' => 'phpMyAdmin', - 'nav-elog' => '错误日志查看器', - 'nav-u2w' => 'windows到unix转换器', - 'nav-smig' => 'Server Migration', - 'nav-key' => '服务器私钥和证书生成', - 'nav-mysqlrestore' => '重置MySQL密码', - - // Plugins Navigation - 'nav-plugins' => '插件管理', - 'nav-pear' => '安装Pear', - 'nav-eaccelerator' => 'eAccelerator控制面板', - // Misc Navigation - 'nav-misc' => '其他杂项', - 'nav-sup' => '在线支持', - // Documentation - 'nav-docs1' => '文档', - 'nav-sdoc' => '本机文档', - 'nav-docs2' => '在线文档', - 'nav-udoc' => '用户指南', - 'nav-wiki' => 'WIKI', - 'nav-phdoc' => 'PHP文档', - 'nav-mydoc' => 'MySQL文档', - 'nav-pedoc' => 'Perl文档', - // Languages - 'nav-langs' => 'Languages', - - //-------------------------------------------------------------------------------------------- - // Home - //-------------------------------------------------------------------------------------------- - - 'main-head' => '管理面板'. $us_apanel_version .'', - 'main-text' => ' - 欢迎使用 Uniform Server '. $us_version .'!.
- 您现在访问的是管理面板,通过它你可以控制你的Apache、PHP、MySQL服务。虽然我们一直持续的为它增加新的功能,改进,并修复Bug,但它是稳定并且功能完整的,使用起来也非常的简单友好。 -
- 如果发现了Bug,请反馈给我们:forum. -
-
- 鸣谢: -
- Uniform Server开发团队', - 'main-secure' => '系统安全检查列表', - 'main-text-0' => '修改管理面板的用户名和密码点击这里', - 'main-text-1' => 'Change the username/password for the server 点击这里', - 'main-text-2' => 'Change the root password for mysql by editing 点击这里', - 'main-text-3' => 'Run the Security Console and see if everything is OK.', - 'main-text-4' => 'Change the username/password for the SSL server 点击这里', - - //-------------------------------------------------------------------------------------------- - // Update - //-------------------------------------------------------------------------------------------- - - 'update-head' => 'Uniform Server Version Check', - 'update-check' => 'Checking Version...', - 'update-notfound' => ' - Version file could not be found on the Uniform Server! -
- Or -
- The Unifrom Server is off-line! -
- Or -
- You are not connected to the Internet! -
', - - 'update-true' => ' - Installed version of the Uniform Server is the latest one. -
- You don\'t need to update it. -
', - 'update-false' => 'A Newer version of the Uniform Server is available!', - 'update-new' => 'New Version', - 'update-yours' => 'Installed Version', - 'update-get' => 'You can get the newer version from our website by clicking the link below.', - - //-------------------------------------------------------------------------------------------- - // Server Control - Standard program - //-------------------------------------------------------------------------------------------- - - 'server-stop-head1' => 'Stop Servers', - 'server-stop-head2' => 'Stopping servers', - 'server-stop-txt1' => 'This script will stop Apache and MySQL servers', - 'server-stop-txt2' => 'The Servers are stopping please wait for a beep to confirm!', - 'server-stop-txt3' => 'Thank you for using The Uniform Server.', - 'server-confirm-button' => 'Confirm', - - 'start-mysql-head1' => 'Start MySQL Server', - 'start-mysql-head2' => 'Starting the MySQL server.', - 'start-mysql-txt1' => 'This script will start the MySQL server.', - 'start-mysql-txt2' => 'MySQL server already running.', - 'start-mysql-txt3' => 'The MySQL server was started you can continue using the server.', - 'start-mysql-button' => 'Start MySQL Server', - - 'stop-mysql-head1' => 'Stop MySQL Server', - 'stop-mysql-head2' => 'Stopping the MySQL server.', - 'stop-mysql-txt1' => 'This script will stop the MySQL server.', - 'stop-mysql-txt2' => 'The MySQL server was stopped.', - 'stop-mysql-txt3' => 'MySQL server not running.', - 'stop-mysql-button' => 'Stop MySQL Server', - - //-------------------------------------------------------------------------------------------- - // Server Control - Services - //-------------------------------------------------------------------------------------------- - - 'service-apache-head1' => 'Restart Apache Service', - 'service-apache-head2' => 'Restarting Apache service', - 'service-apache-txt1' => 'This script will restart the Apache service.', - 'service-apache-txt2' => 'It will take a some time', - 'service-apache-txt3' => 'The Apache service is restarting please wait
Between 2-10 seconds!' , - 'service-apache-txt4' => 'Apanel will reload to reflect any server configuration changes.', - - 'service-mysql-head1' => 'Restart MySQL Service', - 'service-mysql-head2' => 'The MySQL service was restarted.', - 'service-mysql-txt1' => 'This script will restart the MySQL service.', - 'service-mysql-txt2' => 'It will take some time', - 'service-mysql-txt3' => 'The MySQL service was restarted you can continue using the server.', - - 'service-confirm-button' => 'Confirm', - - //-------------------------------------------------------------------------------------------- - // Apache 配置 - //-------------------------------------------------------------------------------------------- - - 'aconfig-head' => 'Apache 配置', - 'aconfig-conf' => 'Configure Apache', - 'aconfig-sname' => 'Server Name', - 'aconfig-wemail' => 'Server Admin Email', - 'aconfig-difiles' => 'Directory Index Files', - 'aconfig-ssi' => 'Server Side Includes', - 'aconfig-ssig' => 'Server Signature', - 'aconfig-listen' => 'Listen', - 'aconfig-text-0' => 'something', - 'aconfig-text-1' => ' - The changes have been successfully saved.
Changes will take effect after server restart!', - 'aconfig-save' => 'Save', - 'aconfig-module' => 'At the moment PHP is loaded as Apache module.', - 'aconfig-cgi' => 'At the moment PHP scripts are executed though Apache CGI interface.', - 'aconfig-help' => '?', - - //-------------------------------------------------------------------------------------------- - // PHP 配置 - //-------------------------------------------------------------------------------------------- - - 'pconfig-head' => 'PHP 配置', - 'pconfig-conf' => 'Configure PHP', - 'pconfig-smode' => 'Safe Mode', - 'pconfig-rg' => 'Register Globals', - 'pconfig-mtexec' => 'Maximum Script Execute Time (s.)', - 'pconfig-mmexec' => 'Maximum Memory Amount (MB)', - 'pconfig-ssig' => 'Show PHP In Server Signature', - 'pconfig-perror' => 'Print Errors', - 'pconfig-mpsize' => 'Maximum Post Size', - 'pconfig-musize' => 'Maximum Upload Size', - 'pconfig-text-0' => 'something', - 'pconfig-text-1' => ' - The changes have been successfully saved.
Changes will take effect after server restart!', - 'pconfig-save' => 'Save', - 'pconfig-module' => 'At the moment PHP is loaded as Apache module.', - 'pconfig-cgi' => 'At the moment PHP scripts are executed though Apache CGI interface.', - 'pconfig-help' => '?', - - //-------------------------------------------------------------------------------------------- - // VHost Manager - //-------------------------------------------------------------------------------------------- - - 'vhost-head' => 'Virtual Host', - 'vhost-setup' => 'Virtual Host Setup', - 'vhost-settings' => 'Virtual Host Settings', - 'vhost-text-0' => 'You have', - 'vhost-text-1' => 'hosts in your httpd.conf file:', - 'vhost-text-2' => 'Error in hosts file:', - 'vhost-text-3' => 'All hostnames exist in hosts file!', - 'vhost-new' => ' - Use this new and cool tool to add more virtual hosts to your server without having to edit - the httpd.conf file yourself.', - 'vhost-new-ex' => '(ex. newhost.localhost)', - 'vhost-name' => 'Name:', - 'vhost-path' => 'Path to DocumentRoot:', - 'vhost-path-ex' => '(ex. c:/www/newhost)', - 'vhost-opt' => 'Optional additions:', - 'vhost-opt-ex' => '(ex. error_log etc.)', - 'vhost-dne' => 'does not exist', - 'vhost-make' => 'Create VHost', - 'vhost-error-1' => 'Error in path to your hosts-file!', - 'vhost-error-2' => 'Error in path to your httpd.conf!', - 'vhost-text-4' => 'Safe_mode is On, so restart Apache manually!', - 'vhost-credit' => 'Script By Sukos', - - //-------------------------------------------------------------------------------------------- - // Error Log Viewer - //-------------------------------------------------------------------------------------------- - - 'elog-viewer-head1' => 'Error Log Viewer', - 'elog-viewer-head2' => 'Viewing Error Log File', - - //-------------------------------------------------------------------------------------------- - // Win to Unix Converter - //-------------------------------------------------------------------------------------------- - - 'w2u-head1' => 'Windows to Unix Converter', - 'w2u-head2' => 'Convert Windows Perl Files', - 'w2u-head3' => 'Converted Windows Perl Files', - - 'w2u-txt1' => 'If you have problems executing your cgi scripts on Unix.
- This program will convert cgi scripts from Windows to Unix format Dec(#10#13=>#13).
Hex 0D0A to 0A', - - 'w2u-txt2' => 'Instruction:
After execution you can pick up scripts ready for execution - on a Unix machine from the \\cgi-bin-unix\\ directory.
', - - 'w2u-txt3' => 'Files converted:
They are located in folder \\cgi-bin-unix\\ ', - - 'w2u-convert-button' => 'Convert', - - - //-------------------------------------------------------------------------------------------- - // Server Certificate and Key Generation - //-------------------------------------------------------------------------------------------- - - 'cert-head1' => 'Server Certificate and Key Generation', - 'cert-head2' => 'Verify Generation', - 'cert-head3' => 'Unable to run Certificate and Key Generation.', - 'cert-head4' => 'Certificate and Key Generation Complete.', - - 'cert-txt1' => 'Click on Generate! and follow instructions.', - 'cert-txt2' => 'Services are not allowed to interact with the desktop.
You need to run this script manually:', - 'cert-txt3' => 'Alternatively use UniTray.', - 'cert-txt4' => 'Cirtificate location:', - 'cert-txt5' => 'Key location:', - - 'cert-confirm-button' => 'Generate', - - //-------------------------------------------------------------------------------------------- - // MySQL restore password - //-------------------------------------------------------------------------------------------- - - 'mysql-head1' => 'MySQL restore password', - 'mysql-head2' => 'Verify Restore', - 'mysql-head3' => 'MySQL password restored.', - - 'mysql-txt1' => 'Click on Restore! Restore will take several seconds.', - 'mysql-txt2' => 'Password restored you can continue using the server..', - - 'mysql-confirm-button' => 'Restore MySQL Password', - - //-------------------------------------------------------------------------------------------- - // Server Security Console - //-------------------------------------------------------------------------------------------- - - 'secure1-head' => 'Security Alert!', - 'secure1-sub' => 'Possible Attack', - 'secure1-text-0' => 'IP ADDRESS is not 127.0.0.1, but', - 'secure1-text-1' => 'Note: HTTP_REFERER is', - 'secure1-text-2' => 'To disable this warning set $unisecure to 0 in: /home/admin/www/includes/config.inc.php', - - //-------------------------------------------------------------------------------------------- - // Admin Panel Setup - //-------------------------------------------------------------------------------------------- - - 'apsetup-head' => 'Admin Panel 配置', - 'apsetup-sub-0' => 'User Management', - 'apsetup-text-0' => 'Setup the username and password for the Admin Panel here. Please note that you might have - to activate this feature in the /home/admin/www/.htaccess file.', - 'apsetup-user' => 'Username', - 'apsetup-pass' => 'Password', - 'apsetup-change' => 'Change', - 'apsetup-success' => 'The Admin Panel username/password has been changed to the new values:', - - //-------------------------------------------------------------------------------------------- - // Private Server Setup - //-------------------------------------------------------------------------------------------- - - 'psetup-head' => 'Private Server 配置', - 'psetup-sub-0' => 'User Management', - 'psetup-text-0' => 'Setup the username and password for your Private Server here. Please note that you might have - to activate this feature in the /www/.htaccess file.', - 'psetup-user' => 'Username', - 'psetup-pass' => 'Password', - 'psetup-change' => 'Change', - 'psetup-success' => 'Your Private Server username/password has been changed to the new values:', - - //-------------------------------------------------------------------------------------------- - // Private Secure Server Setup (SSL) - //-------------------------------------------------------------------------------------------- - - 'sslpsetup-head' => 'Private Secure Server 配置 (SSL)', - 'sslpsetup-sub-0' => 'User Management', - 'sslpsetup-text-0' => 'Setup the username and password for your Private Secure Server here. Please note that you might have - to activate this feature in the /ssl/.htaccess file.', - 'sslpsetup-user' => 'Username', - 'sslpsetup-pass' => 'Password', - 'sslpsetup-change' => 'Change', - 'sslpsetup-success' => 'Your Private Secure Server username/password has been changed to the new values:', - - //-------------------------------------------------------------------------------------------- - // MySQL Setup - //-------------------------------------------------------------------------------------------- - - 'mqsetup-head' => 'MySQL Server 配置', - 'mqsetup-sub-0' => 'User Management', - 'mqsetup-text-0' => 'Setup the MySQL password here. After changing the MySQL password, please note that you - must shutdown the server using the Stop.bat file and then start the server over again.', - 'mqsetup-pass' => 'MySQL Password', - 'mqsetup-change' => 'Change', - 'mqsetup-success' => 'Your MySQL password has been changed to the new value:', - - //-------------------------------------------------------------------------------------------- - // Server Security Center - //-------------------------------------------------------------------------------------------- - - 'secure-head' => 'Security Center', - 'secure-sub-0' => 'User Management Security', - 'secure-sub-1' => 'Server Security', - 'secure-text-0' => 'This part of the security center will check all user management settings to make sure that - everything is set. It will tell you if something needs to be changed.', - 'secure-text-1' => 'SECURITY MSG', - 'secure-text-2' => 'STATUS', - 'secure-text-3' => 'Admin Panel', - 'secure-text-X' => 'If the username/password is still set to root, then you probably need to change this - by clicking the UNSECURE link.', - 'secure-text-sslX' => 'Unsecure indicates you do not have a server certificate or key. Create new ones by clicking the UNSECURE link.', - 'secure-secure' => 'SECURE', - 'secure-unsecure' => 'UNSECURE', - 'secure-text-7' => 'If the password is still set to root, then you probably need to change this by clicking the UNSECURE link.', - 'secure-text-8' => 'This part of the security center will check and make sure the server settings are appropriate and set corectly.', - 'secure-text-9' => 'PHP Safe Mode', - 'secure-text-10' => 'This checks to see if PHP is running in SAFE MODE. Now, PHP does not have to run in SAFE MODE, but - if you want the extra security, you can set it by clicking on the UNSECURE link.', - 'secure-text-p' => 'Personal Server', - 'secure-text-sslp' => 'Personal Secure Server (SSL)', - 'secure-text-sslcertp' => 'Server Certificate and Key (SSL)', - 'secure-text-s' => 'MySQL Server', - 'secure-text-11' => 'Admin Panel Access', - 'secure-text-12' => 'Server Access', - 'secure-text-12ssl' => 'Server Access (SSL)', - 'secure-text-13' => 'While this is another feature that is not throughly important as other features are in place against - outside access to the Admin Panel, this checks to see if your Admin Panel is secured using the Auth method. Please change this - by editing the '.$us_apanel.'/.htaccess file.', - 'secure-text-14' => 'If you are running your server in Production Mode, Skip this one. If not and you would like to - add more security to the server by blocking it using the Auth method, then change this in by editing the '.$us_www.'/.htaccess file.', - 'secure-text-14ssl' => 'If you are running your server in Production Mode, Skip this one. If not and you would like to - add more security to the server by blocking it using the Auth method, then change this in by editing the '.$us_ssl.'/.htaccess file.', - 'secure-view' => 'Local View', - 'secure-look' => 'Due to the fact that some PC\'s have a different hostname set rather than localhost, we use the IP method here. This - checks to make sure that you are viewing the Admin Panel (this) from local.', -); - -# Beta Feature, Currently For Debugging Only -#array2table($US, true); -?> diff --git a/build/windows/uniserver/home/zentao/www/.ztaccess b/build/windows/uniserver/home/zentao/www/.ztaccess deleted file mode 100644 index 9e9b9889bd..0000000000 --- a/build/windows/uniserver/home/zentao/www/.ztaccess +++ /dev/null @@ -1,7 +0,0 @@ -Options +FollowSymLinks +SymLinksIfOwnerMatch - - RewriteEngine On - RewriteCond %{REQUEST_FILENAME} !-d - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule (.*)$ /zentao/index.php/$1 [L] - diff --git a/build/windows/uniserver/readme.txt b/build/windows/uniserver/readme.txt deleted file mode 100644 index 30bdf735e9..0000000000 --- a/build/windows/uniserver/readme.txt +++ /dev/null @@ -1,14 +0,0 @@ -使用注意事项: - -1. 不能解压缩到含有中文和空格的路径中。 -2. 启动: - 2.1 双击运行start.exe。 软件会有一个提示,然后缩放到桌面的右下角,为一个蓝色的图标。 - 2.2 左键单击该图标,然后选择第一个菜单,"启动Apache和MySQL进程"。 - 2.3 如果想开机自动运行,则可以选择“将apache和mysql安装为服务运行”。 -3. 访问: http://localhost/zentao/ 管理用户:admin,密码 123456 - 如果你下载的88端口的包,请使用http://localhost:88/zentao来访问。 -4. 数据库的用户名和密码为:root root -5. apache的配置文件在:usr/local/apache2/conf/httpd.conf -6. mysql的数据库文件在:usr/local/mysql/data/zentao -7. zentao的程序文件在:home/zentao/ -8. 如何备份:将整个禅道目录备份即可。 diff --git a/build/windows/uniserver/unicon/tray_menu/UniTray1.ini b/build/windows/uniserver/unicon/tray_menu/UniTray1.ini deleted file mode 100644 index f02e79e9e8..0000000000 --- a/build/windows/uniserver/unicon/tray_menu/UniTray1.ini +++ /dev/null @@ -1,165 +0,0 @@ -[Config] -ID=UniTrayController1 -ImageList=menu_icons.dat -ServiceGlyphRunning=2 -ServiceGlyphPaused=18 -ServiceGlyphStopped=18 -;TrayIconAllRunning=9 -;TrayIconSomeRunning=10 -;TrayIconNoneRunning=11 -AboutHeader=UniTray UniServer V5-Nano -AboutVersion=V5.0 -;TrayIcon=tray_image_1.dat -TrayIcon=zentao.dat - -[AboutText] -UniTray is a small tray icon for the Uniform Server. The main system, Aestan Tray Icon was developed by Onno Broekmans using Borland Delphi for another server and as since then being licensed under the Creative Commons for Public Domain. - -UniTray packs most of the functionality that Admin Panel provides into a single Tray Icon! UniTray is fully customisable allowing you to tailor it to your own requirements. - -[Variables] -;Type: prompt; Name: PUserName; PromptCaption: "Uniform Server"; PromptText: "Please enter the name of the user whose credentials you want to change/add:"; DefaultValue: "Guest" -; The next line contains the declaration of the %USRoot% variable; it should -; point to the root directory of the Uniform Server package - -; Gets the root path as specified on the command line -Type: commandline; Name: top; ParamName: "ustop" -Type: static; Name: USRoot; Value: "%top%"; Flags: ispath -Type: static; Name: LocalRoot; Value: "%top%\usr\local" -Type: static; Name: UsrRoot; Value: "%top%\usr" -Type: static; Name: ServerRoot; Value: "%top%\www" -Type: static; Name: PHP; Value: "%top%\usr\local\php" -Type: static; Name: ServerCon; Value: "%top%\unicon" -Type: static; Name: ServerConMain; Value: "%top%\unicon\main" -Type: static; Name: UniTray; Value: "%top%\unicon\tray_menu" - -[Menu.Left.Settings] -AutoLineReduction=no -AutoHotKeys=no -BarVisible=yes -BarPictureHorzAlignment=center -BarPictureOffsetX=0 -BarPictureOffsetY=0 -BarPicturePicture=menu_image_left.dat -BarPictureTransparent=no -BarPictureVertAlignment=middle -BarBorder=clNone -BarSide=left -BarSpace=0 -BarWidth=50 -SeparatorsAlignment=center - -[Menu.Right.Settings] -AutoLineReduction=no -AutoHotKeys=no -BarVisible=yes -BarPictureHorzAlignment=center -BarPictureOffsetX=0 -BarPictureOffsetY=0 -BarPicturePicture=menu_image_right.dat -BarPictureTransparent=no -BarPictureVertAlignment=middle -BarBorder=clNone -BarSide=left -BarSpace=0 -BarWidth=50 -SeparatorsAlignment=center - -[DoubleClickAction] -Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 1"; - -;=== LEFT MENU ============ -[Menu.Left] -Type: item; Caption: "ApacheMySQL"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\start_servers.php 7";ShowCmd: hidden; Glyph: 9 -Type: item; Caption: "ֹͣApacheMySQL"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\stop_servers.php 7";ShowCmd: hidden; Glyph: 11 - -Type: separator -Type: item; Caption: "װApacheMySQLΪ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\service_install_run.php 7";ShowCmd: hidden; Glyph: 0 -Type: item; Caption: "ֹͣApacheMySQLƳ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\service_stop_uninstall.php 7";ShowCmd: hidden; Glyph: 1 - -Type: separator -Type: item; Caption: "UniServer״̬"; Action: multi; Actions: ServerStatus; Glyph: 14 -Type: submenu; Caption: "ApacheMySQL߼"; SubMenu: Individual_unicontrol; Glyph: 3 -Type: submenu; Caption: "ApacheMySQLϢ־"; SubMenu: ServerInfo; Glyph: 14 -Type: submenu; Caption: "ApacheMySQLPHP"; SubMenu: Advanced; Glyph: 7 - -Type: separator -Type: item; Caption: "ʱ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 8";ShowCmd: hidden; Glyph: 4 -Type: item; Caption: "ٷվ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 9";ShowCmd: hidden; Glyph: 4 - -Type: separator -Type: item; Caption: "ʹ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 1";ShowCmd: hidden; Glyph: 4 -Type: item; Caption: "phpMyAdmin"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 2";ShowCmd: hidden; Glyph: 4 -Type: item; Caption: "ʱҳ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 3";ShowCmd: hidden; Glyph: 4 - -Type: separator -Type: item; Caption: "ؼز˵"; Action: readconfig; Glyph: 15 -Type: item; Caption: "UniServer"; Action: run; FileName: "%ServerCon%\docs\Run.bat"; ShowCmd: hidden; Glyph: 18 -Type: item; Caption: "UniServer"; Action: about; Glyph: 14 - -Type: separator -Type: item; Caption: "˳"; Action: exit; Glyph: 16 - -[Individual_unicontrol] -Type: item; Caption: "Apache"; Action: shellexecute; FileName: "%PHP%\php-win.exe"; Parameters: " -n %ServerConMain%\start_servers.php 1"; Glyph: 9 -Type: item; Caption: "ֹͣApache"; Action: shellexecute; FileName: "%PHP%\php-win.exe"; Parameters: " -n %ServerConMain%\stop_servers.php 1"; Glyph: 11 - -Type: separator -Type: item; Caption: "MySQL"; Action: shellexecute; FileName: "%PHP%\php-win.exe"; Parameters: " -n %ServerConMain%\start_servers.php 2"; Glyph: 9 -Type: item; Caption: "ֹͣMySQL"; Action: shellexecute; FileName: "%PHP%\php-win.exe"; Parameters: " -n %ServerConMain%\stop_servers.php 2"; Glyph: 11 - -Type: separator -Type: item; Caption: "װApacheΪ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\service_install_run.php 1"; Glyph: 0 -Type: item; Caption: "ֹͣApacheƳ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\service_stop_uninstall.php 1"; Glyph: 1 - -Type: separator -Type: item; Caption: "װMySQLΪ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\service_install_run.php 2"; Glyph: 0 -Type: item; Caption: "ֹͣMySQLƳ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\service_stop_uninstall.php 2"; Glyph: 1 - -;=== RIGHT MENU ============ -[Menu.Right] -Type: item; Caption: "˳"; Action: exit; Glyph: 16 - -;=== COMMON LEFT RIGHT ======= -[Advanced] -Type: item; Caption: "Apache"; Action: multi; Actions: ApacheSyntaxCheck; Glyph: 14 -Type: item; Caption: "޸Apache"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\apache2\conf\httpd.conf"; Glyph: 7 - -Type: separator -Type: item; Caption: "ָMySQL"; Action: run; FileName: "%ServerCon%\restore_mysql_password\Run_restore.bat"; Glyph: 9 -Type: item; Caption: "޸MySQL"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\mysql\my.ini"; Glyph: 7 - -Type: separator -Type: item; Caption: "޸õphp.ini"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\php\php.ini_production_nano"; Glyph: 7 -Type: item; Caption: "޸Ŀõphp.ini"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\php\php.ini_delvelopment_nano"; Glyph: 7 - -Type: separator -Type: item; Caption: "лphp"; Action: shellexecute; FileName: "%ServerCon%\php_dev_production\Switch_production.bat"; Parameters: " pro"; Glyph: 9 -Type: item; Caption: "лphp"; Action: shellexecute; FileName: "%ServerCon%\php_dev_production\Switch_Development.bat"; Parameters: " dev"; Glyph: 9 - -;Type: separator -;Type: item; Caption: "Start Portable Cron"; Action: shellexecute; FileName: "%PHP%\php-win.exe"; Parameters: " -n %ServerConMain%\start_servers.php 16"; Glyph: 9 -;Type: item; Caption: "Stop Portable Cron"; Action: shellexecute; FileName: "%PHP%\php-win.exe"; Parameters: " -n %ServerConMain%\stop_servers.php 16"; Glyph: 11 - -; Server information and Logs -[ServerInfo] -Type: item; Caption: "ApacheϢ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 5";ShowCmd: hidden; Glyph: 4 -Type: item; Caption: "Apache״̬"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 6";ShowCmd: hidden; Glyph: 4 -Type: item; Caption: "PHPϢ"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %UniTray%\unitray_info.php 7";ShowCmd: hidden; Glyph: 4 - -Type: separator -Type: item; Caption: "Apache־"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\apache2\logs\error.log"; Glyph: 18 -Type: item; Caption: "Apache־"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\apache2\logs\access.log"; Glyph: 18 - -;Type: separator -;Type: item; Caption: "Apache SSL Error Log"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\apache2\logs\error_ssl.log"; Glyph: 18 -;Type: item; Caption: "Apache SSL Access Log"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\apache2\logs\access_ssl.log"; Glyph: 18 - -Type: separator -Type: item; Caption: "MySQL־"; Action: shellexecute; FileName: "%Windows%\Notepad.exe"; Parameters: "%LocalRoot%\mysql\data\mysql.err"; Glyph: 18 - -[ServerStatus] -Action: run; FileName: "%ServerConMain%\server_status.bat" - -[ApacheSyntaxCheck] -Action: run; FileName: "%ServerConMain%\apache_syntax_check.bat" diff --git a/build/windows/uniserver/unicon/tray_menu/unitray_info.php b/build/windows/uniserver/unicon/tray_menu/unitray_info.php deleted file mode 100644 index 61e10c99c6..0000000000 --- a/build/windows/uniserver/unicon/tray_menu/unitray_info.php +++ /dev/null @@ -1,98 +0,0 @@ - diff --git a/build/windows/uniserver/unicon/tray_menu/zentao.dat b/build/windows/uniserver/unicon/tray_menu/zentao.dat deleted file mode 100644 index 7e41175181055c71892a44f651dc6f9fb1be440f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2550 zcmeH}e@v8h9LL`f1o&exvf)tkY)qm+j-|3J;lc!p1d3fL2n>|?AwrfzLS42_sI^>e zW=`2UR}-Qm9cGqM92mF;#|d}gX$@KyH5F>RN`cs?_xJE&N1My_XY1L%2jA!Ue!f4S z=k@vkKJZ0I2>3S;CH}xt;6`1C53ZQK}aJ1xJe7GYP$ExFSyebMOcShkvjRB`#G@!+l zg46rgqxIlMd~qljZS{HRtO43z2t<3$EVS;8n<^#)PVdcxvndVE57xnE*@T{kjc_!t zhx4P&7&x^F=UdC+I#Z4F)@R|e)xy>DGF-iNp3=R?2R*d`u+`3m?X_Uo-VB57z+!al z(cx^Zj`wuvdR33^eR}lPN5WozANt-{0>@iR(SLyD?WO2FvJAZqD`B@Jpzp{E^qZHX z{S^Z`UpK&U*Z|i%2H0DYVgDo@j*~_>PG!T{_%NK!sTi<4iVN?p#f8Q+T(mp^XG;bK zj%TpV(>V9}Q*eBii@vs8INFQh>?pyG`Wi8E{(X!NG-2d|1@23oaR1x`_vK!= zubhMXYCqhgPFx%P2ESh&!XG0;xW;mQl;xKpjJbcn*l)v_xbDW}m>YkNyHS#tgz~~9 zlolkTqBs@hMJcE#O+!UlI^tJGO_!;c=KtUS@($GTGR@02W@bg2)c?GUxyIzggw-jJ zE%8)yj9FQ%#>YJryM{M(8*&_lN7!%WcEvS z5$r0AJ^TCJ2HeTT+@)205Tcf3x_iFosgLix8!OzsBs}2uxp(YV%lkDL_$~mjGMZ@l z$4j+QMYUJ4GdZi9iYJ4oIeU{H`K{%XZB{a3oXimNgC%>M+_Umq%)d#P`ZgDmg`H%K zkWWHR2{|U@nUHHj<_Vc6WN4>q>)j9Qi^-y4a_XkBWT}v;LbeL|JnY>E$L+e+STb73 zY9Z6R)Ev~B$T%UZgv=7MOUN)G%Y?iWZCvtM$U09f{ULORkWcw^KnM9LR{B#<<#g=^r6~J>#lax>V>%&-r?v5&17!D=p~__gsv94{470DL{|!(Cv>0CfkICTeJOOU(78f?3Oy>VCWA015atHLoI&WB zBJ~c??RIUSwe@Oe for detailed information. -# In particular, see -# -# for a discussion of each configuration directive. -# -# Do NOT simply read the instructions in here without understanding -# what they do. They're here only as hints or reminders. If you are unsure -# consult the online docs. You have been warned. -# -# The configuration directives are grouped into three basic sections: -# 1. Directives that control the operation of the Apache server process as a -# whole (the 'global environment'). -# 2. Directives that define the parameters of the 'main' or 'default' server, -# which responds to requests that aren't handled by a virtual host. -# These directives also provide default values for the settings -# of all virtual hosts. -# 3. Settings for virtual hosts, which allow Web requests to be sent to -# different IP addresses or hostnames and have them handled by the -# same Apache server process. -# -# Configuration and logfile names: If the filenames you specify for many -# of the server's control files begin with "/" (or "drive:/" for Win32), the -# server will use that explicit path. If the filenames do *not* begin -# with "/", the value of ServerRoot is prepended -- so "logs/foo.log" -# with ServerRoot set to "C:/Program Files/Apache Software Foundation/Apache2.2" will be interpreted by the -# server as "C:/Program Files/Apache Software Foundation/Apache2.2/logs/foo.log". -# -# NOTE: Where filenames are specified, you must use forward slashes -# instead of backslashes (e.g., "c:/apache" instead of "c:\apache"). -# If a drive letter is omitted, the drive on which Apache.exe is located -# will be used by default. It is recommended that you always supply -# an explicit drive letter in absolute paths to avoid confusion. - -### Section 1: Global Environment -# -# The directives in this section affect the overall operation of Apache, -# such as the number of concurrent requests it can handle or where it -# can find its configuration files. -# - -# ServerRoot: The top of the directory tree under which the server's -# configuration, error, and log files are kept. -# -# Do not add a slash at the end of the directory path. If you point -# ServerRoot at a non-local disk, be sure to point the LockFile directive -# at a local disk. If you wish to share the same ServerRoot for multiple -# httpd daemons, you will need to change at least LockFile and PidFile. -# - -ServerRoot "D:/zentao/usr/local/apache2" - -# ScoreBoardFile: File used to store internal server process information. -# If unspecified (the default), the scoreboard will be stored in an -# anonymous shared memory segment, and will be unavailable to third-party -# applications. -# If specified, ensure that no two invocations of Apache share the same -# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK. - -#ScoreBoardFile logs/apache_runtime_status - -# PidFile: The file in which the server should record its process -# identification number when it starts. - -PidFile logs/httpd.pid - -# Timeout: The number of seconds before receives and sends time out. - -Timeout 300 - -# KeepAlive: Whether or not to allow persistent connections (more than -# one request per connection). Set to "Off" to deactivate. - -KeepAlive On - -# MaxKeepAliveRequests: The maximum number of requests to allow -# during a persistent connection. Set to 0 to allow an unlimited amount. -# We recommend you leave this number high, for maximum performance. - -MaxKeepAliveRequests 100 - -# KeepAliveTimeout: Number of seconds to wait for the next request from the -# same client on the same connection. - -KeepAliveTimeout 15 - -## -## Server-Pool Size Regulation (MPM specific) -## - -# WinNT MPM -# ThreadsPerChild: constant number of worker threads in the server process -# MaxRequestsPerChild: maximum number of requests a server process serves - - -ThreadsPerChild 250 -MaxRequestsPerChild 0 - - -# -# Listen: Allows you to bind Apache to specific IP addresses and/or -# ports, instead of the default. See also the -# directive. -# -# Change this to Listen on specific IP addresses as shown below to -# prevent Apache from glomming onto all bound IP addresses. -# -#Listen 12.34.56.78:80 - -Listen 80 - -# -# Dynamic Shared Object (DSO) Support -# -# To be able to use the functionality of a module which was built as a DSO you -# have to place corresponding `LoadModule' lines at this location so the -# directives contained in it are actually available _before_ they are used. -# Statically compiled modules (those listed by `httpd -l') do not need -# to be loaded here. -# -# Example: -# LoadModule foo_module modules/mod_foo.so -# - -LoadModule actions_module modules/mod_actions.so -LoadModule alias_module modules/mod_alias.so -LoadModule asis_module modules/mod_asis.so -LoadModule auth_basic_module modules/mod_auth_basic.so -#LoadModule auth_digest_module modules/mod_auth_digest.so -#LoadModule authn_alias_module modules/mod_authn_alias.so -#LoadModule authn_anon_module modules/mod_authn_anon.so -#LoadModule authn_dbd_module modules/mod_authn_dbd.so -#LoadModule authn_dbm_module modules/mod_authn_dbm.so -LoadModule authn_default_module modules/mod_authn_default.so -LoadModule authn_file_module modules/mod_authn_file.so -#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so -#LoadModule authz_dbm_module modules/mod_authz_dbm.so -LoadModule authz_default_module modules/mod_authz_default.so -LoadModule authz_groupfile_module modules/mod_authz_groupfile.so -LoadModule authz_host_module modules/mod_authz_host.so -#LoadModule authz_owner_module modules/mod_authz_owner.so -LoadModule authz_user_module modules/mod_authz_user.so -LoadModule autoindex_module modules/mod_autoindex.so -#LoadModule cache_module modules/mod_cache.so -#LoadModule cern_meta_module modules/mod_cern_meta.so -LoadModule cgi_module modules/mod_cgi.so -#LoadModule charset_lite_module modules/mod_charset_lite.so -LoadModule dav_module modules/mod_dav.so -#LoadModule dav_fs_module modules/mod_dav_fs.so -#LoadModule dav_lock_module modules/mod_dav_lock.so -#LoadModule dbd_module modules/mod_dbd.so -LoadModule deflate_module modules/mod_deflate.so -LoadModule dir_module modules/mod_dir.so -#LoadModule disk_cache_module modules/mod_disk_cache.so -#LoadModule dumpio_module modules/mod_dumpio.so -LoadModule env_module modules/mod_env.so -#LoadModule expires_module modules/mod_expires.so -#LoadModule ext_filter_module modules/mod_ext_filter.so -#LoadModule file_cache_module modules/mod_file_cache.so -#LoadModule filter_module modules/mod_filter.so -LoadModule headers_module modules/mod_headers.so -#LoadModule ident_module modules/mod_ident.so -#LoadModule imagemap_module modules/mod_imagemap.so -LoadModule include_module modules/mod_include.so -LoadModule info_module modules/mod_info.so -LoadModule isapi_module modules/mod_isapi.so -#LoadModule ldap_module modules/mod_ldap.so -#LoadModule logio_module modules/mod_logio.so -LoadModule log_config_module modules/mod_log_config.so -#LoadModule log_forensic_module modules/mod_log_forensic.so -#LoadModule mem_cache_module modules/mod_mem_cache.so -LoadModule mime_module modules/mod_mime.so -#LoadModule mime_magic_module modules/mod_mime_magic.so -LoadModule negotiation_module modules/mod_negotiation.so -#LoadModule proxy_module modules/mod_proxy.so -#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so -#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so -#LoadModule proxy_connect_module modules/mod_proxy_connect.so -#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so -#LoadModule proxy_http_module modules/mod_proxy_http.so -LoadModule rewrite_module modules/mod_rewrite.so -LoadModule setenvif_module modules/mod_setenvif.so -#LoadModule speling_module modules/mod_speling.so -#LoadModule ssl_module modules/mod_ssl.so -LoadModule status_module modules/mod_status.so -#LoadModule substitute_module modules/mod_substitute.so -#LoadModule unique_id_module modules/mod_unique_id.so -LoadModule userdir_module modules/mod_userdir.so -#LoadModule usertrack_module modules/mod_usertrack.so -LoadModule version_module modules/mod_version.so -LoadModule vhost_alias_module modules/mod_vhost_alias.so - - -# Enable dav-fs and gzip output compression. -Loadfile "D:/zentao/usr/local/php/libmysql.dll" - -# DEFLATE Module Settings - - # Add file mime types to be compressed - AddOutputFilterByType DEFLATE text/plain - AddOutputFilterByType DEFLATE text/html - AddOutputFilterByType DEFLATE text/xml - AddOutputFilterByType DEFLATE text/css - AddOutputFilterByType DEFLATE application/xml - AddOutputFilterByType DEFLATE application/xhtml+xml - AddOutputFilterByType DEFLATE application/rss+xml - AddOutputFilterByType DEFLATE application/javascript - AddOutputFilterByType DEFLATE application/x-javascript - - #Set compression Highest 9 - Lowest 1 - DeflateCompressionLevel 9 - - # If you must enable these lines, - obsolete browser - #BrowserMatch ^Mozilla/4 gzip-only-text/html - #BrowserMatch ^Mozilla/4\.0[678] no-gzip - #BrowserMatch \bMSIE !no-gzip !gzip-only-text/html - - - # Setup custom deflate log - enable only for testing - # Eats CPU time hence disable after testing - DeflateFilterNote Input instream - DeflateFilterNote Output outstream - DeflateFilterNote Ratio ratio - LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate - #CustomLog logs/deflate.log deflate - - - # Make sure proxies don't deliver the wrong content - - Header append Vary User-Agent env=!dont-vary - - - -# DEFLATE Module Settings End - - -# Mod_Dav Module Settings -# - #LoadModule dav_fs_module modules/mod_dav_fs.so - # DavLockDB D:/zentao/tmp/DavLock -# -# AuthName "The Uniform Server" -# AuthUserFile D:/zentao/htpasswd/home/admin/www/.htpasswd -# AuthType Basic -# AllowOverride None -# Dav On -# Require valid-user -# -# -# End Mod_Dav Settings - -# ExtendedStatus controls whether Apache will generate "full" status -# information (ExtendedStatus On) or just basic information (ExtendedStatus -# Off) when the "server-status" handler is called. The default is Off. - -ExtendedStatus On - -### Section 2: 'Main' server configuration -# -# The directives in this section set up the values used by the 'main' -# server, which responds to any requests that aren't handled by a -# definition. These values also provide defaults for -# any containers you may define later in the file. -# -# All of these directives may appear inside containers, -# in which case these default settings will be overridden for the -# virtual host being defined. -# - -# -# ServerAdmin: Your address, where problems with the server should be -# e-mailed. This address appears on some server-generated pages, such -# as error documents. e.g. admin@your-domain.com -# - -ServerAdmin admin@localhost - -# ServerName gives the name and port that the server uses to identify itself. -# This can often be determined automatically, but we recommend you specify -# it explicitly to prevent problems during startup. -# If your host doesn't have a registered DNS name, enter its IP address here. - -ServerName localhost:80 - -# UseCanonicalName: Determines how Apache constructs self-referencing -# URLs and the SERVER_NAME and SERVER_PORT variables. -# When set "Off", Apache will use the Hostname and Port supplied -# by the client. When set "On", Apache will use the value of the -# ServerName directive. - -UseCanonicalName Off - -# DocumentRoot: The directory out of which you will serve your -# documents. By default, all requests are taken from this directory, but -# symbolic links and aliases may be used to point to other locations. - -DocumentRoot "D:/zentao/www" - -# Each directory to which Apache has access can be configured with respect -# to which services and features are allowed and/or disabled in that -# directory (and its subdirectories). -# -# First, we configure the "default" to be a very restrictive set of -# features. - - - Options Indexes Includes - AllowOverride All - - - AddType application/x-httpd-php .phtml .php3 .php - AddType Application/x-httpd-php-source .phps - -# Using PHP as an Apache Module... - -#LoadModule php5_module "D:/zentao/usr/local/php/php5apache2.dll" -LoadModule php5_module "D:/zentao/usr/local/php/php5apache2_2.dll" - -PHPIniDir "D:/zentao/usr/local/php/" - -# Using PHP as a CGI Module -# ScriptAlias "/__php_dir__/" "D:/zentao/usr/local/php/" -# Action application/x-httpd-php "/__php_dir__/php.exe" -# -# Note that from this point forward you must specifically allow -# particular features to be enabled - so if something's not working as -# you might expect, make sure that you have specifically enabled it -# below. - - -# This should be changed to whatever you set DocumentRoot to. - - - -# Possible values for the Options directive are "None", "All", -# or any combination of: -# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews -# -# Note that "MultiViews" must be named *explicitly* --- "Options All" -# doesn't give it to you. -# -# The Options directive is both complicated and important. Please see -# http://httpd.apache.org/docs-2.0/mod/core.html#options -# for more information. - - Options Indexes Includes - -# AllowOverride controls what directives may be placed in .htaccess files. -# It can be "All", "None", or any combination of the keywords: -# Options FileInfo AuthConfig Limit - - AllowOverride All - -# Controls who can get stuff from this server. - - Order allow,deny - Allow from all - - - -Alias /apanel "D:/zentao/home/admin/www/" - - Options Indexes Includes - AllowOverride All - Order allow,deny - Allow from all - - -Alias /webalizer "D:/zentao/webalizer/" - - Options Indexes Includes - AllowOverride All - Order allow,deny - Allow from all - - -Alias /test_access "D:/zentao/home/access/www/" - - Order allow,deny - Allow from all - - -Alias /zentao "D:/zentao/home/zentao/www/" - - Options Indexes Includes - AllowOverride All - Order allow,deny - Allow from all - - - -# UserDir: The name of the directory that is appended onto a user's home -# directory if a ~user request is received. Be especially careful to use -# proper, forward slashes here. On Windows NT, "Personal/My Website" -# is a more appropriate choice. - -UserDir "D:/zentao/www/" - -# Control access to UserDir directories. The following is an example -# for a site where these directories are restricted to read-only. -# -# You must correct the path for the root to match your system's configured -# user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My Website" -# or whichever, as appropriate. -# -# -# AllowOverride FileInfo AuthConfig Limit -# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec -# -# Order allow,deny -# Allow from all -# -# -# Order deny,allow -# Deny from all -# -# - -# DirectoryIndex: sets the file that Apache will serve if a directory -# is requested. -# - -DirectoryIndex index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi - -# AccessFileName: The name of the file to look for in each directory -# for additional configuration directives. See also the AllowOverride -# directive. - -AccessFileName .ztaccess - -# The following lines prevent .htaccess and .htpasswd files from being -# viewed by Web clients. - - - Order allow,deny - Deny from all - - -# TypesConfig describes where the mime.types file (or equivalent) is -# to be found. - -TypesConfig conf/mime.types - -# DefaultType is the default MIME type the server will use for a document -# if it cannot otherwise determine one, such as from filename extensions. -# If your server contains mostly text or HTML documents, "text/plain" is -# a good value. If most of your content is binary, such as applications -# or images, you may want to use "application/octet-stream" instead to -# keep browsers from trying to display binary files as though they are -# text. - -DefaultType text/plain - -# The mod_mime_magic module allows the server to use various hints from the -# contents of the file itself to determine its type. The MIMEMagicFile -# directive tells the module where the hint definitions are located. - - - MIMEMagicFile conf/magic - - -# HostnameLookups: Log the names of clients or just their IP addresses -# e.g., www.apache.org (on) or 204.62.129.132 (off). -# The default is off because it'd be overall better for the net if people -# had to knowingly turn this feature on, since enabling it means that -# each client request will result in AT LEAST one lookup request to the -# nameserver. - -HostnameLookups Off - -# EnableMMAP: Control whether memory-mapping is used to deliver -# files (assuming that the underlying OS supports it). -# The default is on; turn this off if you serve from NFS-mounted -# filesystems. On some systems, turning it off (regardless of -# filesystem) can improve performance; for details, please see -# http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap - -#EnableMMAP off - -# EnableSendfile: Control whether the sendfile kernel support is -# used to deliver files (assuming that the OS supports it). -# The default is on; turn this off if you serve from NFS-mounted -# filesystems. Please see -# http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile - -#EnableSendfile off - -# -# ErrorLog: The location of the error log file. -# If you do not specify an ErrorLog directive within a -# container, error messages relating to that virtual host will be -# logged here. If you *do* define an error logfile for a -# container, that host's errors will be logged there and not here. -# -ErrorLog "logs/error.log" - -# -# LogLevel: Control the number of messages logged to the error_log. -# Possible values include: debug, info, notice, warn, error, crit, -# alert, emerg. -# -LogLevel warn - -# The following directives define some format nicknames for use with -# a CustomLog directive (see below). - -LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined -LogFormat "%h %l %u %t \"%r\" %>s %b" common -LogFormat "%{Referer}i -> %U" referer -LogFormat "%{User-agent}i" agent - -# You need to enable mod_logio.c to use %I and %O -#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio - -# The location and format of the access logfile (Common Logfile Format). -# If you do not define any access logfiles within a -# container, they will be logged here. Contrariwise, if you *do* -# define per- access logfiles, transactions will be -# logged therein and *not* in this file. - -CustomLog logs/access.log combined - -# If you would like to have agent and referer logfiles, uncomment the -# following directives. - -#CustomLog logs/referer.log referer -#CustomLog logs/agent.log agent - -# If you prefer a single logfile with access, agent, and referer information -# (Combined Logfile Format) you can use the following directive. - -# ServerTokens -# This directive configures what you return as the Server HTTP response -# Header. The default is 'Full' which sends information about the OS-Type -# and compiled in modules. -# Set to one of: Full | OS | Minor | Minimal | Major | Prod -# where Full conveys the most information, and Prod the least. - -ServerTokens Full - -# Optionally add a line containing the server version and virtual host -# name to server-generated pages (internal error documents, FTP directory -# listings, mod_status and mod_info output etc., but not CGI generated -# documents or custom error documents). -# Set to "EMail" to also include a mailto: link to the ServerAdmin. -# Set to one of: On | Off | EMail - -ServerSignature Off - -#Aliases: Add here as many aliases as you need (with no limit). The format is -# Alias fakename realname -# -# Note that if you include a trailing / on fakename then the server will -# require it to be present in the URL. So "/icons" isn't aliased in this -# example, only "/icons/". If the fakename is slash-terminated, then the -# realname must also be slash terminated, and if the fakename omits the -# trailing slash, the realname must also omit it. -# -# We include the /icons/ alias for FancyIndexed directory listings. If you -# do not use FancyIndexing, you may comment this out. - -Alias /icons/ "D:/zentao/usr/local/apache2/icons/" - - Options Indexes MultiViews - AllowOverride None - Options None - Order allow,deny - Allow from all - - -Alias /docs "D:/zentao/docs/" - - Options Indexes Includes - AllowOverride All - Order allow,deny - Allow from all - - -# ScriptAlias: This controls which directories contain server scripts. -# ScriptAliases are essentially the same as Aliases, except that -# documents in the realname directory are treated as applications and -# run by the server when requested rather than as documents sent to the client. -# The same rules about trailing "/" apply to ScriptAlias directives as to -# Alias. - -ScriptAlias /cgi-bin "D:/zentao/cgi-bin/" - -# "C:/Program Files/Apache Group/Apache2/cgi-bin" should be changed to whatever your ScriptAliased -# CGI directory exists, if you have that configured. - - - AllowOverride All - Options ExecCGI - - - - AllowOverride All - Options ExecCGI - - -# Redirect allows you to tell clients about documents which used to exist in -# your server's namespace, but do not anymore. This allows you to tell the -# clients where to look for the relocated document. -# Example: -# Redirect permanent /foo http:/D:/zentao/www.example.com/bar - -Redirect permanent /a http://localhost/apanel/ -Redirect permanent /a-cgi http://localhost/apanel/cgi-bin/ - -# Directives controlling the display of server-generated directory listings. - -# IndexOptions: Controls the appearance of server-generated directory -# listings. - -IndexOptions FancyIndexing VersionSort - -# AddIcon* directives tell the server which icon to show for different -# files or filename extensions. These are only displayed for -# FancyIndexed directories. - -AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip - -AddIconByType (TXT,/icons/text.gif) text/* -AddIconByType (IMG,/icons/image2.gif) image/* -AddIconByType (SND,/icons/sound2.gif) audio/* -AddIconByType (VID,/icons/movie.gif) video/* - -AddIcon /icons/binary.gif .bin .exe -AddIcon /icons/binhex.gif .hqx -AddIcon /icons/tar.gif .tar -AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv -AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip -AddIcon /icons/a.gif .ps .ai .eps -AddIcon /icons/layout.gif .html .shtml .htm .pdf -AddIcon /icons/text.gif .txt -AddIcon /icons/c.gif .c -AddIcon /icons/p.gif .pl .py -AddIcon /icons/f.gif .for -AddIcon /icons/dvi.gif .dvi -AddIcon /icons/uuencoded.gif .uu -AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl -AddIcon /icons/tex.gif .tex -AddIcon /icons/bomb.gif core - -AddIcon /icons/back.gif .. -AddIcon /icons/hand.right.gif README -AddIcon /icons/folder.gif ^^DIRECTORY^^ -AddIcon /icons/blank.gif ^^BLANKICON^^ - -# DefaultIcon is which icon to show for files which do not have an icon -# explicitly set. - -DefaultIcon /icons/unknown.gif - -# AddDescription allows you to place a short description after a file in -# server-generated indexes. These are only displayed for FancyIndexed -# directories. -# Format: AddDescription "description" filename - -#AddDescription "GZIP compressed document" .gz -#AddDescription "tar archive" .tar -#AddDescription "GZIP compressed tar archive" .tgz - -# ReadmeName is the name of the README file the server will look for by -# default, and append to directory listings. -# -# HeaderName is the name of a file which should be prepended to -# directory indexes. - -ReadmeName README.html -HeaderName HEADER.html - -# IndexIgnore is a set of filenames which directory indexing should ignore -# and not include in the listing. Shell-style wildcarding is permitted. - -IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t - -# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress -# information on the fly. Note: Not all browsers support this. -# Despite the name similarity, the following Add* directives have nothing -# to do with the FancyIndexing customization directives above. - -AddEncoding x-compress Z -AddEncoding x-gzip gz tgz - -# DefaultLanguage and AddLanguage allows you to specify the language of -# a document. You can then use content negotiation to give a browser a -# file in a language the user can understand. -# -# Specify a default language. This means that all data -# going out without a specific language tag (see below) will -# be marked with this one. You probably do NOT want to set -# this unless you are sure it is correct for all cases. -# -# * It is generally better to not mark a page as -# * being a certain language than marking it with the wrong -# * language! -# -# DefaultLanguage nl -# -# Note 1: The suffix does not have to be the same as the language -# keyword --- those with documents in Polish (whose net-standard -# language code is pl) may wish to use "AddLanguage pl .po" to -# avoid the ambiguity with the common suffix for perl scripts. -# -# Note 2: The example entries below illustrate that in some cases -# the two character 'Language' abbreviation is not identical to -# the two character 'Country' code for its country, -# E.g. 'Danmark/dk' versus 'Danish/da'. -# -# Note 3: In the case of 'ltz' we violate the RFC by using a three char -# specifier. There is 'work in progress' to fix this and get -# the reference data for rfc1766 cleaned up. -# -# Danish (da) - Dutch (nl) - English (en) - Estonian (et) -# French (fr) - German (de) - Greek-Modern (el) -# Italian (it) - Norwegian (no) - Norwegian Nynorsk (nn) - Korean (ko) -# Portugese (pt) - Luxembourgeois* (ltz) -# Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cs) -# Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) -# Russian (ru) - Croatian (hr) - -AddLanguage da .dk -AddLanguage nl .nl -AddLanguage en .en -AddLanguage et .et -AddLanguage fr .fr -AddLanguage de .de -AddLanguage he .he -AddLanguage el .el -AddLanguage it .it -AddLanguage ja .ja -AddLanguage pl .po -AddLanguage ko .ko -AddLanguage pt .pt -AddLanguage nn .nn -AddLanguage no .no -AddLanguage pt-br .pt-br -AddLanguage ltz .ltz -AddLanguage ca .ca -AddLanguage es .es -AddLanguage sv .sv -AddLanguage cs .cz .cs -AddLanguage ru .ru -AddLanguage zh-CN .zh-cn -AddLanguage zh-TW .zh-tw -AddLanguage hr .hr - -# LanguagePriority allows you to give precedence to some languages -# in case of a tie during content negotiation. -# -# Just list the languages in decreasing order of preference. We have -# more or less alphabetized them here. You probably want to change this. - -LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw - -# ForceLanguagePriority allows you to serve a result page rather than -# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback) -# [in case no accepted languages matched the available variants] - -ForceLanguagePriority Prefer Fallback - -# Specify a default charset for all pages sent out. This is -# always a good idea and opens the door for future internationalisation -# of your web site, should you ever want it. Specifying it as -# a default does little harm; as the standard dictates that a page -# is in iso-8859-1 (latin1) unless specified otherwise i.e. you -# are merely stating the obvious. There are also some security -# reasons in browsers, related to javascript and URL parsing -# which encourage you to always set a default char set. - -#AddDefaultCharset ISO-8859-1 -#AddDefaultCharset UTF-8 - -# Commonly used filename extensions to character sets. You probably -# want to avoid clashes with the language extensions, unless you -# are good at carefully testing your setup after each change. -# See http:/D:/zentao/www.iana.org/assignments/character-sets for the -# official list of charset names and their respective RFCs. - -AddCharset ISO-8859-1 .iso8859-1 .latin1 -AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen -AddCharset ISO-8859-3 .iso8859-3 .latin3 -AddCharset ISO-8859-4 .iso8859-4 .latin4 -AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru -AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb -AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk -AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb -AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk -AddCharset ISO-2022-JP .iso2022-jp .jis -AddCharset ISO-2022-KR .iso2022-kr .kis -AddCharset ISO-2022-CN .iso2022-cn .cis -AddCharset Big5 .Big5 .big5 -# For russian, more than one charset is used (depends on client, mostly): -AddCharset WINDOWS-1251 .cp-1251 .win-1251 -AddCharset CP866 .cp866 -AddCharset KOI8-r .koi8-r .koi8-ru -AddCharset KOI8-ru .koi8-uk .ua -AddCharset ISO-10646-UCS-2 .ucs2 -AddCharset ISO-10646-UCS-4 .ucs4 -AddCharset UTF-8 .utf8 - -# The set below does not map to a specific (iso) standard -# but works on a fairly wide range of browsers. Note that -# capitalization actually matters (it should not, but it -# does for some browsers). -# -# See http:/D:/zentao/www.iana.org/assignments/character-sets -# for a list of sorts. But browsers support few. - -AddCharset GB2312 .gb2312 .gb -AddCharset utf-7 .utf7 -AddCharset utf-8 .utf8 -AddCharset big5 .big5 .b5 -AddCharset EUC-TW .euc-tw -AddCharset EUC-JP .euc-jp -AddCharset EUC-KR .euc-kr -AddCharset shift_jis .sjis - -# AddType allows you to add to or override the MIME configuration -# file mime.types for specific file types. - -AddType application/x-tar .tgz -AddType image/x-icon .ico - -# AddHandler allows you to map certain file extensions to "handlers": -# actions unrelated to filetype. These can be either built into the server -# or added with the Action directive (see below) -# -# To use CGI scripts outside of ScriptAliased directories: -# (You will also need to add "ExecCGI" to the "Options" directive.) - -#AddHandler cgi-script .bat .exe .pl .cgi - -#Action application/x-perl "D:/zentao/usr/bin/perl" - -# For files that include their own HTTP headers: - -#AddHandler send-as-is asis - -# For server-parsed imagemap files: - -#AddHandler imap-file map - -AddHandler server-parsed .shtml .shtm .sht - -# For type maps (negotiated resources): -# (This is enabled by default to allow the Apache "It Worked" page -# to be distributed in multiple languages.) - -AddHandler type-map var - -# Filters allow you to process content before it is sent to the client. -# -# To parse .shtml files for server-side includes (SSI): -# (You will also need to add "Includes" to the "Options" directive.) - -AddType text/html .shtml -AddOutputFilter INCLUDES .shtml - -# Action lets you define media types that will execute a script whenever -# a matching file is called. This eliminates the need for repeated URL -# pathnames for oft-used CGI file processors. -# Format: Action media/type /cgi-script/location -# Format: Action handler-name /cgi-script/location - - -# Customizable error responses come in three flavors: -# 1) plain text 2) local redirects 3) external redirects -# -# Some examples: -#ErrorDocument 500 "The server made a boo boo." -#ErrorDocument 404 /missing.html -#ErrorDocument 404 "D:/zentao/cgi-bin/missing_handler.pl" -#ErrorDocument 402 http:/D:/zentao/www.example.com/subscription_info.html - -# Putting this all together, we can internationalize error responses. -# -# We use Alias to redirect any /error/HTTP_.html.var response to -# our collection of by-error message multi-language collections. We use -# includes to substitute the appropriate text. -# -# You can modify the messages' appearance without changing any of the -# default HTTP_.html.var files by adding the line: -# -# Alias /error/include/ "/your/include/path/" -# -# which allows you to create your own set of files by starting with the -# @exp_errordir@/include/ files and copying them to /your/include/path/, -# even on a per-VirtualHost basis. The default include files will display -# your Apache version number and your ServerAdmin email address regardless -# of the setting of ServerSignature. -# -# The internationalized error documents require mod_alias, mod_include -# and mod_negotiation. To activate them, uncomment the following 30 lines. - -# Alias /error/ "@exp_errordir@/" -# -# -# AllowOverride None -# Options IncludesNoExec -# AddOutputFilter Includes html -# AddHandler type-map var -# Order allow,deny -# Allow from all -# LanguagePriority en cs de es fr it nl sv pt-br ro -# ForceLanguagePriority Prefer Fallback -# -# -# ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var -# ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var -# ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var -# ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var -# ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var -# ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var -# ErrorDocument 410 /error/HTTP_GONE.html.var -# ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var -# ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var -# ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var -# ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var -# ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var -# ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var -# ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var -# ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var -# ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var -# ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var - -# The following directives modify normal HTTP response behavior to -# handle known problems with browser implementations. - -BrowserMatch "Mozilla/2" nokeepalive -BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 -BrowserMatch "RealPlayer 4\.0" force-response-1.0 -BrowserMatch "Java/1\.0" force-response-1.0 -BrowserMatch "JDK/1\.0" force-response-1.0 - -# The following directive disables redirects on non-GET requests for -# a directory that does not include the trailing slash. This fixes a -# problem with Microsoft WebFolders which does not appropriately handle -# redirects for folders with DAV methods. -# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV. - -BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully -BrowserMatch "^WebDrive" redirect-carefully -BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully -BrowserMatch "^gnome-vfs" redirect-carefully - -# Allow server status reports generated by mod_status, -# with the URL of http://servername/server-status -# Change the ".your-domain.com" to match your domain to enable. - - - SetHandler server-status - Order deny,allow - Deny from all - Allow from 127.0.0.1 - - -# Allow remote server configuration reports, with the URL of -# http://servername/server-info (requires that mod_info.c be loaded). -# Change the ".your-domain.com" to match your domain to enable. - - - SetHandler server-info - Order deny,allow - Deny from all - Allow from 127.0.0.1 - - -### Section 3: Virtual Hosts -# -# VirtualHost: If you want to maintain multiple domains/hostnames on your -# machine you can setup VirtualHost containers for them. Most configurations -# use only name-based virtual hosts so the server doesn't need to worry about -# IP addresses. This is indicated by the asterisks in the directives below. -# -# Please see the documentation at -# -# for further details before you try to setup virtual hosts. -# -# You may use the command line option '-S' to verify your virtual host -# configuration. -# Use name-based virtual hosting. - -#NameVirtualHost * - -# VirtualHost example: -# Almost any Apache directive may go into a VirtualHost container. -# The first VirtualHost section is used for requests without a known -# server name. -# -# -# ServerAdmin webmaster@dummy-host.example.com -# DocumentRoot D:/zentao/www/docs/dummy-host.example.com -# ServerName dummy-host.example.com -# ErrorLog logs/dummy-host.example.com-error_log -# CustomLog logs/dummy-host.example.com-access_log common -# - - -NameVirtualHost * - - ServerName localhost:80 - DocumentRoot D:/zentao/www - - -### Section 4: Secure section - -# Secure (SSL/TLS) connections -# Include conf/ssl.conf -# -# Note: The following must must be present to support -# starting without SSL on platforms with no /dev/random equivalent -# but a statically compiled-in mod_ssl. -# -# -# SSLRandomSeed startup builtin -# SSLRandomSeed connect builtin -# - - - Include conf/ssl.conf -