摘要: 网上很多答案都是过时的,根本不是2.4版本的正确配置,看过官方更新文档后 正确配置: #配置虚拟目录<IfModule dir_module># directory 相当于是欢迎页面DirectoryIndex index.html index.html index.php#你的站点别名Alias 阅读全文
posted @ 2020-08-30 21:52 海底的船 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 在网页HTML上访问静态资源的正确写法例: 1、<img src="../../static/bootstarp/img/2.jpg" th:src="@{bootstarp/img/2.jpg}" /> 2、<link href="../../static/bootstarp/custom/exa 阅读全文
posted @ 2020-08-26 23:47 海底的船 阅读(363) 评论(0) 推荐(0) 编辑
摘要: windows (.bat): @set port=8080 @echo %port% for /f "tokens=5" %%i in ('netstat -aon ^| findstr %port%') do ( set n=%%i goto js ) :js taskkill /f /pid 阅读全文
posted @ 2020-04-09 16:18 海底的船 阅读(1034) 评论(0) 推荐(0) 编辑
摘要: 你遇到了套娃,请进https:////www.cnblogs.com/steamer/articles/12500645.html查看答案 阅读全文
posted @ 2020-03-15 23:02 海底的船 阅读(1301) 评论(0) 推荐(0) 编辑