为了将整个网站镜像为静态 HTML,
我想将 URL 转换http://example.com/script.php?t=12为http://example.com/script.php_t=12.
http://example.com/script.php?t=12
http://example.com/script.php_t=12
通知?中的 URL 正在被转换为_.
?
_
这将允许 nginx 或 apache 从磁盘提供这些文件作为我们获取和保存的原始 HTML——wget每个 URL 一个文件——而不是作为 PHP 文件。
wget
是否可以通过 Nginx URL 重写来实现?
nginx
nginx ×1