December 7, 2019
./data/attachment文件夹的权限也会导致远程附件上传失败,虽然后台测试远程附件时总提示ftp目录的权限问题,但实际上是attachment目录的权限问题。后台执行工具-文件权限检查时发现的此问题。
December 5, 2019
Xmr stak by default will try to allocate large pages. This means you need to "Run As Administrator" on Windows and you need to edit your system's group policies to enable locking large pages.Unfortunately, Windows 10 Home doesn't have gpedit.msc to enable the Lock Pages in Memory Option.The solution is to download and install Windows Server 2003 Resource Kit Tools from microsoft website. The Microsoft Windows Server 2003 Resource Kit Tools are a set of tools to help administrators streamline ...
December 4, 2019
Cruise仿真报错信息:license DENIED:cruise_rk_std No such feature exists
Feature:cruise_rk_std
Licese path:
...
FlexNet Licensing error:-5357 For further information,refer to the FlexNet...
解决方法:用文本编辑器打开avl.dat,将下面的代码添加到最后一行,并保存dat文件:FEATURE cruise_rk_std avl 2016.0 permanent uncounted \
EDD8827CFE019700BDBF HOSTID=ANY TS_OK ISSUER="TeAM SolidSQUAD-SSQ" \
START=1-jan-2015 SIGN2="006E 26CA AAEF EA61 BFBA 9DD2 E8FD E400 \
D392 ADC0 8B87 3DA7 6EC2 4172 909A"
November 8, 2019
通过location无法匹配参数,只能对url中“?”前面的内容进行正则匹配,如需禁止带参数的url,则需要用到request_uri。例如:location /
{
if ($request_uri ~* "/\?fromuid=12345") {
return 403;
}
if ($request_uri ~* "/\?fromuser=sb12345") {
return 403;
}
}
October 23, 2019
可使用nginx -V
查看是否已安装secure_link(nginx默认是不安装此模块的)。下面介绍通过军哥lnmp的nginx升级脚本,增加secure_link模块的方法:1)修改lnmp.conf,增加nginx编译配置参数:Nginx_Modules_Options='--add-module= --with-http_secure_link_module'
2)使用./upgrade.sh脚本,升级nginx即可