{"id":1149,"date":"2020-12-05T22:55:59","date_gmt":"2020-12-05T13:55:59","guid":{"rendered":"https:\/\/kimiita.org\/omoide\/?p=1149"},"modified":"2020-12-06T12:00:48","modified_gmt":"2020-12-06T03:00:48","slug":"web-site-create","status":"publish","type":"post","link":"https:\/\/kimiita.org\/omoide\/web-site-create\/","title":{"rendered":"Web site create"},"content":{"rendered":"\n<p>\u30d9\u30fc\u30b7\u30c3\u30af\u8a8d\u8a3c\u5236\u9650 .htaccess \u30d5\u30a1\u30a4\u30eb\u6307\u5b9a\u3000\u6700\u5f8c\u306e\u4e00\u884c\u306b\u6539\u884c\u3002\u30de\u30fc\u30ab\u30fc\u306e\u90e8\u5206\u3067\u5236\u9650\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306eURL\u3092\u30d5\u30eb\u30d1\u30b9\u3067\u6307\u5b9a\u3002<\/p>\n\n\n\n<div style=\"overflow:scroll;padding:0;background-color:margin:0;background-color:#EEF;width:100%;\"><code>\n<ol style=\"list-style:decimal-leading-zero outside;in-left:0;padding-left:36px;margin:0;background-color:#EEF;white-space: nowrap;color:#000;font-size:14px;\">\n<li style=\"background-color:#EEF;\">&lt;Files image.php&gt;<\/li>\n<li style=\"background-color:#EFF;\">AuthUserFile <span style=\"background: yellow;color: red;border-bottom:dotted 1px red;font-weight:bold;\">\/home\/users\/your-site\/<\/span>.htpasswd<\/li>\n<li style=\"background-color:#EEF;\">AuthGroupFile \/dev\/null<\/li>\n<li style=\"background-color:#EFF;\">AuthName <font style=\"color:brown;\">\"Member Only\"<\/font><\/li>\n<li style=\"background-color:#EEF;\">AuthType Basic<\/li>\n<li style=\"background-color:#EFF;\">require valid-user<\/li>\n<li style=\"background-color:#EEF;\">&lt;\/Files&gt;<\/li>\n<li style=\"background-color:#EFF;\"><\/li>\n<\/ol><\/code><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\u30b5\u30a4\u30c8\u306e\u30d5\u30eb\u30d1\u30b9\u306e\u78ba\u8a8d\u65b9\u6cd5\u3002<\/p>\n\n\n\n<div style=\"overflow:scroll;padding:0;background-color:margin:0;background-color:#EEF;width:100%;\"><code>\n<ol style=\"list-style:decimal-leading-zero outside;in-left:0;padding-left:36px;margin:0;background-color:#EEF;white-space: nowrap;color:#000;font-size:14px;\">\n<li style=\"background-color:#EEF;\">&lt;?php<\/li>\n<li style=\"background-color:#EFF;\">echo __FILE__;<\/li>\n<li style=\"background-color:#EEF;\">?&gt;<\/li>\n<\/ol><\/code><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>.htaccess\u306b\u3088\u308bIP\u5236\u9650<\/p>\n\n\n\n<div style=\"overflow:scroll;padding:0;background-color:margin:0;background-color:#EEF;width:100%;\"><code>\n<ol style=\"list-style:decimal-leading-zero outside;in-left:0;padding-left:36px;margin:0;background-color:#EEF;white-space: nowrap;color:#000;font-size:14px;\">\n<li style=\"background-color:#EEF;\"># AccessControl IP\/HOST<\/li>\n<li style=\"background-color:#EFF;\">order deny,allow<\/li>\n<li style=\"background-color:#EEF;\">deny from all<\/li>\n<li style=\"background-color:#EFF;\">allow from <span style=\"background: yellow;color: red;border-bottom:dotted 1px red;font-weight:bold;\">111.111.111.123<\/span><\/li>\n<li style=\"background-color:#EEF;\"><\/li>\n<\/ol><\/code><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>cgi\u6642\u9593\u8868\u793a\u3002\u3053\u306e\u3088\u3046\u306a\u4e26\u3073\u3067\u8868\u793a\u3002 Fri, 04 Dec 2020 16:24:06 +0900<\/p>\n\n\n\n<div style=\"overflow:scroll;padding:0;background-color:margin:0;background-color:#EEF;width:100%;\"><code>\n<ol style=\"list-style:decimal-leading-zero outside;in-left:0;padding-left:36px;margin:0;background-color:#EEF;white-space: nowrap;color:#000;font-size:14px;\">\n<li style=\"background-color:#EEF;\">my($time, $date) = @_;<\/li>\n<li style=\"background-color:#EFF;\">my($sec, $min, $hour, $mday, $mon, $year, $wday) = localtime(($time));<\/li>\n<li style=\"background-color:#EEF;\">$wday = (<font style=\"color:brown;\">\"Sun\"<\/font>, <font style=\"color:brown;\">\"Mon\"<\/font>, <font style=\"color:brown;\">\"Tue\"<\/font>, <font style=\"color:brown;\">\"Wed\"<\/font>, <font style=\"color:brown;\">\"Thu\"<\/font>, <font style=\"color:brown;\">\"Fri\"<\/font>, <font style=\"color:brown;\">\"Sat\"<\/font>)[$wday];<\/li>\n<li style=\"background-color:#EFF;\">$mon = (<font style=\"color:brown;\">\"Jan\"<\/font>, <font style=\"color:brown;\">\"Feb\"<\/font>, <font style=\"color:brown;\">\"Mar\"<\/font>, <font style=\"color:brown;\">\"Apr\"<\/font>, <font style=\"color:brown;\">\"May\"<\/font>, <font style=\"color:brown;\">\"Jun\"<\/font>, <font style=\"color:brown;\">\"Jul\"<\/font>, <font style=\"color:brown;\">\"Aug\"<\/font>, <font style=\"color:brown;\">\"Sep\"<\/font>, <font style=\"color:brown;\">\"Oct\"<\/font>, <font style=\"color:brown;\">\"Nov\"<\/font>, <font style=\"color:brown;\">\"Dec\"<\/font>)[$mon];<\/li>\n<li style=\"background-color:#EEF;\">&nbsp;&nbsp;<\/li>\n<li style=\"background-color:#EFF;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/li>\n<li style=\"background-color:#EEF;\">my $dcdate = sprintf(<font style=\"color:brown;\">\"%s, %02d %s %04d %02d:%02d:%02d \"<\/font>,$wday,$mday,$mon,$year+1900,$hour,$min,$sec);<\/li>\n<\/ol><\/code><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u4e26\u3073\u3067\u8868\u793a\u30022020-12-05T00:16:21+09:00<\/p>\n\n\n\n<div style=\"overflow:scroll;padding:0;background-color:margin:0;background-color:#EEF;width:100%;\"><code>\n<ol style=\"list-style:decimal-leading-zero outside;in-left:0;padding-left:36px;margin:0;background-color:#EEF;white-space: nowrap;color:#000;font-size:14px;\">\n<li style=\"background-color:#EEF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my($time, $date) = @_;<\/li>\n<li style=\"background-color:#EFF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my($sec, $min, $hour, $mday, $mon, $year) = (localtime($time))[0..5];<\/li>\n<li style=\"background-color:#EEF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$year += 1900;<\/li>\n<li style=\"background-color:#EFF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$mon++;<\/li>\n<li style=\"background-color:#EEF;\"><\/li>\n<li style=\"background-color:#EFF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (defined $date) {<\/li>\n<li style=\"background-color:#EEF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$year = substr($date, 0, 4);<\/li>\n<li style=\"background-color:#EFF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$mon  = substr($date, 4, 2);<\/li>\n<li style=\"background-color:#EEF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$mday = substr($date, 6, 2);<\/li>\n<li style=\"background-color:#EFF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<\/li>\n<li style=\"background-color:#EEF;\"><\/li>\n<li style=\"background-color:#EFF;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my $dcdate = sprintf(<font style=\"color:brown;\">\"%04d-%02d-%02dT%02d:%02d:%02d\"<\/font>, $year, $mon, $mday, $hour, $min, $sec);<\/li>\n<\/ol><\/code><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u30d9\u30fc\u30b7\u30c3\u30af\u8a8d\u8a3c\u5236\u9650 .htaccess \u30d5\u30a1\u30a4\u30eb\u6307\u5b9a\u3000\u6700\u5f8c\u306e\u4e00\u884c\u306b\u6539\u884c\u3002\u30de\u30fc\u30ab\u30fc\u306e\u90e8\u5206\u3067\u5236\u9650\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306eURL\u3092\u30d5\u30eb\u30d1\u30b9\u3067\u6307\u5b9a\u3002 &lt;Files image.php&gt; AuthUserFile \/home\/u&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/posts\/1149"}],"collection":[{"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/comments?post=1149"}],"version-history":[{"count":9,"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/posts\/1149\/revisions"}],"predecessor-version":[{"id":1166,"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/posts\/1149\/revisions\/1166"}],"wp:attachment":[{"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/media?parent=1149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/categories?post=1149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kimiita.org\/omoide\/wp-json\/wp\/v2\/tags?post=1149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}