{"id":2045,"date":"2010-09-28T16:41:15","date_gmt":"2010-09-28T07:41:15","guid":{"rendered":"http:\/\/www.ekbt.net\/blog\/?p=2045"},"modified":"2010-09-28T16:41:15","modified_gmt":"2010-09-28T07:41:15","slug":"%e3%81%bc%e3%82%8d%e3%82%b5%e3%83%bc%e3%83%90%e6%94%b9%e3%82%81%e6%96%b0%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e4%bd%9c%e6%88%90%ef%bc%8d%e3%81%9d%e3%81%ae6","status":"publish","type":"post","link":"https:\/\/ekbt.info\/?p=2045","title":{"rendered":"\u307c\u308d\u30b5\u30fc\u30d0\u6539\u3081\u65b0\u30b5\u30fc\u30d0\u306e\u4f5c\u6210\uff0d\u305d\u306e6"},"content":{"rendered":"<p>\t\t\t\t \u25a0CGI\uff08Perl)\u3092\u52d5\u304b\u3059<br \/>\n\u3000\u306a\u3093\u3068\u304b\u3001\u4fee\u7406\u5f8c\u3001\u30b5\u30fc\u30d0\u306f\u5b89\u5b9a\u3057\u3066\u304d\u305f\u306e\u3067\u3001\u5f15\u304d\u7d9a\u304d\u3001\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u3002\u4eca\u56de\u306fCGI\uff08Perl)\u304c\u52d5\u304f\u3088\u3046\u306b\u3057\u3066\u307f\u308b\u3002<br \/>\n\u3000PHP\u3084Java\u304c\u4e3b\u6d41\u306e\u4eca\u65e5\u3001CGI(Perl)\u306f\u53e4\u3081\u304b\u3057\u3044\u304c\u3001\u4e00\u5fdc\u672a\u3060\u306b\u3042\u3061\u3053\u3061\u3067\u30ab\u30a6\u30f3\u30bf\u30fc\u3084\u3089\u306a\u3093\u3084\u3089\u3092\u4f7f\u3063\u3066\u308b\u306e\u3067\u3001\u306a\u3044\u3068\u3084\u3063\u3071\u308a\u3061\u3068\u56f0\u308b\u3002<br \/>\n\u3000\u307e\u305a\u306f\u3001Apache\u306econf\u30d5\u30a1\u30a4\u30eb\u3092\u3044\u3058\u3063\u3066\u3001CGI\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/p>\n<p>1.Options \u306bExecCGI\u3092\u8ffd\u52a0<\/p>\n<p># ScriptAlias: This controls which directories contain server scripts.<br \/>\n# ScriptAliases are essentially the same as Aliases, except that<br \/>\n# documents in the realname directory are treated as applications and<br \/>\n# run by the server when requested rather than as documents sent to the client.<br \/>\n# The same rules about trailing &#8220;\/&#8221; apply to ScriptAlias directives as to<br \/>\n# Alias.<br \/>\n#<\/p>\n<p>ScriptAlias \/cgi-bin\/ &#8220;\/var\/www\/cgi-bin\/&#8221;<\/p>\n<p>#<br \/>\n# &#8220;\/var\/www\/cgi-bin\\&#8221; should be changed to whatever your ScriptAliased<br \/>\n# CGI directory exists, if you have that configured.<br \/>\n#<br \/>\n\uff1cDirectory &#8220;\/var\/www\/cgi-bin&#8221;\uff1e<br \/>\n\u3000    AllowOverride None<br \/>\n\u3000    Options ExecCGI\u3000\u3000\u3000\u3000\u3000\uff1c\uff0d\u3053\u3053\u3092\u4fee\u6b63<br \/>\n\u3000    Order allow,deny<br \/>\n\u3000    Allow from all<br \/>\n\uff1c\/Directory\uff1e<\/p>\n<p>2.CGI\u306e\u8868\u793a\u3067\u6587\u5b57\u5316\u3051\u304c\u3072\u3069\u3044\u5834\u5408<br \/>\n\u3000Windows\u304b\u3089CGI\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30a2\u30c3\u30d7\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u8868\u793a\u8a00\u8a9e\u306e\u6307\u5b9a\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6307\u5b9a\uff08\u3000META http-equiv=&#8221;Content-Type&#8221; content=&#8221;text\/html; charset=Shift_JIS&#8221;\u3000\u306a\u3069\uff09\u306b\u512a\u5148\u3055\u305b\u308b\u306b\u306f\u300caddDefaultcharset UTF-8\u300d\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u305f\u3089\u7121\u52b9\u306b\u3057\u3066\u307f\u308b\u3002HP\u304c\u6587\u5b57\u5316\u3051\u3059\u308b\u5834\u5408\u3082\u3053\u308c\u3092\u8a66\u3059\u3002<\/p>\n<p>#<br \/>\n# Specify a default charset for all content served; this enables<br \/>\n# interpretation of all content as UTF-8 by default.  To use the<br \/>\n# default browser choice (ISO-8859-1), or to allow the META tags<br \/>\n# in HTML content to override this choice, comment out this<br \/>\n# directive:<br \/>\n#<br \/>\n# AddDefaultCharset UTF-8\u3000\u3000\uff1c\uff0d\u884c\u306e\u5148\u982d\u306b\uff03\u3092\u3064\u3051\u3066\u30b3\u30e1\u30f3\u30c8\u5316\u3057\u7121\u52b9\u306b\u3059\u308b<\/p>\n<p>3. AddHandler\u8a2d\u5b9a\u3092\u6709\u52b9\u5316<\/p>\n<p> AddHandler\u8a2d\u5b9a\u3092\u6709\u52b9\u5316\u3057\u3066\u3001CGI\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u30cf\u30f3\u30c9\u30eb\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b<\/p>\n<p>#<br \/>\n# AddHandler allows you to map certain file extensions to &#8220;handlers&#8221;:<br \/>\n# actions unrelated to filetype. These can be either built into the server<br \/>\n# or added with the Action directive (see below)<br \/>\n#<br \/>\n# To use CGI scripts outside of ScriptAliased directories:<br \/>\n# (You will also need to add &#8220;ExecCGI&#8221; to the &#8220;Options&#8221; directive.)<br \/>\n#<br \/>\nAddHandler cgi-script .cgi\u3000\u3000\uff1c\uff0d\u3053\u3053\u306e\u884c\u306e\u5148\u982d\u306e\uff03\u3092\u3068\u308b<\/p>\n<p>4.\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u5f35\u308b<br \/>\ncgi\u7528\u306b\/usr\/local\/bin\/perl\u3067cgi\u304c\u8a18\u8ff0\u3067\u304d\u308b\u3088\u3046\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u5f35\u308b\u3002\u4e00\u822c\u7684\u306b\u914d\u5e03\u3055\u308c\u3066\u3044\u308bCGI\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001perl\u306e\u5834\u6240\u304c\u3001\/usr\/local\/bin\/perl\u3067\u5148\u982d\u884c\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u4e8b\u304c\u591a\u3044\u3002\u3053\u3053\u3092\u4fee\u6b63\u3057\u3066\u3082\u3044\u3044\u304c\u3001\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u3088\u3046\u306b\u3001\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u5f35\u3063\u3066\u304a\u304f\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u3001<\/p>\n<p>ln -s \/usr\/bin\/perl \/usr\/local\/bin\/perl<\/p>\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<p>5.CGI\u5b9f\u884c\u6642Internal Error\u304c\u591a\u767a\u3057\u3066\u3046\u307e\u304f\u5b9f\u884c\u3067\u304d\u306a\u3044\u5834\u5408<br \/>\n\u3000\u4e3b\u306b\u3053\u308c\u306f\u3001Windows\u3068Linux\u306e\u884c\u672b\u306e\u6539\u884c\u30b3\u30fc\u30c9\u306e\u9055\u3044\u306b\u3088\u308b\u3053\u3068\u304c\u591a\u3044\u3002\u30b5\u30fc\u30d0\u4e0a\u3067\u3001\u304d\u3061\u3093\u3068\u6539\u884c\u30b3\u30fc\u30c9\u3092Linux\u306b\u6307\u5b9a\u3057\u3066\u4fdd\u5b58\u3057\u306a\u304a\u3059\u3002<br \/>\n\u307e\u305f\u306f\u3001Linux\u3067\u306e\u6539\u884c\u306f\u30b3\u30fc\u30c9\u3000LF\u3000\u306e\u307f\u306a\u306e\u3067\u3001DOS\uff08Windows\uff09\u4e0a\u3067\u4f5c\u6210\u3057\u305fcgi\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5148\u982d\u884c\u306e\u3001<\/p>\n<p>#!\/usr\/bin\/perl \u2190\u3000\u3053\u306e\u3042\u3068\u306bCR+LF\u304c\u5165\u3063\u3066\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3002\u306a\u306e\u3067\u3001<br \/>\n#!\/usr\/bin\/perl &#8212; \u3000\u2190\u3000\u3092\u8ffd\u52a0\u3057\u3066\u30aa\u30d7\u30b7\u30e7\u30f3\u6307\u5b9a\u3068\u52d8\u9055\u3044\u3055\u305b\u308b\u3068\u3001\u3046\u307e\u304f\u52d5\u304f\u3053\u3068\u3082\u3042\u308b<\/p>\n<p>6.\u52d5\u4f5c\u30c6\u30b9\u30c8<br \/>\ncgi-bin\u306b\u3001\u6b21\u306ePerl\u306e\u30c6\u30b9\u30c8\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u304a\u3044\u3066\u30c6\u30b9\u30c8\u3002<\/p>\n<p>#!\/usr\/bin\/perl<br \/>\n##<br \/>\n## printenv &#8212; demo CGI program which just prints its environment<br \/>\n##<\/p>\n<p>print &#8220;Content-type: text\/plain; charset=iso-8859-1\\n\\n&#8221;;<br \/>\nforeach $var (sort(keys(%ENV))) {<br \/>\n$val = $ENV{$var};<br \/>\n$val =~ s|\\n|\\\\n|g;<br \/>\n$val =~ s|&#8221;|\\\\&#8221;|g;<br \/>\nprint &#8220;${var}=\\&#8221;${val}\\&#8221;\\n&#8221;;<br \/>\n}<\/p>\n<p>\u4e0a\u8a18\u30d5\u30a1\u30a4\u30eb\u3092\u3001vi\u7b49\u3067\u4f5c\u6210\u3057\u3001test.cgi\u306a\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u4fdd\u5b58\u3002<br \/>\n\u5b9f\u884c\u6a29\u9650\uff08\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\uff09\u3092\u4e0e\u3048\u3066\u304a\u304f<\/p>\n<p># chmod 755 \/var\/www\/cgi-bin\/test.cgi<\/p>\n<p>LAN\u5185\u306e\u7aef\u672b\u306b\u79fb\u52d5\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u3092\u8d77\u52d5\u3001\u30b5\u30fc\u30d0\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u3064\u3065\u3051\u3066\/cgi-bin\/test.cgi\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>DOCUMENT_ROOT=&#8221;\/var\/www\/html&#8221;<br \/>\nGATEWAY_INTERFACE=&#8221;CGI\/1.1&#8243;<br \/>\nHTTP_ACCEPT=&#8221;text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,*\/*;q=0.8&#8243;<br \/>\nHTTP_ACCEPT_ENCODING=&#8221;gzip,deflate,sdch&#8221;<br \/>\nHTTP_ACCEPT_LANGUAGE=&#8221;ja,en-US;q=0.8,en;q=0.6&#8243;<br \/>\nHTTP_CONNECTION=&#8221;keep-alive&#8221;<br \/>\nHTTP_COOKIE=&#8221;PHPSESSID=tijh4jn3dmo433un1kh49ievo0; wfvt_1999777401=5440b1d12f101&#8243;<br \/>\nHTTP_HOST=&#8221;www.ekbt.net&#8221;<br \/>\nHTTP_USER_AGENT=&#8221;Mozilla\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/38.0.2125.104 Safari\/537.36&#8243;<br \/>\nPATH=&#8221;\/sbin:\/usr\/sbin:\/bin:\/usr\/bin&#8221;<br \/>\nQUERY_STRING=&#8221;&#8221;\u3000\u3000\u3000<\/p>\n<p>\u4ee5\u4e0b\u7565<\/p>\n<p>\u306a\u3069\u3068\u3001CGI\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b9f\u884c\u3055\u308c\u3001\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u308c\u3070OK\u3002<br \/>\n\u305d\u306e\u4ed6\u3001\u65e5\u672c\u8a9e\u8868\u793a\u3092\u542b\u3080\u6642\u523b\u3092\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30ebCGI\u30b9\u30af\u30ea\u30d7\u30c8<\/p>\n<p>#!\/usr\/bin\/perl<br \/>\n##<br \/>\n## printenv &#8212; demo CGI program which just prints its environment<br \/>\n##<\/p>\n<p>$time  = time;   # time\u95a2\u6570\u306f1970\u5e741\u67081\u65e50\u66420\u52060\u79d2\u304b\u3089\u73fe\u5728\u307e\u3067\u306e\u79d2\u6570\u3092\u8fd4\u3059<br \/>\n$jtime = localtime(time);  # \u65e5\u672c\u6642\u9593\u306eget<br \/>\n$gtime = gmtime(time);     # \uff78\uff9e\uff98\uff86\uff6f\uff7c\uff9e\u6a19\u6e96\u6642\u9593\u306eget(\u65e5\u672c\u6642\u9593\u30689\u6642\u9593\u5dee)<\/p>\n<p>print &#8220;Content-type: text\/html; charset=utf-8\\n\\n&#8221;;<br \/>\nprint &#8220;<html><head><title>testjp.cgi<\/title><\/head><body>&#8220;;<br \/>\nprint &#8220;1970\u5e741\u67081\u65e50\u66420\u52060\u79d2\u304b\u3089\u306e\u73fe\u5728\u307e\u3067\u306e\u79d2\u6570&#8230;.$time<br \/>&#8220;;<br \/>\nprint &#8220;\uff1chr\uff1e&#8221;;<br \/>\nprint &#8220;\u73fe\u5728\u306e\u65e5\u4ed8\u6642\u523b\u306f<\/p>\n<p>&#8220;;<br \/>\nprint &#8220;\u65e5\u672c\u6642\u9593\uff1a$jtime<br \/>&#8220;;<br \/>\nprint &#8220;\u6a19\u6e96\u6642\u9593\uff1a$gtime<br \/>&#8220;;<br \/>\nprint &#8220;<\/body><\/html>&#8220;;<\/p>\n<p>\u203bContent-type: text\/html; charset=utf-8\u306f\u3001\u30b5\u30fc\u30d0\u672c\u4f53\u3067\u4f5c\u6210\u3057\u3066\u3044\u308b\u5834\u5408\u3002\u3082\u3057Windows\u306eShift_JIS\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u3057\u305f\u3089\u3000Content-Type\\&#8221; content=\\&#8221;text\/html; charset=Shift_JIS\u3000\u3068\u3059\u308b\u3002<\/p>\n<p>\u203b\uff43\uff47\uff49\u304c\u5b9f\u884c\u3067\u304d\u306a\u3044\u5834\u5408\u3001\u5b9f\u884c\u6a29\u9650\uff08\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\uff09\u306e\u8a2d\u5b9a\u3092\u78ba\u304b\u3081\u308b\u3002SELinux\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u5f37\u5236\u30e2\u30fc\u30c9\u306b\u306a\u3063\u3066\u3044\u305f\u3089\u3001\u305d\u308c\u3092\u8a31\u5bb9(SELinux\u3092\u5207\u308b\u3001\u8b66\u544a\u306f\u8868\u793a\u3055\u308c\u308b)\u306b\u3057\u3066\u307f\u308b\u3002<br \/>\n\u203b\u8a31\u5bb9\u3067\u3082\u30c0\u30e1\u306a\u3089\u3001\u3053\u308c\u306fSELinux\u306e\u305b\u3044\u3067\u306f\u306a\u3044\u3002\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306a\u3069\u3092\u3082\u3046\u4e00\u5ea6\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>\u203b\uff43\uff47\uff49\u5b9f\u884c\u6642\u3001cgi\u304b\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u66f8\u304d\u8fbc\u307f\u304c\u51fa\u6765\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3002SELinux\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u5f37\u5236\u30e2\u30fc\u30c9\u306b\u306a\u3063\u3066\u3044\u305f\u3089\u3001\u305d\u308c\u3092\u8a31\u5bb9(SELinux\u3092\u5207\u308b\u3001\u8b66\u544a\u306f\u8868\u793a\u3055\u308c\u308b)\u306b\u3057\u3066\u307f\u308b\u3068\u3001\u66f8\u304d\u8fbc\u307fOK\u3068\u306a\u308b\u5834\u5408\u3082\u3042\u308b\u3002<br \/>\n\u3053\u308c\u3067\u5b9f\u884c\u66f8\u304d\u8fbc\u307f\u3067\u304d\u308c\u3070\u3001cgi\u3088\u308a\u306e\u66f8\u304d\u8fbc\u307f\u30d5\u30a1\u30a4\u30eb\u304cSELinux\u306e\u8a2d\u5b9a\u3067\u66f8\u304d\u8fbc\u3081\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002<br \/>\ncgi-bin\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092home\u4ee5\u4e0b\u306b\u79fb\u52d5\u3057\u3066\u3001\u66f8\u304d\u8fbc\u307e\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306eSELinux\u306e\u8a2d\u5b9aSELinux Content\u3092httpd_user_rw_content_t\u306b\u3057\u3066\u307f\u308b\u3002<br \/>\ncgi\u683c\u7d0d\u30d5\u30a9\u30eb\u30c0\u30fc\u306f\u3001httpd_user_script_exec_t\u306b<br \/>\ngif\u306e\u753b\u50cf\u30c7\u30fc\u30bf\u306e\u683c\u7d0d\u30d5\u30a9\u30eb\u30c0\u30fc\u306f\u3001httpd_user_content_t\u3001\u4e2d\u306e\u30c7\u30fc\u30bf\u3082\u540c\u69d8\u306b\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0CGI\uff08Perl)\u3092\u52d5\u304b\u3059 \u3000\u306a\u3093\u3068\u304b\u3001\u4fee\u7406\u5f8c\u3001\u30b5\u30fc\u30d0\u306f\u5b89\u5b9a\u3057\u3066\u304d\u305f\u306e\u3067\u3001\u5f15\u304d\u7d9a\u304d\u3001\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u3002\u4eca\u56de\u306fCGI\uff08Perl)\u304c\u52d5\u304f\u3088\u3046\u306b\u3057\u3066\u307f\u308b\u3002 \u3000PHP\u3084Java\u304c\u4e3b\u6d41\u306e\u4eca\u65e5\u3001CGI(Perl)\u306f\u53e4\u3081\u304b\u3057\u3044\u304c\u3001\u4e00\u5fdc\u672a &hellip; <a href=\"https:\/\/ekbt.info\/?p=2045\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u307c\u308d\u30b5\u30fc\u30d0\u6539\u3081\u65b0\u30b5\u30fc\u30d0\u306e\u4f5c\u6210\uff0d\u305d\u306e6&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[139],"tags":[1922,1968,1142],"class_list":["post-2045","post","type-post","status-publish","format-standard","hentry","category-linux","tag-cgi","tag-perl","tag-1142"],"_links":{"self":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/2045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2045"}],"version-history":[{"count":0,"href":"https:\/\/ekbt.info\/index.php?rest_route=\/wp\/v2\/posts\/2045\/revisions"}],"wp:attachment":[{"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekbt.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}