找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 55|回复: 7

[电脑] MayiCMS,蚂蚁分类程序的使用注意事项

[复制链接]

25

主题

22

回帖

226

积分

管理员

积分
226
发表于 2025-4-7 14:28:32 | 显示全部楼层 |阅读模式
1、新站安装时,需要放开的写入权限,我的Windows 2012用户组是Users

/data/
/data/config.php
/data/config.db.php
/data/caches
/attachment

2、网站搬家后,后台登陆显示成功,但无法跳转:
/data/sessions 这个目录设置写入权限


3、网站改域名后,会员无法登陆
修改:/data/config.db.php
cookiedomain里修改为新的域名

4、iis下开启以下目录的可写入:

5、文章编辑器 替换/include/ueditor/ueditor.config.js



25

主题

22

回帖

226

积分

管理员

积分
226
 楼主| 发表于 2025-4-7 14:34:56 | 显示全部楼层
蚂蚁CMS 6.8,IIS 8.5单城市版伪静态:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
        <rule name="new-category00_rewrite">
                <match url="^category.html$"/>
                <action type="Rewrite" url="index.php?mod=category"/>
        </rule>
        <rule name="new-search_rewrite">
                <match url="^search.html$"/>
                <action type="Rewrite" url="index.php?mod=search"/>
        </rule>
        <rule name="new-store_rewrite">
                <match url="^store/([0-9]+)/$"/>
                <action type="Rewrite" url="index.php?mod=store&id={R:1}"/>
        </rule>
        <rule name="new-store0_rewrite">
                <match url="^store/$"/>
                <action type="Rewrite" url="index.php?mod=corp"/>
        </rule>
        <rule name="new-store1_rewrite">
                <match url="^store/([a-z,-]+)$"/>
                <action type="Rewrite" url="index.php?mod=corp&Catid={R:1}"/>
        </rule>
        <rule name="new-store2_rewrite">
                <match url="^store/([0-9]+)/([^\/]+).html$"/>
                <action type="Rewrite" url="index.php?mod=store&uid={R:1}&Uid={R:2}"/>
        </rule>
        <rule name="new-goods0_rewrite">
                <match url="^goods/$"/>
                <action type="Rewrite" url="index.php?mod=goods"/>
        </rule>
        <rule name="new-goods2_rewrite">
                <match url="^goods/([0-9]+).html$"/>
                <action type="Rewrite" url="index.php?mod=goods&id={R:1}"/>
        </rule>
        <rule name="new-goods3_rewrite">
                <match url="^goods/catid-([0-9]+)/$"/>
                <action type="Rewrite" url="index.php?mod=goods&catid={R:1}"/>
        </rule>
        <rule name="new-goods4_rewrite">
                <match url="^goods/page-([0-9]+)/$"/>
                <action type="Rewrite" url="index.php?mod=goods&page={R:1}"/>
        </rule>
        <rule name="new-news0_rewrite">
                <match url="^news/$"/>
                <action type="Rewrite" url="index.php?mod=news"/>
        </rule>
        <rule name="new-news2_rewrite">
                <match url="^news/([0-9]+).html$"/>
                <action type="Rewrite" url="index.php?mod=news&id={R:1}"/>
        </rule>
        <rule name="new-news3_rewrite">
                <match url="^news/catid-([0-9]+)/$"/>
                <action type="Rewrite" url="index.php?mod=news&catid={R:1}"/>
        </rule>
        <rule name="new-news4_rewrite">
                <match url="^news/page-([0-9]+)/$"/>
                <action type="Rewrite" url="index.php?mod=news&page={R:1}"/>
        </rule>
        <rule name="new-corporation3_rewrite">
                <match url="^store/$"/>
                <action type="Rewrite" url="index.php?mod=corp"/>
        </rule>
        <rule name="new-corporation4_rewrite">
                <match url="^store/([^\/]+)/$"/>
                <action type="Rewrite" url="index.php?mod=goods&Catid={R:1}"/>
        </rule>
        <rule name="new-fabu0_rewrite">
                <match url="^fabu/$"/>
                <action type="Rewrite" url="index.php?mod=post"/>
        </rule>
        <rule name="new-fabu2_rewrite">
                <match url="^fabu/([0-9]+).html$"/>
                <action type="Rewrite" url="index.php?mod=post&catid={R:1}"/>
        </rule>
        <rule name="new-aboutus_rewrite">
                <match url="^aboutus/$"/>
                <action type="Rewrite" url="index.php?mod=aboutus"/>
        </rule>
        <rule name="new-aboutusid_rewrite">
                <match url="^aboutus/([0-9]+).html$"/>
                <action type="Rewrite" url="index.php?mod=aboutus&id={R:1}"/>
        </rule>
        <rule name="new-friendlink_rewrite">
                <match url="^friendlink.html$"/>
                <action type="Rewrite" url="index.php?mod=friendlink"/>
        </rule>
        <rule name="new-mapinfo_rewrite">
                <match url="^mayi-info.xml$"/>
                <action type="Rewrite" url="index.php?mod=xmlmap&part=info"/>
        </rule>
        <rule name="new-mapcategory_rewrite">
                <match url="^mayi-category.xml$"/>
                <action type="Rewrite" url="index.php?mod=xmlmap&part=category"/>
        </rule>
        <rule name="new-mapstore_rewrite">
                <match url="^mayi-store.xml$"/>
                <action type="Rewrite" url="index.php?mod=xmlmap&part=store"/>
        </rule>
        <rule name="new-mapnews_rewrite">
                <match url="^mayi-news.xml$"/>
                <action type="Rewrite" url="index.php?mod=xmlmap&part=news"/>
        </rule>
        <rule name="new-category0_rewrite">
                <match url="^(?!m|news|goods|fabu|store|aboutus)(.+)/$"/>
                <conditions>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
                </conditions>
                <action type="Rewrite" url="index.php?mod=category&Catid={R:1}"/>
        </rule>
        <rule name="new-information_rewrite">
                <match url="^(?!m|news|goods|fabu|store|aboutus)([a-z]+)/([0-9]+).html$"/>
                <conditions>
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
                </conditions>
                <action type="Rewrite" url="index.php?mod=information&id={R:2}"/>
        </rule>
        <rule name="new-resume0">
<match url="^(.*)resume.html$"/>
<action type="Rewrite" url="{R:1}index.php?mod=resume"/>
</rule>
<rule name="new-resume1">
<match url="^(.*)resume-(.*).html$"/>
<action type="Rewrite" url="{R:1}index.php?mod=resume&Catid={R:2}"/>
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>


25

主题

22

回帖

226

积分

管理员

积分
226
 楼主| 发表于 2025-4-7 14:35:25 | 显示全部楼层
蚂蚁CMS 6.8,IIS 8.5 多城市版本伪静态:


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="new-space">
<match url="space/([a-z,0-9,A-Z]+)/" />
<action type="Rewrite" url="index.php?mod=space&amp;user={R:1}" />
</rule>
<rule name="new-category00">
<match url="^(.*)category.html$" />
<action type="Rewrite" url="{R:1}index.php?mod=category" />
</rule>
<rule name="new-search">
<match url="^(.*)search.html$" />
<action type="Rewrite" url="{R:1}index.php?mod=search" />
</rule>
<rule name="space">
<match url="space/([a-z0-9A-Z]+)/" />
<conditions>
<add input="{HTTP_HOST}" pattern="^(.*)\.domain\.com$" />
</conditions>
<action type="Rewrite" url="/{C:1}/space.php?user={R:1}" />
</rule>
<rule name="new-store">
<match url="^store/([0-9]+)/$" />
<action type="Rewrite" url="index.php?mod=store&amp;id={R:1}" />
</rule>
<rule name="new-store2">
<match url="^store/([0-9]+)/([^\/]+).html$" />
<action type="Rewrite" url="index.php?mod=store&amp;uid={R:1}&amp;Uid={R:2}" />
</rule>
<rule name="new-news0">
<match url="^(.*)news/$" />
<action type="Rewrite" url="{R:1}index.php?mod=news" />
</rule>
<rule name="new-news2">
<match url="^(.*)news/([0-9]+).html$" />
<action type="Rewrite" url="{R:1}index.php?mod=news&amp;id={R:2}" />
</rule>
<rule name="new-news3">
<match url="^(.*)news/catid-([0-9]+)/$" />
<action type="Rewrite" url="{R:1}index.php?mod=news&amp;catid={R:2}" />
</rule>
<rule name="new-corporation3">
<match url="^(.*)store/$" />
<action type="Rewrite" url="{R:1}index.php?mod=corp" />
</rule>
<rule name="new-corporation4">
<match url="^(.*)store/([^\/]+)/$" />
<action type="Rewrite" url="{R:1}index.php?mod=corp&amp;Catid={R:2}" />
</rule>
<rule name="new-goods3">
<match url="^(.*)goods/$" />
<action type="Rewrite" url="{R:1}index.php?mod=goods" />
</rule>
<rule name="new-goods4">
<match url="^(.*)goods/([^\/]+)/$" />
<action type="Rewrite" url="{R:1}index.php?mod=goods&amp;Catid={R:2}" />
</rule>
<rule name="new-goods5">
<match url="^(.*)goods/([0-9]+).html$" />
<action type="Rewrite" url="{R:1}index.php?mod=goods&amp;id={R:2}" />
</rule>
<rule name="new-fabu0">
<match url="^(.*)fabu/$" />
<action type="Rewrite" url="{R:1}index.php?mod=post" />
</rule>
<rule name="new-fabu2">
<match url="^(.*)fabu/([0-9]+).html$" />
<action type="Rewrite" url="{R:1}index.php?mod=post&amp;catid={R:2}" />
</rule>
<rule name="new-aboutus">
<match url="^aboutus/$" />
<action type="Rewrite" url="index.php?mod=aboutus" />
</rule>
<rule name="new-aboutusid">
<match url="^aboutus/([0-9]+).html$" />
<action type="Rewrite" url="index.php?mod=aboutus&amp;id={R:1}" />
</rule>
<rule name="new-friendlink">
<match url="^(.*)friendlink.html$" />
<action type="Rewrite" url="{R:1}index.php?mod=friendlink" />
</rule>
<rule name="new-changecity">
<match url="^changecity.html$" />
<action type="Rewrite" url="index.php?mod=changecity" />
</rule>
<rule name="new-mapinfo">
<match url="^(.*)mayi-info.xml$" />
<action type="Rewrite" url="{R:1}index.php?mod=xmlmap&amp;part=info" />
</rule>
<rule name="new-mapcategory">
<match url="^(.*)mayi-category.xml$" />
<action type="Rewrite" url="{R:1}index.php?mod=xmlmap&amp;part=category" />
</rule>
<rule name="new-mapstore">
<match url="^(.*)mayi-store.xml$" />
<action type="Rewrite" url="{R:1}index.php?mod=xmlmap&amp;part=store" />
</rule>
<rule name="new-mapnews">
<match url="^(.*)mayi-news.xml$" />
<action type="Rewrite" url="{R:1}index.php?mod=xmlmap&amp;part=news" />
</rule>
<rule name="new-category0">
<match url="^(.*)category-(.*).html$" />
<action type="Rewrite" url="{R:1}index.php?mod=category&amp;CAtid={R:2}" />
</rule>
<rule name="new-information">
<match url="^city/(.+)/information-id-([0-9]+).html$" />
<action type="Rewrite" url="city/{R:1}/index.php?mod=information&amp;id={R:2}" />
</rule>
<rule name="new-resume0">
<match url="^(.*)resume.html$" />
<action type="Rewrite" url="{R:1}index.php?mod=resume" />
</rule>
<rule name="new-resume1">
<match url="^(.*)resume-(.*).html$" />
<action type="Rewrite" url="{R:1}index.php?mod=resume&amp;CAtid={R:2}" />
</rule>
</rules>
</rewrite>
        <applicationInitialization doAppInitAfterRestart="true" />
        <defaultDocument>
            <files>
                <remove value="iisstart.htm" />
                <remove value="index.htm" />
                <remove value="Default.asp" />
                <remove value="Default.htm" />
            </files>
        </defaultDocument>
</system.webServer>
</configuration>

web.config

4.48 KB, 下载次数: 6

25

主题

22

回帖

226

积分

管理员

积分
226
 楼主| 发表于 2025-4-21 11:26:47 | 显示全部楼层
include/ueditor/ueditor.config.js
首页,双排简洁模版不显示,替换:/pc/index.inc.php

我发布新闻,它会即使选择“总站”,发布成功后会被归为第一个分站,我得再改一次,这也没什么,但是真的发布到分站了,反而打不开,现在总站都是正常的。/mayicms/news.php替换看下。。

news.zip

11.14 KB, 下载次数: 10

ueditor.config.js

22.98 KB, 下载次数: 11

index.inc.zip

3.74 KB, 下载次数: 8

25

主题

22

回帖

226

积分

管理员

积分
226
 楼主| 发表于 2025-4-26 04:14:15 | 显示全部楼层
301永久重定向:http://网址/$S$Q

25

主题

22

回帖

226

积分

管理员

积分
226
 楼主| 发表于 2025-5-1 13:34:31 | 显示全部楼层
联系人字段长度:
my_information表,contact_who字段,改成200

25

主题

22

回帖

226

积分

管理员

积分
226
 楼主| 发表于 2025-5-8 13:29:04 | 显示全部楼层

区县分类不切换

模版:list-select:

        <dt>区县查找</dt>
        <dd>
            <!--{loop $area_list $mymps}-->
                <div><a href="{if $mymps[areaname]=='不限'}{$city[gdomain]}{/if}{$mymps[uri]}" {if $mymps[areaid] == $areaid}class="curr"{/if}>{$mymps[areaname]}</a></div>
                <!--{/loop}-->
        </dd>

改为:

        <dt>城市查找</dt>
        <dd>
            <!--{loop $area_list $mymps}-->
                <div><a href="{$mymps[domain]}{echo str_replace('cat-catid-','cat-',$w[uri])}" {if $mymps[areaid] == $areaid}class="curr"{/if}>{$mymps[areaname]}</a></div>
                <!--{/loop}-->
        </dd>

5

主题

2

回帖

21

积分

新手上路

积分
21
发表于 4 天前 | 显示全部楼层
連絡方法
��Gleezy招待コード:JPFB88
��Telegra招待リンク:@JP84434
Gleezy 招待リンク:https://gleezy.net/5v3u0c
LINE 招待リンク:https://line.me/ti/p/G5--J3FrZr
さらに詳しい情報はこちらから:
Misaki東京風俗情報局:https://fb8844.com
中英日対応サイト:https://www.ny076699.com
友達のような感覚で、気軽に連絡してみてください♡ 素敵な出会いを楽しみにしています!
photo_2025-05-11_23-25-40.jpg photo_2025-05-11_23-25-53.jpg photo_2025-05-11_23-26-34.jpg photo_2025-05-16_16-25-27.jpg photo_2025-05-14_18-10-06.jpg
俗ジャパン| 東京暗黑外送Gleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com   風俗出張 #日本東京學生妹 #援交妹 #叫小姐 #性感人妻 #日本東京外送茶 #巨乳 #人妻 #無套內射 #肛交Gleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com#H#單親媽媽 #母乳媽媽 #孕婦媽媽 #三性 #變性 #處女#在校學生 外約日本東京#蘿莉學生#在校學生#幼齒合法處女#白虎內射 外約日本東京G奶少婦#熟女約砲#少婦#人妻#大奶F中出 #日本東京外約雙飛#雙胞胎#學生#熟女#空姐外約日本東京#姐妹#雙飛#雙胞胎#學生#大奶#少婦雙飛外約日本東京#母乳媽媽#孕婦#內射Gleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com#三性#內射肛交媽媽日本東京外約#酒店汽車VIP住家日本東京外約#G奶白虎裸流#外約日本東京女孩#日本東京学生妹 Gleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com#援交妹 #お姉さんを呼ぶ #セクシー人妻 #日本東京デリバリーティー #巨乳 #人妻 #生中出し #アナルセックス #H#シングルマザー #母乳ママ #妊婦さん #三人プレイ #トランスジェンダー #処女 #日本東京在校学生 #ロリータ学生 #学生 #ロリコン合法ロリータ #白虎中出し日本東京G奶若妻Gleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com#熟女遊び #若妻 #人妻 #巨乳中出し #日本東京二人プレイ #双子 #学生 #熟女 #スチュワーデス日本東京姉妹 #二人プレイ #双子の #学生 #巨乳 #若妻二人プレイ日本東京 #母乳ママ #妊婦 #中出し #三人プレイ #中出しアナルセックスママ日本東京二人プレイ #ホテル自動車VIP日本東京二人プレGleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com#G奶白虎ストリップ #日本東京デートガール#東京外送茶 #日本外送茶 #東京風俗 #外送茶約妹 Gleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com#日本風俗店 #東京成人娛樂 #東京風俗推薦 #日本外送茶服務 #外送茶東京 #安全外送茶 #日本外送茶體驗 #東京成人服務Gleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com #風俗服務東京 #日本風俗服務 #約妹 #東京約妹 #日本暗黑外送Gleezy招待コード:JPFB88 加Gleezy 招待リンク:https://gleezy.net/5v3u0c  加https://www.ny076699.com
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|友连外贸论坛

GMT+8, 2025-5-22 21:23 , Processed in 0.139896 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表