proftpd

1.解决连接慢
客户端连ftp都非常慢
connected之后要好一会儿才有反应
后来发现是开了反向dns的缘故
通过以下配置将其关闭就好了


网络选项-->DNS逆向查找客户端的地址吗?-->否

UseReverseDNS off DNS逆向查找客户端的地址吗?

 

网络选项-->查找远端Ident用户名? 否

IdentLookups off 查找远端Ident用户名?

2.设定不可以访问上层目录
文件和目录-->Chroot目录-->Home directory

3.显示 .htaccess 文件
文件和目录-->Directory list options-->添加 -a

4.允许 重写 overwrite
访问 控制-->允许重写文件吗?-->

Last modified onSaturday, 05 January 2013 13:22

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0009412152{main}( ).../index.php:0
20.11744262008Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11744262008Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.350411452856Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.351311477120Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.352511532448Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.352811559848require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.364311959480K2ControllerItem->execute( ).../k2.php:64
90.364311959480K2ControllerItem->display( ).../BaseController.php:710
100.377912610184K2ControllerItem->display( ).../item.php:78
110.377912610184K2ControllerItem->display( ).../controller.php:19
120.384312981224Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.387513001592K2ViewItem->display( ).../ViewController.php:102
140.475315806504K2ViewItem->display( ).../view.html.php:742
150.475315806504K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.476915979440include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in 主机
  • Read 2937 times
More in this category: « unzip wget »

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0009412152{main}( ).../index.php:0
20.11744262008Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11744262008Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.350411452856Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.351311477120Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.352511532448Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.352811559848require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.364311959480K2ControllerItem->execute( ).../k2.php:64
90.364311959480K2ControllerItem->display( ).../BaseController.php:710
100.377912610184K2ControllerItem->display( ).../item.php:78
110.377912610184K2ControllerItem->display( ).../controller.php:19
120.384312981224Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.387513001592K2ViewItem->display( ).../ViewController.php:102
140.475315806504K2ViewItem->display( ).../view.html.php:742
150.475315806504K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.476915979440include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top