PHPDisk Mini 2.0伪静态重写规则
Apache重写规则:RewriteEngine OnRewriteRule ^file-(+)\.html$ phpdisk.php?mod=view&file_id=$1
RewriteRule ^down-(+)\.html$ phpdisk.php?mod=down&file_id=$1
RewriteRule ^space-(.+)\.html$ space.php?username=$1
IIS重写规则:
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/file-(+)\.html$ $1/phpdisk\.php\?mod=view&file_id=$2
RewriteRule ^(.*)/down-(+)\.html$ $1/phpdisk\.php\?mod=down&file_id=$2
RewriteRule ^(.*)/space-(.+)\.html$ $1/space\.php\?username=$2
Nginx重写规则:
rewrite ^(.*)/file-(+)\.html$ $1/phpdisk.php?mod=view&file_id=$2 last;
rewrite ^(.*)/down-(+)\.html$ $1/phpdisk.php?mod=down&file_id=$2 last;
rewrite ^(.*)/space-(.+)\.html$ $1/space.php?username=$2 last;
前来占位,貌似快要发布Mini2.0了? mini1.0还没发布就2.0了?
页:
[1]