{"version":"1.0","type":"rich","provider_name":"Hatena Blog","blog_title":"Shammer's Philosophy","author_url":"https://blog.hatena.ne.jp/shammer/","title":"Using PHP on Debian apache2","provider_url":"https://hatena.blog","width":"100%","image_url":null,"height":"190","description":"I am using Debian and Apache2 in my test environment, just returning some text via http. In my purpose, I hope that apache2 returns timestamp and hostname and use python to do it. Here is a python script doing it. #!/usr/bin/env python from socket import gethostname from time import gmtime, strftime\u2026","published":"2018-10-02 00:00:00","author_name":"shammer","categories":["Apache","Debian"],"blog_url":"https://shammerism.hatenadiary.com/","url":"https://shammerism.hatenadiary.com/entry/20181002/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshammerism.hatenadiary.com%2Fentry%2F20181002%2Fp1\" title=\"Using PHP on Debian apache2 - Shammer&#39;s Philosophy\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}