- 博客(15)
- 资源 (1)
- 收藏
- 关注
原创 IIS10 rewrite 重定向 仅配置部分路径
多方面原因,需要在IIS 上把 http://www.wchengshi.cn/,http://www.wchengshi.cn/uploadfile/***,http://www.wchengshi.cn/index.php?***,仅这三个路径重定向到https。重定向到:https://{HTTP_HOST}{C:0}重定向到:https://{HTTP_HOST}{C:0}分别建立了三项重定向规则,正则表达式模式均为(.*)重定向到: https://{HTTP_HOST}配置条件不同,分别为。
2024-06-03 19:36:37
324
原创 ubuntu apache2 URL 重写不起作用
1,没有开启重写模块 sudo a2enmod rewrite。2,.htaccess 文件有误。
2024-05-21 21:43:29
169
原创 windows server 2016 .net4.5 C# https双向认证,“请求被中止: 未能创建 SSL/TLS 安全通道“
vs2019 本地测试不报错,发布到windows server 2016 报此错。直接双击证书导入,然后添加everyone访问权限。原因在于服务器上的证书访问权限问题。
2023-06-03 10:58:40
468
原创 mysql 8.0 安装记录
cmd登录报错 Access denied for user ‘root‘@‘localhost‘ (using password:YES)注意 my.ini 文件默认地址 C:\ProgramData\MySQL ProgramData 为隐藏目录。另 my.ini 记事本保存要ANSI 格式, 不能utf8。
2023-05-04 22:29:31
102
1
原创 bootstraptable treegrid
<div id="vtable" ></div>疏忽大意这样写了,应该这样的<table id="vtable" > </table>后续加载使用 treegrid extension
2021-08-06 10:06:07
295
原创 bootstrap table 组件
bootstrap table 无效,需要按顺序正确加载相关CSS和JS,bootstrap.css, bootstrap-tableview.css; jquery.js, bootstrap.js ,bootstrap-tableview.js
2021-05-22 16:32:02
110
原创 .netcore3.1 centos bitmap 加入中文 乱码
一段胡乱的尝试,最后发现是字体的问题。用“微软雅黑”(msyh)会显示乱码小方框,用"宋体"(simsun)可以了。当然 要先加入字体文件到 usr/share/fonts
2021-05-16 11:39:18
291
原创 2020-11-12
Duplicate class android.support.v4.widget.SwipeRefreshLayout$6 found in modules android-support-v4.jar (android-support-v4.jar) and support-core-ui-26.0.0-runtime.jar (com.android.support:support-core-ui:26.0.0)android 报的重复错误,把我用的库implementation..
2020-11-12 13:03:36
105
原创 node 读取 xml 文件 CDATA节点
1,引用包var domParser=require('xmldom').DOMParser;2,定义和使用var parser=new domParser();var tempVal=parent.getElementsByTagName("certificates")[0].childNodes[0].nodeValue; console.lo...
2019-03-18 17:44:11
873
原创 vue axios 禁止同源跨域访问
axios 感觉本身具有异步特性proxyTable: {'/server':{target:'https://api.mch.weixin.qq.com',changeOrigin:true,pathRewrite:{'^/server':''}}}不设置这个就提示“同源跨域.....”...
2019-02-20 19:08:44
1300
原创 idea 编译时 单元测试类提示找不到被测试类包
project Structure ->Modules->Paths compile output 设置为:inherit project compile ouput path 即可用下面的 Use module compile output path 报错 其实我不明白!
2019-01-07 18:53:20
15105
4
原创 android edittext 花屏
edittext 点击时花屏。 EditText android:id="@+id/buyerTel" android:layout_width="match_parent" android:layout_height="40dp" android:layout_toRightOf="@+id/imageView1" android:backgrou
2016-10-17 20:03:15
346
转载 Java项目打包成Jar文件后图片不显示的问题解决
文章一:出现这种问题的原因大多是因为路径的问题,往往是在项目中运行正常,但是一旦打包成Jar后就不能正常显示了,下面总结一下解决此类问题的方法: 一、通过使用外部资源文件的方式解决把项目打包生成Jar后,再新建一文件夹,把项目中所有使用的图片文件和生成Jar文件放在该目录下,只要代码对图片文件的引用路径正确,如:ImageIcon image=new ImageIcon
2013-08-19 15:16:23
8907
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人