2021-08-12 宝塔 ServerAdmin Email 更改 宝塔 ServerAdmin Email 更改 打开 /www/server/panel/vhost/apache(或nginx)/0.default.conf"0.default.conf" 为你需要更改的相对应域名如下图:文件位置需要修改的地方 Chiu Yau 2021-08-12 文章,学术,Git 2021年08月12日 11,648 阅读 4 评论
2021-05-07 .htaccess Tutorial .htaccess Tutorial CREATING A .HTACCESS FILEYou can create a .htaccess file on your local computer or on the server.ON YOUR COMPUTER:Windows: Using Notepad save the file as .htaccessMac OS X: Using TextEdit save the file as ".htaccess"Note: If you save the file as .htaccess it will be hidden and you will not be able to see it in the Finder.Using your preferred FTP client upload the file to the server. The .htaccess file will need to be in the folder where your site is located, typically the public_html folder.O... Chiu Yau 2021-05-07 文章,学术 2021年05月07日 76,178 阅读 92 评论
2021-04-25 SSR 地址的組成 SSR 地址的組成 一般 SSR 地址是這樣的:ssr://[Base64]我們可以使用 Base64 Converter 將 Base64 Encoded 轉為 Base64 Decoded。接下來我會使用一個無效的 SSR 地址作為例子:ssr://MTQyLjIyNC4yMzMuMTM3OjEwNjUxOmF1dGhfc2hhMV92NDphZXMtMjU2LWNmYjpodHRwX3NpbXBsZTpURzkwZFhOT1lXMWxjekF3T0RrPS8/cmVtYXJrcz1hSFIwY0hNNkx5OXpjM0l1WldVdlZHaGxMVUpsYzNRdFUxTlMz在轉換 SSR 時,我們先將 頭部的 ssr:// 忽略掉,那麼就剩下:MTQyLjIyNC4yMzMuMTM3OjEwNjUxOmF1dGhfc2hhMV92NDphZXMtMjU2LWNmYjpodHRwX3NpbXBsZTpURzkwZFhOT1lXMWxjekF3T0RrPS8/cmVtYXJrcz1hSFIwY0hNNkx5OXpjM0l1WldVdlZHaGxMVUpsYzNRdFUxTlMz然後我們使用 B... Chiu Yau 2021-04-25 文章,学术,Git 2021年04月25日 106,199 阅读 0 评论
2021-04-15 What is the half-life of nuclear radiation? What is the half-life of nuclear radiation? The half-life of nuclear radiation is about 30 years. Chiu Yau 2021-04-15 文章,学术 2021年04月15日 85,895 阅读 0 评论
2021-02-01 English Vocabulary Words English Vocabulary Words volatile 易揮發的 / 易變的sensible 明智的 / 合理的dedicated 專用conquer 征服divide and conquer 分开而治理、解决identical 相同 Chiu Yau 2021-02-01 文章,学术 2021年02月01日 89,481 阅读 0 评论
2021-01-28 How to remove /index.php/ from my URL How to remove /index.php/ from my URL I suggest reading this short introduction https://httpd.apache.org/docs/2.4/rewrite/intro.html (15mins) and reference these 2 pages while reading.https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html https://httpd.apache.org/docs/2.4/rewrite/flags.htmlThis is the basic rule to hide index.php from the URL. Put this in your root .htaccess file.mod_rewrite must be enabled with PHP and this will work for the PHP version higher than 5.2.6.RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f Rewri... Chiu Yau 2021-01-28 文章,域名,学术,Git 2021年01月28日 93,278 阅读 1 评论
2021-01-25 Unknown collation: 'utf8mb4_0900_ai_ci' - MySQL Error Unknown collation: 'utf8mb4_0900_ai_ci' - MySQL Error This article is in English.MySQL Error: Importing database: Unknown collation: 'utf8mb4_0900_ai_ci'This is Github / issues of MySQL....(Something else not important to solve this issue)...Opened the .sql file in Notepad++ ( Alternative: Open the .sql file in Microsoft Word ) and hit CTRL+H ( Alternative: [Microsoft Word] hit CTRL + F ) to find and replace the string “utf8mb4_0900_ai_ci” and replaced it with “utf8mb4_general_ci“.It worked for me ,hope it will work for u as well....(Something e... Chiu Yau 2021-01-25 文章,域名,学术,Git 2021年01月25日 103,593 阅读 0 评论