1.php.ini开启phpopenssl 2.conf  (nginx为例) location / { index index.html index.htm index.php l.php; #try_files $uri $uri/ =404;  注释这行(有的话) try_files $uri $uri/ /index.php?$query_string;  #加上这行 autoindex off; } server_name  www.ylar.com;         #填写正确 ro…
在nginx的配置文件加 location / { try_files $uri $uri/ /index.php?$query_string; } 即可!!!!!!!…
1.路由经过中间件方面不同 打开kerenl.php就可以看到区别 protected $middlewareGroups = [ 'web' => [ \App\Http\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSession::class, // \Illumina…
Oracle SQL Developer 编辑区不能删除,后退,空格,复制粘贴等功能都失效的解决办法 解决: 打开菜单并选择Tools-prefrence-Accelerators-Load Preset-Default(工具-首选项-加速器-加载预设-Default)即可!…
镜像下载.域名解析.时间同步请点击阿里云开源镜像站 这篇把Ubuntu下Linux配置内核各种常见错误和解决办法给大家讲解一下,希望可以帮助到大家. 一.Ubuntu系统中缺少各种依赖包导致的问题 1.配置内核时,遇到错误 fatal error:cures.h:No such file or directory 解决办法:执行命令: sudo apt-get install libcurses5-dev 2.fatal error:gelf.h:No such file or director…
解决办法放在最前面,方便急需答案的同学: 创建了ftp使用的windows账户后,一定要给该账户添加ftp目录的权限,如下图所示,为新账户添加权限后(且设置了“ftp身份验证”),即可正常访问ftp: 说完解决方案,再听我从头道来: 要在一台windows server 2008上部署一个支持匿名访问的ftp,先在iis管理器中添加ftp站点,按照界面指引即可,但配置好了之后用另一台机器测试无法使用匿名访问.然后又新建了windows账户,并且将新账户填入“ftp身份验证”(iis\ftp站点…
刚遇到Angular4项目npm run build 后部署到服务器可以访问,但是刷新页面会出现404的错误!转载一大神的操作 解决angular2页面刷新后报404错误办法: 配置app.module.ts   import {HashLocationStrategy , LocationStrategy} from '@angular/common';   @NgModule({   declarations: [AppCmp],   bootstrap: [AppCmp],   impor…
是因为Linux的防火墙没有开放8080端口 解决办法: /sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT #开启8080端口  /sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT #开启22端口  /etc/rc.d/init.d/iptables save #保存配置  /etc/rc.d/init.d/iptables restart #重启服务  查看已开放端口  /etc/in…
SpringBoot项目上传图片一般是上传至远程服务器存储,开发过程中可能会上传至当前项目的某个静态目录中,此时就会遇到这个问题,文件在上传之后直接访问并不能被访问到,必须重新加载项目. 首先分析一下原因: 我们知道,如果使用类似 /upload/image/1.jpg 这种格式进行图片的访问的时候,SpringBoot读取的并不是本项目中直接的静态目录,而是在进行编译的时候生成target目录下的文件,如下图所示: 那么问题就来了,我们在运行的过程中上传一个图片的话,并不能重新加载当前这个项目…
下面是在浏览器中输入http://localhost/smokeping点击回车之后出现的错误: Software error: ERROR: creating /usr/local/smokeping/cache/Other: No such file or directory For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date…