htaccess求转换nginx
# begin VFM rules<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
RewriteRule ^(.*)$ -
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule download/(.*)/h/(.*)/sh/(.*) %{ENV:BASE}/vfm-admin/vfm-downloader.php?q=$1&h=$2&sh=$3
RewriteRule download/(.*)/h/(.*) %{ENV:BASE}/vfm-admin/vfm-downloader.php?q=$1&h=$2
RewriteRule download/dl/(.*)/pw/(.*) %{ENV:BASE}/vfm-admin/vfm-downloader.php?dl=$1&pw=$2
RewriteRule download/dl/(.*) %{ENV:BASE}/vfm-admin/vfm-downloader.php?dl=$1
RewriteRule download/zip/(.*)/n/(.*) %{ENV:BASE}/vfm-admin/vfm-downloader.php?zip=$1&n=$2
</IfModule>
# end VFM rules http://tool.lu/htaccess2nginx/
页:
[1]