[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 5.renaming_the_admin_directory.html

Zen Cart 源代码 5.renaming_the_admin_directory.html




下载文件

文件名: 5.renaming_the_admin_directory.html
文件类型: HTML文件
文件大小: 5.72 KiB
MD5: 2b576d96c8e441bcfc124d7b6b8a95d0

5.renaming_the_admin_directory.html - 关闭高亮
  1. <!--
  2. /**
  3. * @package documentation
  4. * @copyright Copyright 2003-2006 Zen Cart Development Team
  5. * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  6. * @version $Id: 5.renaming_the_admin_directory.html 12650 2009-03-20 09:46:22Z drbyte $
  7. */
  8. //-->
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  10. <style type="text/css">
  11. <!--
  12. body, table{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; }
  13. table.intro {border-color:C96E29; }
  14. td.intro{background-color:#EEEEEE ; border-color:5778ce; font-size:10px; }
  15. td.plainbox, div.callout {background-color: #d7e0f2; border: 1px dashed; border-color: C96E29; padding: 8; margin:5 40 5 40;}
  16. .heading {background-color:5778CE; font-weight:bold; font-size:14px; width: 100%; }
  17. .title1 {color:C96E29; font-weight:bold; font-size:22px; }
  18. .title2 {color:C96E29; font-weight:bold; font-size:13px; }
  19. .small {font-size:10px ;}
  20. .error {color:FF0000; }
  21. .filename {font-family: mono, "Courier New", Courier ; font-size:14px; color: c96e29;}
  22. .pseudolink {text-decoration:underline; color:5778CE;}
  23. h1.intro { color: #ffffff; border:1px solid #aca893; background-color: #c96e29;  font-size: 22px;   padding: 4px;}
  24. h1 { color: #ffffff;    border:1px solid #aca893;   background-color: #5778ce;   font-size: 20px;   padding: 4px;}
  25. h2 { color: #c96e29;    font-size: 18px;}
  26. h3 { color: #5778ce;    font-size: 16px; margin-bottom:0px;}
  27. h4 { color: #c96e29;    font-size: 14px;}
  28.  
  29.  
  30. -->
  31. <title>Installing Zen Cart(tm)</title>
  32. </head>
  33.  
  34. <table class="intro" cellspacing="4" cellpadding="6" border="3" width="748px" align="center">
  35. <tr><td class="intro">
  36. <center><h1 class="intro">Welcome to Zen Cart&trade; ...</h1></center>
  37. <br />
  38. The Zen Cart&trade; software is made available to you for use, additions, changes, modifications, etc. without charge, under the GNU General Public License.
  39. <br />
  40. <br />
  41. While we do not charge for this software, donations are greatly appreciated each time you download a new version, to help cover the expenses of maintenance, upgrades, updates, the free support forum and the continued development of this software for your online e-commerce store.
  42. <br />
  43. <br />
  44. Donations can be made at:
  45. <a href="http://www.zen-cart.com/index.php?main_page=infopages&pages_id=14" target="_blank">The Zen Cart&trade; Team Page</a>
  46. <br />
  47. <br />
  48. We appreciate your support.<br />
  49. <em>The Zen Cart&trade; Team</em><br />
  50. <br />
  51.  
  52. <span class="small">
  53. Zen Cart&trade; is derived from: Copyright  2003 osCommerce<br />
  54. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;<br />
  55. without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE<br />
  56. and is redistributable under the GNU General Public License<br /><br />
  57. </span>
  58. </td></tr></table>
  59.  
  60. <br />
  61. <table border="3" width="748px" align="center" cellpadding="6">
  62.   <tr>
  63. <td align="center"><img src="osi-certified-120x100.png" /><br />
  64. This software is OSI Certified Open Source Software.<br />
  65. OSI Certified is a certification mark of the Open Source Initiative.
  66. </td></tr></table>
  67. <br />
  68.  
  69. <table border="3" width="748px" align="center" cellpadding="6">
  70.   <tr>
  71. <td>
  72. <h1 class="intro">Admin Directory Security </h1>
  73. <div>
  74. <h1>What is this article about? </h1>
  75. It is recommended for additional security that you rename your
  76. admin directory after installation. This way, it will be significantly harder for hackers to find your admin area or attempt any attack on breaking into it. <br>
  77. <br />
  78. </div>
  79. <div><h1>How to Rename the Admin Directory</h1>
  80. <p>Before making any changes, make sure to have a current backup of your files and your database.</p>
  81. <h2>1- Open your admin configuration file: <span class="filename">admin/includes/configure.php</span></h2>
  82. <p>In this file, change all instances of <span class="filename">/admin/</span> to your chosen name:</p>
  83. <p>Change this section:</p>
  84. <p class="filename">// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!<br>
  85. // * DIR_WS_* = Webserver directories (virtual/URL)<br>
  86. // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)<br>
  87. define('DIR_WS_ADMIN', '/admin/');<br>
  88. define('DIR_WS_CATALOG', '/');<br>
  89. define('DIR_WS_HTTPS_ADMIN', '/admin/');<br>
  90. define('DIR_WS_HTTPS_CATALOG', '/');</p>
  91. <p>Change this section:</p>
  92. <p class="filename">// * DIR_FS_* = Filesystem directories (local/physical)<br>
  93. //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/<br>
  94. define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');<br>
  95. define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');<br>
  96. </p>
  97. <h2>2- Rename your admin directory </h2>
  98. <p>Using your FTP software, find your Zen Cart&trade; <span class="filename">/admin/ </span>directory. Rename the directory to match the new name used in step 1 above when you edited your <span class="filename">admin/includes/configure.php</span><br>
  99. </p>
  100. </div>
  101.  
  102. <div>
  103. <h1>Additional Information </h1>
  104. <p>For more information on site-security, see <a href="./important_site_security_recommendations.html" target="_blank">important_site_security_recommendations.html</a></p>
  105. <p>For additional help and support issues, visit our <strong>FAQ's</strong> and our <strong>Support Forums</strong> on the web.<br />
  106. <a href="http://www.zen-cart.com" target="_blank"><strong>Zen Cart&trade; Website</strong></a>
  107. <br />
  108. <br />
  109. <br />
  110. <em>Good Luck with the software and Enjoy the Zen Cart&trade; Experience!</em> <br />
  111. <br />
  112. </p>
  113. </div>
  114. </td>
  115. </tr>
  116. <p align="center"><em>Zen Cart&trade; Copyright 2005-2009</em></p>
  117. <br /><br />
  118. </body>
  119. </html>


cron