Download the Yii2 installation package to Liunx and find that it is accessible with localhost/basic/web
But if you use www.basic.com, you won't be able to access it. The page will prompt 500, as follows
www.basic.com is currently unable to handle this request
Then Stack Overflow looked up and found that just modify php.ini (save the sourc ...
Posted on Sat, 22 Dec 2018 09:51:05 -0800 by tigomark
I've learned the Property Utils and dynamic bean s in Apache Commons Beanutils package before. Next I'll learn the remaining tool classes, which I think are very useful, especially Collection Utils.
Briefly introduce the use of the following two methods, populate and copyProperties.
populate can help us copy the key-value ...
Posted on Sat, 22 Dec 2018 02:06:05 -0800 by shaitand
Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "transIpAddr" (Class com.xxx.core.dto.RechargeWapReqDTO), not marked as ignorable
at [Source: org.apache.catalina.connector.CoyoteInputStream@3dcc4d63; line: 1, column: 17] (through reference chain: com.jr ...
Posted on Fri, 21 Dec 2018 16:54:06 -0800 by snakebit
Nginx characteristicsNginx has the advantages of stable performance, rich functions, simple operation and maintenance, fast processing of static files and little system resource consumption.1. Compared with Apache, Nginx serves as a Web server: it uses fewer resources, supports more concurrent connections and is more efficient.2. As a load bala ...
Posted on Thu, 20 Dec 2018 22:03:06 -0800 by russian_god
Introducing log4j dependencies
When we created the Spring Book project, we introduced spring-boot-starter, which includes spring-boot-starter-logging, which is the default log framework of Spring Boot, Logback. So before we introduce log4j, we need to eliminate the dependency of the package and then introduce log4j dependency, as follows:
Posted on Thu, 20 Dec 2018 04:15:05 -0800 by edmore
Background: During the Spring Festival, the server always suddenly disconnects the database link and always needs to restart tomcat manually. This is really a hard job. I can't solve the problem on the database. I simply write something to do the restart work of regular detection.
Server environment: Windows 2003 service
tomcat version: tomca ...
Posted on Thu, 20 Dec 2018 03:45:04 -0800 by woodsonoversoul
Now we build the following for the eureka project of HongHu cloud. The whole process of building is very simple. I will record every step of the process. I hope it can help you:1. Create a maven project named particle-common-eureka and inherit particle-commonservice. The specific pom.xml configuration file is as follows:<?xml version="1 ...
Posted on Wed, 19 Dec 2018 22:18:05 -0800 by FarhanKhalaf
Access Control - Prohibit php parsing.
note prohibits parsing PHP under a directory, which is very useful. When we do website security, this is used a lot. For example, some directories can upload files. In order to avoid the Trojan horse of uploaded files, we prohibit access under this directory to parse PHP.
1. Disable parsing PHP first
Posted on Wed, 19 Dec 2018 03:57:04 -0800 by mohson
In writing Spring Boot applications, you will encounter such scenarios as: you need to send some messages, e-mails and other operations on a regular basis, or you may regularly check and monitor some signs, parameters and so on.
Create timed tasks
Writing timing tasks in Spring Boot is very simple. Here is an example of how to create timing tas ...
Posted on Tue, 18 Dec 2018 20:12:04 -0800 by Stickdragon
This article defaults that the reader already knows about Docker and knows the advantages of using Docker for deployment.
1. Install Docker (Mac)
Official website: https://docs.docker.com/docker-for-mac/install/
1.1 Download Docker for Mac
After download ...
Posted on Mon, 17 Dec 2018 16:33:04 -0800 by zysac