Quang Ngo Blog
  • Home
  • Homepage
Sign in Subscribe
Quang Ngo

Quang Ngo

php setting for Japanese use (Content-Type: charset=UTF-8)

php setting for Japanese use (Content-Type: charset=UTF-8)

Last week, I faced a problem with my Japanese RHEL/PHP/Apache server. My php pages responsed with charset=Shift-JIS in Content-Type header but all my codes are encoded with UTF-8. I tried adding AddDefaultCharset UTF-8, php_value default_charset UTF-8 to apache config file, add and even add header(
Mar 7, 2016 1 min read
[Nginx] How to redirect http to https and www to non-www (and vice versa)
nginx Featured

[Nginx] How to redirect http to https and www to non-www (and vice versa)

Today let's see some common redirections with Nginx
Jan 23, 2016 1 min read
Dùng crontab để tự động chạy task trên Linux
Featured

Dùng crontab để tự động chạy task trên Linux

Bạn có thể xử lý các công việc mệt mỏi, nhàm chán, khó khăn một cách tự động với crontab! Bây giờ chúng ta sẽ cùng tìm hiểu cron và crontab là gì.
Jan 5, 2016 5 min read
Page 1 of 1
Quang Ngo Blog © 2023
Powered by Ghost