{"id":9468,"date":"2020-09-14T02:24:17","date_gmt":"2020-09-13T17:24:17","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=6074"},"modified":"2020-09-14T02:24:17","modified_gmt":"2020-09-13T17:24:17","slug":"post-9468","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2020\/09\/14\/post-9468.html","title":{"rendered":"\u5099\u5fd8\u9332\uff1a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7a7a\u767d\u884c\uff08\u6539\u884c\uff09\u3068\u30b3\u30e1\u30f3\u30c8\u3092\u524a\u9664\u3057\u3066\u8868\u793a\u3057\u305f\u3044"},"content":{"rendered":"
\n\u203b\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u7de8\u96c6\u3057\u305f\u3089\u3001\u8868\u793a\u304c\u58ca\u308c\u305f\u306e\u3067\u518d\u6295\u7a3f\u3067\u3059\u3002<\/p>\n<\/blockquote>\n
\u3044\u308d\u3093\u306a\u3084\u308a\u65b9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u81ea\u5206\u304c\u6c17\u306b\u5165\u3063\u3066\u308b\u306e\u306f\u4ee5\u4e0b\uff13\u3064\u3067\u3059\u3002<\/p>\n
$ grep . FILENAME<\/em> | egrep -v ^*#<\/pre>\n\u6539\u884c\u306f\u307e\u3041\u51fa\u3066\u3082\u3044\u3044\u3084\u3068\u3044\u3046\u5834\u5408\u306f\u3001\u30b3\u30e1\u30f3\u30c8\u884c\u3060\u3051\u524a\u9664\u3002<\/p>\n
$ egrep -v ^*# FILENAME<\/em><\/pre>\n\u306a\u3093\u304b\u7a7a\u767d\uff08\u3067\u305f\u3076\u3093\u6539\u884c\u304c\uff09\u591a\u3044\u306a\u3063\u3066\u5834\u5408\u306f\u3001\u30d1\u30a4\u30d7\u3057\u3066\u3001grep . \u3092\u3064\u3051\u308c\u3070OK\u3002 \u6539\u884c\u3068\u3001\u30b3\u30e1\u30f3\u30c8\u884c\u306e\u5834\u5408\u306f\u3001\u3053\u3093\u306a\u66f8\u304d\u65b9\u3082\u3002<\/p>\n
$ egrep -v '^*#|^$' FILENAME<\/em><\/span><\/pre>\n
\u5927\u4f53\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u7a7a\u767d\u884c\u3058\u3083\u306a\u304f\u6539\u884c\u3060\u3051\u306e\u884c\u306a\u306e\u3067\u3053\u308c\u3067\u8db3\u308a\u307e\u3059\u3002\u6700\u5f8c\u306e\u3084\u308a\u65b9\u3060\u3068\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u898b\u308b\u5834\u5408\u3001\u2191\uff08\u4e0a\u77e2\u5370\uff09\u3067\u76f4\u8fd1\u30b3\u30de\u30f3\u30c9\u51fa\u3057\u3066\u3001\u6700\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3060\u3051\u5909\u3048\u308c\u3070\u307e\u305f\u4f7f\u3048\u308b\u306e\u3067\u3001\u4fbf\u5229\u3067\u3059\u3002\u3061\u3083\u3093\u3068\u30b3\u30e1\u30f3\u30c8\u884c\u3068\u7a7a\u767d\u884c\uff08\u6539\u884c\u3068\u7a7a\u767d\u884c\uff09\u3092\u524a\u9664\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u304c\u30bf\u30a4\u30d7\u3057\u305a\u3089\u3044\u3067\u3059\u3088\u306d\uff01<\/p>\n
$ egrep -v '^*#|^\\s*$' FILENAME<\/em><\/span><\/pre>\n
\u4f8b\u3048\u3070\u3001termux\u306eapache2\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09httpd.conf\u306f\u6539\u884c\u3068\u30b3\u30e1\u30f3\u30c8\u884c\u3092\u629c\u304f\u3068\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n
$ egrep -v '^*#|^$' httpd.conf.org \nServerRoot \"\/data\/data\/com.termux\/files\/usr\"\nListen 8080\nLoadModule mpm_worker_module libexec\/apache2\/mod_mpm_worker.so\nLoadModule authn_file_module libexec\/apache2\/mod_authn_file.so\nLoadModule authn_core_module libexec\/apache2\/mod_authn_core.so\nLoadModule authz_host_module libexec\/apache2\/mod_authz_host.so\nLoadModule authz_groupfile_module libexec\/apache2\/mod_authz_groupfile.so\nLoadModule authz_user_module libexec\/apache2\/mod_authz_user.so\nLoadModule authz_core_module libexec\/apache2\/mod_authz_core.so\nLoadModule access_compat_module libexec\/apache2\/mod_access_compat.so\nLoadModule auth_basic_module libexec\/apache2\/mod_auth_basic.so\nLoadModule reqtimeout_module libexec\/apache2\/mod_reqtimeout.so\nLoadModule include_module libexec\/apache2\/mod_include.so\nLoadModule filter_module libexec\/apache2\/mod_filter.so\nLoadModule mime_module libexec\/apache2\/mod_mime.so\nLoadModule log_config_module libexec\/apache2\/mod_log_config.so\nLoadModule env_module libexec\/apache2\/mod_env.so\nLoadModule headers_module libexec\/apache2\/mod_headers.so\nLoadModule setenvif_module libexec\/apache2\/mod_setenvif.so\nLoadModule version_module libexec\/apache2\/mod_version.so\nLoadModule slotmem_shm_module libexec\/apache2\/mod_slotmem_shm.so\nLoadModule unixd_module libexec\/apache2\/mod_unixd.so\nLoadModule status_module libexec\/apache2\/mod_status.so\nLoadModule autoindex_module libexec\/apache2\/mod_autoindex.so\n\n\n\n\nLoadModule negotiation_module libexec\/apache2\/mod_negotiation.so\nLoadModule dir_module libexec\/apache2\/mod_dir.so\nLoadModule userdir_module libexec\/apache2\/mod_userdir.so\nLoadModule alias_module libexec\/apache2\/mod_alias.so\n\n\nServerAdmin you@example.com\n\nAllowOverride none\nRequire all denied\n\nDocumentRoot \"\/data\/data\/com.termux\/files\/usr\/share\/apache2\/default-site\/htdocs\"\n<Directory \"\/data\/data\/com.termux\/files\/usr\/share\/apache2\/default-site\/htdocs\">\nOptions Indexes FollowSymLinks\nAllowOverride None\nRequire all granted\n\n\nDirectoryIndex index.html\n\n<Files \".ht*\">\nRequire all denied\n\nErrorLog \"var\/log\/apache2\/error_log\"\nLogLevel warn\n\nLogFormat \"%h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\"\" combined\nLogFormat \"%h %l %u %t \\\"%r\\\" %>s %b\" common\n\nLogFormat \"%h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\" %I %O\" combinedio\n\nCustomLog \"var\/log\/apache2\/access_log\" common\n\n\nScriptAlias \/cgi-bin\/ \"\/data\/data\/com.termux\/files\/usr\/lib\/cgi-bin\/\"\n\n\n\n<Directory \"\/data\/data\/com.termux\/files\/usr\/lib\/cgi-bin\">\nAllowOverride None\nOptions None\nRequire all granted\n\n\nRequestHeader unset Proxy early\n\n\nTypesConfig etc\/apache2\/mime.types\nAddType application\/x-compress .Z\nAddType application\/x-gzip .gz .tgz\n\n\nInclude etc\/apache2\/extra\/proxy-html.conf\n\n\nSSLRandomSeed startup builtin\nSSLRandomSeed connect builtin\n<\/pre>\n\u7a7a\u767d\u884c\u306f\u3001\u306a\u3044\u3067\u3057\u3087\u3002\u3064\u307e\u308a\u6539\u884c\u3060\u3051\u306a\u3093\u3067\u3001\u4e0a\u8a18\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u7a7a\u767d\u884c\u3092\u542b\u3080\u8868\u73fe\u306f\u3001\u4ee5\u4e0b\u306a\u3093\u3067\u30bf\u30a4\u30d7\u6570\u304c\u591a\u3044\u306e\u3067\u9762\u5012\u306a\u3093\u3067\u3059\u3002<\/p>\n
'^\\s*$'<\/span><\/pre>\n
\u307e\u3041\u3001\u3069\u3046\u3067\u3082\u3044\u3044\u8a71\u3067\u3059\u304c\u3002w<\/p>\n","protected":false},"excerpt":{"rendered":"
\u203b\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u7de8\u96c6\u3057\u305f\u3089\u3001\u8868\u793a\u304c\u58ca\u308c\u305f\u306e\u3067\u518d\u6295\u7a3f\u3067\u3059\u3002 \u3044\u308d\u3093\u306a\u3084\u308a\u65b9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u81ea\u5206\u304c\u6c17\u306b\u5165\u3063\u3066\u308b\u306e\u306f\u4ee5\u4e0b\uff13\u3064\u3067\u3059\u3002 $ grep . FILENAME | egrep -v ^*# \u6539\u884c\u306f\u307e\u3041\u51fa\u3066\u3082\u3044\u3044\u3084\u3068 […]<\/p>\n","protected":false},"author":1,"featured_media":9394,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[1],"tags":[],"acf":[],"uagb_featured_image_src":{"full":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/08\/wormhole.png",864,462,false],"thumbnail":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/08\/wormhole.png",128,68,false],"medium":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/08\/wormhole.png",864,462,false],"medium_large":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/08\/wormhole-768x411.png",768,411,true],"large":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/08\/wormhole.png",864,462,false],"1536x1536":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/08\/wormhole.png",864,462,false],"2048x2048":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/08\/wormhole.png",864,462,false],"post-thumbnail":["https:\/\/hack.gpl.jp\/wp-content\/uploads\/2020\/08\/wormhole.png",864,462,false]},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":0,"uagb_excerpt":"\u203b\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u7de8\u96c6\u3057\u305f\u3089\u3001\u8868\u793a\u304c\u58ca\u308c\u305f\u306e\u3067\u518d\u6295\u7a3f\u3067\u3059\u3002 \u3044\u308d\u3093\u306a\u3084\u308a\u65b9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u81ea\u5206\u304c\u6c17\u306b\u5165\u3063\u3066\u308b…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/9468"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=9468"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/9468\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media\/9394"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=9468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=9468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=9468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}