1、FTP无法删除目录
现象是无法删除目录,后来发现原来是pureftpd的配置不正确,导致无法删除dot-file,以点开头的文件。修改以下几个选项:
DisplayDotFiles yes
ProhibitDotFilesWrite no
ProhibitDotFilesRead no
2、nginx的每个虚拟机的日志格式不允许重名
在server{}中log_format后定义的名称是不允许重名的。
3、php的安全问题
php.ini中的
disable_functions = passthru,exec,system,put,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,
dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server
现象是无法删除目录,后来发现原来是pureftpd的配置不正确,导致无法删除dot-file,以点开头的文件。修改以下几个选项:
DisplayDotFiles yes
ProhibitDotFilesWrite no
ProhibitDotFilesRead no
2、nginx的每个虚拟机的日志格式不允许重名
在server{}中log_format后定义的名称是不允许重名的。
3、php的安全问题
php.ini中的
disable_functions = passthru,exec,system,put,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,
dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server