【可可】素材资源库插件伪静态在宝塔面板中设置应用的教程和使用方法
【可可】素材资源库插件(keke_down)在宝塔面板中设置应用伪静态的教程方法:
首先【可可】素材资源库插件设置的伪静 态—— 伪静态设置 —— 开启,如图:
伪静态拓展名: 一定要填写,什么叫做扩展名,百度先理解下概念,因为很多人 前面最重要的 . 都不写!!!
设置保存后,然后点击 —— 伪静态规则:
以宝塔面板为例:
你的服务器软件 是 nginx 的:
规则复制为:
[此处包含隐藏内容,如果需要查看请回复]
粘贴位置如图:
登录你宝塔面板 —— 左侧 —— 网站 —— 点开你的域名 —— 点击伪静态 —— 粘贴至 第二行开始:
以上请看清楚复制粘贴的位置顺序,保存即可生效。
附其他主机类型伪静态规则:
Apache Web Server(独立主机用户):
IIS Web Server(独立主机用户):
IIS7 Web Server(独立主机用户):
实测演示效果:https://demo.dz-x.net/down
测试账号:test
测试密码:test
后台上传管理地址:https://demo.dz-x.net/keke_down-t.html
首先【可可】素材资源库插件设置的伪静 态—— 伪静态设置 —— 开启,如图:
伪静态拓展名: 一定要填写,什么叫做扩展名,百度先理解下概念,因为很多人 前面最重要的 . 都不写!!!
设置保存后,然后点击 —— 伪静态规则:
以宝塔面板为例:
你的服务器软件 是 nginx 的:
规则复制为:
[此处包含隐藏内容,如果需要查看请回复]
粘贴位置如图:
登录你宝塔面板 —— 左侧 —— 网站 —— 点开你的域名 —— 点击伪静态 —— 粘贴至 第二行开始:
以上请看清楚复制粘贴的位置顺序,保存即可生效。
附其他主机类型伪静态规则:
Apache Web Server(独立主机用户):
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down\.html$ $1/plugin.php?id=keke_down%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-class\.html$ $1/plugin.php?id=keke_down&ac=list%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-class-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/plugin.php?id=keke_down&ac=list&cate=$2-$3-$4%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-class-(.*?)-o-(.*?)-p-([0-9]+)\.html$ $1/plugin.php?id=keke_down&ac=list&cate=$2&o=$3&page=$4%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-account\.html$ $1/plugin.php?id=keke_down&ac=account%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-account-(\w+)\.html$ $1/plugin.php?id=keke_down&ac=account&op=$2%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-account-(\w+)-([0-9]+)\.html$ $1/plugin.php?id=keke_down&ac=account&op=$2&page=$3%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-view-([0-9]+)\.html$ $1/plugin.php?id=keke_down&ac=view&fid=$2%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-user-([0-9]+)\.html$ $1/plugin.php?id=keke_down&ac=user&uid=$2%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-user-([0-9]+)-o-(.*?)-p-([0-9]+)\.html$ $1/plugin.php?id=keke_down&ac=user&uid=$2&o=$3&page=$4%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^(.*)/down-pay-(.*?)\.html$ $1/plugin.php?id=keke_down&ac=pay&did=$2%1
- RewriteRule ^(.*)/down\.html*$ $1/plugin.php?id=keke_down
- RewriteRule ^(.*)/down-class\.html*$ $1/plugin.php?id=keke_down&ac=list
- RewriteRule ^(.*)/down-class-([0-9]+)-([0-9]+)-([0-9]+)\.html*$ $1/plugin.php?id=keke_down&ac=list&cate=$2-$3-$4
- RewriteRule ^(.*)/down-class-(.*?)-o-(.*?)-p-([0-9]+)\.html*$ $1/plugin.php?id=keke_down&ac=list&cate=$2&o=$3&page=$4
- RewriteRule ^(.*)/down-account\.html*$ $1/plugin.php?id=keke_down&ac=account
- RewriteRule ^(.*)/down-account-(\w+)\.html*$ $1/plugin.php?id=keke_down&ac=account&op=$2
- RewriteRule ^(.*)/down-account-(\w+)-([0-9]+)\.html*$ $1/plugin.php?id=keke_down&ac=account&op=$2&page=$3
- RewriteRule ^(.*)/down-view-([0-9]+)\.html*$ $1/plugin.php?id=keke_down&ac=view&fid=$2
- RewriteRule ^(.*)/down-user-([0-9]+)\.html*$ $1/plugin.php?id=keke_down&ac=user&uid=$2
- RewriteRule ^(.*)/down-user-([0-9]+)-o-(.*?)-p-([0-9]+)\.html*$ $1/plugin.php?id=keke_down&ac=user&uid=$2&o=$3&page=$4
- RewriteRule ^(.*)/down-pay-(.*?)\.html*$ $1/plugin.php?id=keke_down&ac=pay&did=$2
- <rule name="down_index">
- <match url="^(.*/)*down.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down" />
- </rule>
- <rule name="down_list">
- <match url="^(.*/)*down-class.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=list" />
- </rule>
- <rule name="down_list_a">
- <match url="^(.*/)*down-class-([0-9]+)-([0-9]+)-([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=list&cate={R:2}-{R:3}-{R:4}" />
- </rule>
- <rule name="down_list_b">
- <match url="^(.*/)*down-class-(.*?)-o-(.*?)-p-([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=list&cate={R:2}&o={R:3}&page={R:4}" />
- </rule>
- <rule name="down_account">
- <match url="^(.*/)*down-account.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=account" />
- </rule>
- <rule name="down_account_a">
- <match url="^(.*/)*down-account-(\w+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=account&op={R:2}" />
- </rule>
- <rule name="down_account_b">
- <match url="^(.*/)*down-account-(\w+)-([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=account&op={R:2}&page={R:3}" />
- </rule>
- <rule name="down_view">
- <match url="^(.*/)*down-view-([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=view&fid={R:2}" />
- </rule>
- <rule name="down_user">
- <match url="^(.*/)*down-user-([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=user&uid={R:2}" />
- </rule>
- <rule name="down_user_b">
- <match url="^(.*/)*down-user-([0-9]+)-o-(.*?)-p-([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=user&uid={R:2}&o={R:3}&page={R:4}" />
- </rule>
- <rule name="down_pay">
- <match url="^(.*/)*down-pay-([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=keke_down&ac=pay&did={R:2}" />
- </rule>
测试账号:test
测试密码:test
后台上传管理地址:https://demo.dz-x.net/keke_down-t.html