PHPDisk Mini 2.5-4.0伪静态重写规则(更新202407)
Apache重写规则:RewriteEngine OnRewriteRule ^view-(+)\.html$ plugin.php?id=phpdisk_mini:view&file_id=$1
IIS6 httpd.ini重写规则:
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/view-(+)\.html$ $1/plugin\.php\?id=phpdisk_mini:view&file_id=$2
IIS7 web.config重写规则:
<rule name="phpdisk_view">
<match url="^(.*/)*view-(+).html\?*(.*)$" />
<action type="Rewrite" url="{R:1}/plugin.php\?id=phpdisk_mini:view&file_id={R:2}&{R:3}" />
</rule>
Nginx重写规则:
rewrite ^(.*)/view-(+)\.html$ $1/plugin.php?id=phpdisk_mini:view&file_id=$2 last;
页:
[1]