创意电子
标题: 图集/图库/相册 付费版 2.5 [打印本页]
作者: 创意电子 时间: 2022-7-19 16:12
标题: 图集/图库/相册 付费版 2.5
七牛云组件使用方法简单说明然后登录进入控制台,找到“对象存储”
点击“新建空间”
创建一个公开空间,名称自己设,区域自己根据情况选。本例子,我们用 “plytest” 这个名字
默认系统会給个临时域名,只有30天可用,最好绑定自己的二级域名,注意,是用你自己设置的二级域名,不要按图中填写。本例子我们这里用plytest.571533.com
提交后,出现以下页面
这里以 DNSPOD平台为例
添加一个记录即可。这里的plytest和上面绑定的二级域名是对应的,记录值则是七牛平台给的CNAME信息
接下来再看下,七牛平台域名管理
添加好之后,出现红色感叹号(左图),需要等待一段时间。生效之后,就会变成绿色的打勾图标。(右图)
接下来获取七牛云的密钥,点击右上角个人信息,找到“密匙管理”
复制贴到插件后台设置,按对应都填写上即可。
配置完成。只要CNAME 生效了,就可以正常上传到云盘了。如果没有生效,请等待生效。
七牛云限免流量,用完要付费,详情请七牛云了解,其它功能不明白请咨询七牛云客服。
不知道服务器怎么配置开启静态,请自行百度或咨询空间商客服。
添加规则后没生效,请尝试重启服务器,重启服务器,重启服务器。
=====================Apache Web Server规则=====================(分割线不需要复制)
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku\.html$ plugin.php?id=xlwsq_tuku&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_uid_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=userresourcelist&uid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_list\.html$ plugin.php?id=xlwsq_tuku&mod=list&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_list_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=list&a=$1&b=$2&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_list_([0-9]+)_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=list&a=$1&b=$2&page=$3&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_list_([0-9]+)_([0-9]+)_tj\.html$ plugin.php?id=xlwsq_tuku&mod=list&a=$1&b=$2&paixu=tj&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_list_([0-9]+)_([0-9]+)_view\.html$ plugin.php?id=xlwsq_tuku&mod=list&a=$1&b=$2&paixu=view&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_list_([0-9]+)_([0-9]+)_free\.html$ plugin.php?id=xlwsq_tuku&mod=list&a=$1&b=$2&paixu=free&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_list_([0-9]+)_([0-9]+)_pay\.html$ plugin.php?id=xlwsq_tuku&mod=list&a=$1&b=$2&paixu=pay&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=view&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_pic_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=pic&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_pl_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=pinglunlist&sid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_ztlist\.html$ plugin.php?id=xlwsq_tuku&mod=zhuantilist&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_ztlist_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=zhuantilist&page=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_ztlist_view\.html$ plugin.php?id=xlwsq_tuku&mod=zhuantilist&paixu=view&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_zt_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=zhuantiview&ztid=$1&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_zt_([0-9]+)_([0-9]+)\.html$ plugin.php?id=xlwsq_tuku&mod=zhuantiview&ztid=$1&page=$2&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_user\.html$ plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_user_mylist\.html$ plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=mylist&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_user_add\.html$ plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=add&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_user_favorites\.html$ plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=favorites&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_user_xfjl\.html$ plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=xfjl&%1
- RewriteCond %{QUERY_STRING} ^(.*)$
- RewriteRule ^tuku_user_syjl\.html$ plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=syjl&%1
复制代码 =====================IIS6规则=====================
- RewriteRule ^(.*)/tuku\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku
- RewriteRule ^(.*)/tuku_uid_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=userresourcelist&uid=$2
- RewriteRule ^(.*)/tuku_list\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=list
- RewriteRule ^(.*)/tuku_list_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=list&a=$2&b=$3
- RewriteRule ^(.*)/tuku_list_([0-9]+)_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=list&a=$2&b=$3&page=$4
- RewriteRule ^(.*)/tuku_list_([0-9]+)_([0-9]+)_tj\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=list&a=$2&b=$3&paixu=tj
- RewriteRule ^(.*)/tuku_list_([0-9]+)_([0-9]+)_view\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=list&a=$2&b=$3&paixu=view
- RewriteRule ^(.*)/tuku_list_([0-9]+)_([0-9]+)_free\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=list&a=$2&b=$3&paixu=free
- RewriteRule ^(.*)/tuku_list_([0-9]+)_([0-9]+)_pay\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=list&a=$2&b=$3&paixu=pay
- RewriteRule ^(.*)/tuku_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=view&sid=$2
- RewriteRule ^(.*)/tuku_pic_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=pic&sid=$2
- RewriteRule ^(.*)/tuku_pl_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=pinglunlist&sid=$2
- RewriteRule ^(.*)/tuku_ztlist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=zhuantilist
- RewriteRule ^(.*)/tuku_ztlist_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=zhuantilist&page=$2
- RewriteRule ^(.*)/tuku_ztlist_view\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=zhuantilist&paixu=view
- RewriteRule ^(.*)/tuku_zt_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=zhuantiview&ztid=$2
- RewriteRule ^(.*)/tuku_zt_([0-9]+)_([0-9]+)\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku&mod=zhuantiview&ztid=$2&page=$3
- RewriteRule ^(.*)/tuku_user\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku:xlwsq_tuku_user
- RewriteRule ^(.*)/tuku_user_mylist\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=mylist
- RewriteRule ^(.*)/tuku_user_add\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=add
- RewriteRule ^(.*)/tuku_user_favorites\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=favorites
- RewriteRule ^(.*)/tuku_user_xfjl\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=xfjl
- RewriteRule ^(.*)/tuku_user_syjl\.html\?*(.*)$ $1/plugin\.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=syjl
- =====================Nginx Web Server规则=====================
- rewrite ^([^\.]*)/tuku\.html$ $1/plugin.php?id=xlwsq_tuku last;
- rewrite ^([^\.]*)/tuku_uid_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_tuku&mod=userresourcelist&uid=$2 last;
- rewrite ^([^\.]*)/tuku_list\.html$ $1/plugin.php?id=xlwsq_tuku&mod=list last;
- rewrite ^([^\.]*)/tuku_list_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_tuku&mod=list&a=$2&b=$3 last;
- rewrite ^([^\.]*)/tuku_list_([0-9]+)_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_tuku&mod=list&a=$2&b=$3&page=$4 last;
- rewrite ^([^\.]*)/tuku_list_([0-9]+)_([0-9]+)_tj\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku&mod=list&a=$2&b=$3&paixu=tj last;
- rewrite ^([^\.]*)/tuku_list_([0-9]+)_([0-9]+)_view\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku&mod=list&a=$2&b=$3&paixu=view last;
- rewrite ^([^\.]*)/tuku_list_([0-9]+)_([0-9]+)_free\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku&mod=list&a=$2&b=$3&paixu=free last;
- rewrite ^([^\.]*)/tuku_list_([0-9]+)_([0-9]+)_pay\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku&mod=list&a=$2&b=$3&paixu=pay last;
- rewrite ^([^\.]*)/tuku_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_tuku&mod=view&sid=$2 last;
- rewrite ^([^\.]*)/tuku_pic_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_tuku&mod=pic&sid=$2 last;
- rewrite ^([^\.]*)/tuku_pl_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_tuku&mod=pinglunlist&sid=$2 last;
- rewrite ^([^\.]*)/tuku_ztlist\.html$ $1/plugin.php?id=xlwsq_tuku&mod=zhuantilist last;
- rewrite ^([^\.]*)/tuku_ztlist_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_tuku&mod=zhuantilist&page=$2 last;
- rewrite ^([^\.]*)/tuku_ztlist_view\.html$ $1/plugin.php?id=xlwsq_tuku&mod=zhuantilist&paixu=view last;
- rewrite ^([^\.]*)/tuku_zt_([0-9]+).html$ $1/plugin.php?id=xlwsq_tuku&mod=zhuantiview&ztid=$2 last;
- rewrite ^([^\.]*)/tuku_zt_([0-9]+)_([0-9]+)\.html$ $1/plugin.php?id=xlwsq_tuku&mod=zhuantiview&ztid=$2&page=$3 last;
- rewrite ^([^\.]*)/tuku_user\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku_user last;
- rewrite ^([^\.]*)/tuku_user_mylist\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=mylist last;
- rewrite ^([^\.]*)/tuku_user_add\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=add last;
- rewrite ^([^\.]*)/tuku_user_favorites\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=favorites last;
- rewrite ^([^\.]*)/tuku_user_xfjl\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=xfjl last;
- rewrite ^([^\.]*)/tuku_user_syjl\.html$ $1/plugin.php?id=xlwsq_tuku:xlwsq_tuku_user&p=syjl last;
复制代码 =====================IIS7(或7以上)规则=====================
- <rule name="xlwsqtuku1">
- <match url="^(.*/)*tuku.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku" />
- </rule>
- <rule name="xlwsqtuku2">
- <match url="^(.*/)*tuku_uid_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=userresourcelist&uid={R:2}" />
- </rule>
- <rule name="xlwsqtuku3">
- <match url="^(.*/)*tuku_list.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=list" />
- </rule>
- <rule name="xlwsqtuku4">
- <match url="^(.*/)*tuku_list_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=list&a={R:2}&b={R:3}" />
- </rule>
- <rule name="xlwsqtuku5">
- <match url="^(.*/)*tuku_list_([0-9]+)_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=list&a={R:2}&b={R:3}&page={R:4}" />
- </rule>
- <rule name="xlwsqtuku6">
- <match url="^(.*/)*tuku_list_([0-9]+)_([0-9]+)_tj.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=list&a={R:2}&b={R:3}&paixu=tj" />
- </rule>
- <rule name="xlwsqtuku7">
- <match url="^(.*/)*tuku_list_([0-9]+)_([0-9]+)_view.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=list&a={R:2}&b={R:3}&paixu=view" />
- </rule>
- <rule name="xlwsqtuku8">
- <match url="^(.*/)*tuku_list_([0-9]+)_([0-9]+)_free.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=list&a={R:2}&b={R:3}&paixu=free" />
- </rule>
- <rule name="xlwsqtuku9">
- <match url="^(.*/)*tuku_list_([0-9]+)_([0-9]+)_pay.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=list&a={R:2}&b={R:3}&paixu=pay" />
- </rule>
- <rule name="xlwsqtuku10">
- <match url="^(.*/)*tuku_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=view&sid={R:2}" />
- </rule>
- <rule name="xlwsqtuku11">
- <match url="^(.*/)*tuku_pic_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=pic&sid={R:2}" />
- </rule>
- <rule name="xlwsqtuku12">
- <match url="^(.*/)*tuku_pl_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=pinglunlist&sid={R:2}" />
- </rule>
- <rule name="xlwsqtuku13">
- <match url="^(.*/)*tuku_ztlist.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=zhuantilist" />
- </rule>
- <rule name="xlwsqtuku14">
- <match url="^(.*/)*tuku_ztlist_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=zhuantilist&page={R:2}" />
- </rule>
- <rule name="xlwsqtuku15">
- <match url="^(.*/)*tuku_ztlist_view.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=zhuantilist&paixu=view" />
- </rule>
- <rule name="xlwsqtuku16">
- <match url="^(.*/)*tuku_zt_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=zhuantiview&ztid={R:2}" />
- </rule>
- <rule name="xlwsqtuku17">
- <match url="^(.*/)*tuku_zt_([0-9]+)_([0-9]+).html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku&mod=zhuantiview&ztid={R:2}&page={R:3}" />
- </rule>
- <rule name="xlwsqtuku18">
- <match url="^(.*/)*tuku_user.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku:xlwsq_tuku_user" />
- </rule>
- <rule name="xlwsqtuku19">
- <match url="^(.*/)*tuku_user_mylist.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=mylist" />
- </rule>
- <rule name="xlwsqtuku20">
- <match url="^(.*/)*tuku_user_add.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=add" />
- </rule>
- <rule name="xlwsqtuku21">
- <match url="^(.*/)*tuku_user_favorites.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=favorites" />
- </rule>
- <rule name="xlwsqtuku22">
- <match url="^(.*/)*tuku_user_xfjl.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=xfjl" />
- </rule>
- <rule name="xlwsqtuku23">
- <match url="^(.*/)*tuku_user_syjl.html\?*(.*)$" />
- <action type="Rewrite" url="{R:1}/plugin.php\?id=xlwsq_tuku:xlwsq_tuku_user&p=syjl" />
- </rule>
复制代码
作者: cydz_V2Jj9mhE 时间: 2022-10-15 00:13
感谢分享
欢迎光临 创意电子 (https://wxcydz.cc/) |
Powered by Discuz! X3.4 |