Files
ngx_http_apache_rewrite_module/cms/simple/subdir/file.html

27 lines
903 B
HTML
Raw Normal View History

2026-03-23 01:15:59 +03:00
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<title>File - Тест mod_rewrite для nginx</title>
</head>
<body>
<h1>file.html</h1>
<p>Вы попали на file.html в подкаталоге subdir.</p>
<hr />
<ul>
<li><a href="../index.html">На главную (index.html)</a></li>
<li><a href="../show.html">Показать (show.html)</a></li>
<li><a href="../redirect.html">Redirect</a></li>
</ul>
<hr />
<p>
<em><strong style="color: green;">Это страница из подкаталога!</strong></em>
</p>
<p>
При обращении к <code>/test/subdir/file.html</code>, mod_rewrite должен показать содержимое <code>../show.html</code>.
</p>
</body>
</html>