Чтобы завершить указанный HTML-код с учетом изменения названия "URI_PATH_QUERY" на "HELLO WORLD", вот как это можно сделать:
<!DOCTYPE html>
<!-- saved from url=(0031)http://old.plarson.ru/http.html -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta http-equiv="content-Language" content="ru">
<meta name="description" content="�������� ������, ����������� �����">
<meta name="keywords" content="�������� ������, �����������, ����������� ������">
<meta name="revisit-after" content="2 days">
<meta name="author" content="Pavel Publichenko, plarson.ru">
<meta name="yandex-verification" content="4a4b40401c897664">
<title>HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������</title>
<script type="text/javascript" src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/jquery-1.9.1.min.js.��� ��������"></script>
<script type="text/javascript" src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/highstock.4.2.3.js.��� ��������"></script>
<style type="text/css">
div {
box-sizing:border-box; /*��� �����*/
-moz-box-sizing: border-box; /*��� ������*/
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
body {
margin-left:0px;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
padding:0px;
background-color:#FAF7EF;
color:#000000;
font-size:11px;
font-family:Verdana;
}
td, th {
font-size:11px;
font-family:Verdana;
}
a {
text-decoration: underline;
color:#0600ff
}
a:link {
text-decoration: underline
}
a:active {
text-decoration: underline;
}
a:visited {
text-decoration: underline;
}
a:hover {
text-decoration: underline;
color:#ff00ff
}
h1 {
font-size:18px;
font-weight:bold;
padding:0px;
margin-top:10px;
margin-bottom:10px;
margin-left:0px;
margin-right:10px;
color:#315194;
}
h2 {
font-size:14px;
font-weight:bold;
padding:0px;
margin-top:10px;
margin-bottom:10px;
margin-left:0px;
margin-right:10px;
color:#315194;
}
.portfolio {
width:100%;
}
.portfolio td {
width:33%;
padding:5px;
}
.span-text p {
margin: 3px 0;
}
.span-text h4 {
margin-bottom:3px !important;
}
</style>
</head>
<body>
<!-- page layout //-->
<table width="1000" height="100%" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td colspan="2" height="60" align="right" valign="bottom" background="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/plarson1000x60.png">
<!-- top //-->
<p style="text-align:right;margin:0;padding:5px;">Load average: 3.72</p>
<form action="http://old.plarson.ru/search.html" accept-charset="UTF-8">
<table cellspacing="5">
<tbody>
<tr>
<td><input name="string" style="width:100" onclick="value=''"></td>
<td><input type="submit" value="Go!" style="width:30"></td>
</tr>
</tbody>
</table>
</form>
<!--// top -->
</td>
</tr>
<tr>
<td colspan="2" height="25" bgcolor="#FF7200">
<!-- top //-->
<style type="text/css">
span.topmenu, a.topmenu:link,a.topmenu:hover,a.topmenu:visited {
color:white;
text-decoration:none;
}
</style>
<table cellpadding="0" cellspacing="0" bgcolor="#FF7200">
<tbody>
<tr>
<td><img src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/1x1.gif" width="30" height="20"></td>
<td nowrap=""><a href="http://old.plarson.ru/" title="�������" class="topmenu">�������</a></td>
<td><img src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/1x1.gif" width="20" height="10"></td>
<td nowrap=""><a href="http://old.plarson.ru/service.html" title="�����������" class="topmenu">�����������</a></td>
<td><img src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/1x1.gif" width="20" height="10"></td>
<td nowrap=""><a href="http://old.plarson.ru/price.html" title="����" class="topmenu">����</a></td>
<td><img src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/1x1.gif" width="20" height="10"></td>
<td nowrap=""><a href="http://old.plarson.ru/contacts.html" title="��������" class="topmenu">��������</a></td>
<td><img src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/1x1.gif" width="20" height="10"></td>
</tr>
</tbody>
</table>
<!--// top -->
</td>
</tr>
<tr>
<td width="180" align="left" valign="top" background="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/bg.gif" style="padding:10px;">
<!-- left //-->
<style type="text/css">
table.menu1103 td {
font-size:13px;
}
a.menu1103:link, a.menu1103:visited {
color:#000000;
font-weight:bold;
}
span.menu1103 {
color:#000000;
font-weight:bold;
}
</style>
<table width="100%" class="menu1103">
<tbody>
<tr><td><a href="http://old.plarson.ru/design.html" title="������" class="menu1103">������</a></td></tr>
<tr><td><a href="http://old.plarson.ru/objective.html" title="��� ����" class="menu1103">��� ����</a></td></tr>
<tr><td><a href="http://old.plarson.ru/articles.html" title="������" class="menu1103">������</a></td></tr>
<tr><td><a href="http://old.plarson.ru/news/" title="�������" class="menu1103">�������</a></td></tr>
</tbody>
</table>
<br>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
<caption style="font: bold 12px Verdana;">
��������� �������
</caption>
<tbody>
<tr><td>2016-03-25<br>
<a href="http://old.plarson.ru/news/module-paypal.html">�������� ������ PayPal ��� ��������-���������</a></td></tr>
<tr><td>2015-10-10<br>
<a href="http://old.plarson.ru/news/multi-regional-website.html">��������� ������������� ��������</a></td></tr>
<tr><td>2015-09-26<br>
<a href="http://old.plarson.ru/news/nginx-1-8.html">������� � ����� ������ nginx 1.8</a></td></tr>
<tr><td>2015-09-16<br>
<a href="http://old.plarson.ru/news/utf-8.html">��������� ��������� ��������� UTF-8</a></td></tr>
<tr><td>2015-09-14<br>
<a href="http://old.plarson.ru/news/browser-log.html">������������ ������ � ������ ���������</a></td></tr>
</tbody></table>
<br>
<noindex>
<br>
<a href="http://yandex.ru/cy?base=0&host=plarson.ru"><img src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/cycounter" width="88" height="31" alt="������ �����������" border="0"></a>
<br>
<br>
<a href="http://host-tracker.com/ru/" onmouseover="this.href="http://host-tracker.com/ru/uptime-statistics/1819831/lvuc/";"><img width="88" height="31" border="0" alt="������ ����������� ��������" src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/saved_resource"></a>
<noscript><a href='http://host-tracker.com/ru/' >������ ����������� ��������</a></noscript>
<br>
<a href="http://www.serviceuptime.com/users/uptimemonitoring.php?S=c9ef98bcfedbb43d303b3b7898d22294&Id=13276" target="_blank"><img src="./HTTP request - �������� ������ ������������� ������, ������ ������, ����������� ������_files/b5.gif" border="0" width="88" height="31" alt="Website Monitoring by ServiceUptime.com"></a>
</noindex>
<!--// left -->
</td>
<td width="780" bgcolor="#ffffff" align="left" valign="top" style="padding:10px;">
<!-- content goes here //-->
<p>
������: ������<br>
�����: ������<br>
������: ������<br>
</p>
<h1>HTTP Head</h1>
<form>
<input name="site">
<input type="submit">
</form>
<xmp>
Input http://site/ENV{SERVER_ADMIN} = [no address given]<br>
ENV{SERVER_SIGNATURE} = <br>
ENV{CONTEXT_PREFIX} = /cgi-bin/<br>
ENV{site} = 1<br>
ENV{HTTP_COOKIE} = _ga=GA1.2.1284492827.1727641018; _gid=GA1.2.535186840.1727641018; _gat=1; _ga_K9N506RHCC=GS1.2.1727641018.1.0.1727641018.0.0.0<br>
ENV{HTTP_X_REAL_IP} = 85.249.165.92<br>
ENV{GATEWAY_INTERFACE} = CGI/1.1<br>
ENV{SCRIPT_FILENAME} = /home/lavan/plarson.ru/cgi-bin/reestr_site.cgi<br>
ENV{HTTP_USER_AGENT} = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36<br>
ENV{CONTEXT_DOCUMENT_ROOT} = /home/lavan/plarson.ru/cgi-bin/<br>
ENV{SERVER_PROTOCOL} = HTTP/1.0<br>
ENV{SCRIPT_NAME} = /cgi-bin/reestr_site.cgi<br>
ENV{REMOTE_PORT} = 41624<br>
ENV{SERVER_ADDR} = 127.0.0.1<br>
ENV{HTTP_ACCEPT} = text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7<br>
ENV{HTTP_UPGRADE_INSECURE_REQUESTS} = 1<br>
ENV{SERVER_SOFTWARE} = Apache<br>
ENV{REMOTE_ADDR} = 127.0.0.1<br>
ENV{HTTP_NGINX_SCHEME} = http<br>
ENV{QUERY_STRING} = <br>
ENV{HTTP_DNT} = 1<br>
ENV{cgibin} = 1<br>
ENV{MOD_PERL} = mod_perl/2.0.10<br>
ENV{HTTP_X_ACCOUNT_ID} = 3333<br>
ENV{HTTP_X_FORWARDED_FOR} = 85.249.165.92<br>
ENV{REQUEST_URI} = /http.html<br>
ENV{REQUEST_SCHEME} = http<br>
ENV{REQUEST_METHOD} = GET<br>
ENV{SERVER_NAME} = old.plarson.ru<br>
ENV{HTTP_ACCEPT_ENCODING} = gzip, deflate<br>
ENV{HTTP_X_SERVER_IP} = 93.191.13.242<br>
ENV{HTTP_NGINX_URI} = /http.html<br>
ENV{DOCUMENT_ROOT} = /home/lavan/plarson.ru/html<br>
ENV{HTTP_CONNECTION} = close<br>
ENV{SERVER_PORT} = 81<br>
ENV{MOD_PERL_API_VERSION} = 2<br>
ENV{HTTP_ACCEPT_LANGUAGE} = ru,en-US;q=0.9,en;q=0.8,ru-RU;q=0.7<br>
ENV{HTTP_HOST} = old.plarson.ru<br>
ENV{PATH} = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin<br>
Query: mime=html&p=http
</xmp>
<div id="noscript" class="error" style="display: none;">����������, �������� JavaScript!<a href="http://www.google.ru/support/bin/answer.py?answer=23852">���?</a></div>
<script>document.getElementById('noscript').style.display='none';</script>
<var>
<b>Gateway</b>:CGI/1.1<br>
<b>Script</b>:/cgi-bin/reestr_site.cgi<br>
<b>Filename</b>:/home/lavan/plarson.ru/cgi-bin/reestr_site.cgi<br>
<b>Software</b>:Apache<br>
<b>Protocol</b>:HTTP/1.0<br>
<b>Addr</b>:127.0.0.1<br>
<b>Signature</b>:<br>
<b>Server</b>:old.plarson.ru<br>
<b>Admin</b>:[no address given]<br>
<b>Accept</b>:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7<br>
<b>Agent</b>:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36<br>
<b>Language</b>:ru,en-US;q=0.9,en;q=0.8,ru-RU;q=0.7<br>
<b>Alive</b>:<br>
<b>Encoding</b>:gzip, deflate<br>
<b>Connection</b>:close<br>
<b>Charset</b>:<br>
<b>Cookie</b>:_ga=GA1.2.1284492827.1727641018; _gid=GA1.2.535186840.1727641018; _gat=1; _ga_K9N506RHCC=GS1.2.1727641018.1.0.1727641018.0.0.0<br>
<b>Host</b>:old.plarson.ru<br>
<b>Referer</b>:<br>
<b>IP</b>:85.249.165.92<br>
<b>Port</b>:41624<br>
<b>URI</b>:/http.html<br>
<b>Method</b>:GET<br>
<b>Query</b>:<br>
</var>
<h2>���������� ����������</h2>
<table border="1" cellpadding="2" cellspacing="1">
<tbody><tr>
<td><strong>����������</strong></td>
<td><strong>��������</strong></td>
<td><strong>������</strong></td>
</tr>
<tr>
<td>URI</td>
<td>������ �����, �.�. $uri->as_string </td>
<td>http://old.plarson.ru/http.html</td>
</tr>
<tr>
<td>URI_STRING</td>
<td>$uri->as_string</td>
<td>http://old.plarson.ru/http.html</td>
</tr>
<tr>
<td>HELLO WORLD</td>
<td>$uri->path_query - the escaped path and query components as a single entity. The path and the query are separated by a "?" character, but the query can itself contain "?"</td>
<td>/http.html</td>
</tr>
<tr>
<td>URI_PATH</td>
<td>$uri->path - everything between the scheme and the fragment as an escaped string, the part of the URI between the host name and the fragment</td>
<td>/http.html</td>
</tr>
<tr>
<td>QUERY_STRING</td>
<td>$ENV{QUERY_STRING} - the escaped query component of the URI</td>
<td></td>
</tr>
<tr>
<td>REQUEST_URI</td>
<td>$ENV{REQUEST_URI}</td>
<td>/http.html</td>
</tr>
<tr>
<td>EXT</td>
<td>���������� �������</td>
<td>.html</td>
</tr>
<tr>
<td>DOMAIN</td>
<td>�����, $ENV{HTTP_HOST}</td>
<td>old.plarson.ru</td>
</tr>
<tr>
<td>IP</td>
<td>IP ����� ����������</td>
<td>85.249.165.92</td>
</tr>
<tr>
<td>DATE_TIME</td>
<td>Дата и время</td>
<td>2024-09-29 23:17:14</td>
</tr>
<tr>
<td>DATE</td>
<td>Дата</td>
<td>2024-09-29</td>
</tr>
<tr>
<td>TIME</td>
<td>Время</td>
<td>23:17:14</td>
</tr>
<tr>
<td>MONTH</td>
<td>Номер месяца</td>
<td>09</td>
</tr>
<tr>
<td>DAY</td>
<td>День недели</td>
<td>29</td>
</tr>
<tr>
<td>YEAR</td>
<td>Год</td>
<td>2024</td>
</tr>
<tr>
<td>BROWSER_STRING</td>
<td>Браузер</td>
<td>Chrome</td>
</tr>
<tr>
<td>BROWSER_VERSION</td>
<td>Версия браузера</td>
<td>129.0</td>
</tr>
<tr>
<td>ENGINE_STRING</td>
<td>Движок браузера</td>
<td>WebKit</td>
</tr>
<tr>
<td>ENGINE_VERSION</td>
<td>Версия движка</td>
<td>537.36</td>
</tr>
<tr>
<td>DEVICE_STRING</td>
<td>Устройство</td>
<td></td>
</tr>
<tr>
<td>OS_STRING</td>
<td>Операционная система</td>
<td>Win10.0</td>
</tr>
<tr>
<td>IP_LOG</td>
<td>Лог запросов вам по IP</td>
<td><pre>[]
</pre></td>
</tr>
</tbody>
</table>
<!--// content goes here -->
</td>
</tr>
<tr>
<td colspan="2" height="20" bgcolor="#FF7200" align="center" valign="center">
<!-- bottom //-->
<div style="color:#FAF7EF;font-size:11px;">Copyright © PLARSON.RU, 2004-2024. Москва, 123007, 4-я Магистральная улица, дом 5, строение 1, 4 этаж. Тел.: (495) 508-20-58</div>
<!--// bottom -->
</td>
</tr>
</tbody>
</table>
<!--// page layout -->
</body>
</html>
Этот код завершает HTML-документ и включает изменение названия "URI_PATH_QUERY" на "HELLO WORLD" в соответствующей таблице.