-
开启伪静态,部分栏目提示缺少MOD模块
-
-
WINDOWS IIS 虚拟空间开启伪静态后,部分栏目打开出现如下提示:“对不起,不存在“mod=/page.php?mod=about”模块,请检查!”还有contact sitemap 我开启伪静态需要把h ttpd.ini 放到空间根目录下,不知道如何解决,请管理员帮我看看。
-
5780 次浏览
8 条评论
收藏
8个评论
-
-
--
2020-12-01 10:00
-
我的也是,使用伪静态后,mod和id的值都获取不到!!
-
-
回复 · 0条回复
-
-
-
--
2020-12-01 10:00
-
我也出现这儿问题,伪静态规则和模块都是对的,不知道为什么?
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
RewriteRule ^(.*)about\\.html$ $1/page\\.php\\?mod=about
RewriteRule ^(.*)about\\.html$ $1/page\\.php\\?mod=about
RewriteRule ^(.*)sitemap\\.html$ $1/page\\.php\\?mod=sitemap
这个是存在的呀,应该怎么添加?
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
[ISAPI_Rewrite]
CacheClockRate 3600
# URL路由方式一
RewriteRule ^(.*)index\\.html$ $1/index.php
RewriteRule ^(.*)contact\\.html$ $1/page\\.php\\?mod=contact
RewriteRule ^(.*)about\\.html$ $1/page\\.php\\?mod=about
RewriteRule ^(.*)guestbook\\.html$ $1/guestbook.php
RewriteRule ^(.*)sitemap\\.html$ $1/page\\.php\\?mod=sitemap
RewriteRule ^(.*)link\\.html$ $1/page\\.php\\?mod=link
RewriteRule ^(.*)page-([0-9]+)\\.html$ $1/page\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)info\\.html$ $1/info.php
RewriteRule ^(.*)product\\.html$ $1/product.php
RewriteRule ^(.*)case\\.html$ $1/case.php
RewriteRule ^(.*)solution\\.html$ $1/solution.php
RewriteRule ^(.*)article\\.html$ $1/article.php
RewriteRule ^(.*)download\\.html$ $1/download.php
RewriteRule ^(.*)job\\.html$ $1/job.php
RewriteRule ^(.*)info-([0-9]+)\\.html$ $1/info\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)info-cat-([0-9]+)\\.html$ $1/info\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)info-page-([0-9]+)\\.html$ $1/info\\.php\\?mod=list&page=$2
RewriteRule ^(.*)info-cat-([0-9]+)-([0-9]+)\\.html$ $1/info\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)article-([0-9]+)\\.html$ $1/article\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)article-cat-([0-9]+)\\.html$ $1/article\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)article-page-([0-9]+)\\.html$ $1/article\\.php\\?mod=list&page=$2
RewriteRule ^(.*)article-cat-([0-9]+)-([0-9]+)\\.html$ $1/article\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)product-([0-9]+)\\.html$ $1/product\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)product-cat-([0-9]+)\\.html$ $1/product\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)product-page-([0-9]+)\\.html$ $1/product\\.php\\?mod=list&page=$2
RewriteRule ^(.*)product-cat-([0-9]+)-([0-9]+)\\.html$ $1/product\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)solution-([0-9]+)\\.html$ $1/solution\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)solution-cat-([0-9]+)\\.html$ $1/solution\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)solution-page-([0-9]+)\\.html$ $1/solution\\.php\\?mod=list&page=$2
RewriteRule ^(.*)solution-cat-([0-9]+)-([0-9]+)\\.html$ $1/solution\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)case-([0-9]+)\\.html$ $1/case\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)case-cat-([0-9]+)\\.html$ $1/case\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)case-page-([0-9]+)\\.html$ $1/case\\.php\\?mod=list&page=$2
RewriteRule ^(.*)case-cat-([0-9]+)-([0-9]+)\\.html$ $1/case\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)job-([0-9]+)\\.html$ $1/job\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)job-cat-([0-9]+)\\.html$ $1/job\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)job-page-([0-9]+)\\.html$ $1/job\\.php\\?mod=list&page=$2
RewriteRule ^(.*)job-cat-([0-9]+)-([0-9]+)\\.html$ $1/job\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)download-([0-9]+)\\.html$ $1/download\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)download-cat-([0-9]+)\\.html$ $1/download\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)download-page-([0-9]+)\\.html$ $1/download\\.php\\?mod=list&page=$2
RewriteRule ^(.*)download-cat-([0-9]+)-([0-9]+)\\.html$ $1/download\\.php\\?mod=list&cid=$2&page=$3
# URL路由方式二
RewriteRule ^(.*)contact$ $1/page\\.php\\?mod=contact
RewriteRule ^(.*)about$ $1/page\\.php\\?mod=about
RewriteRule ^(.*)sitemap$ $1/page\\.php\\?mod=sitemap
RewriteRule ^(.*)link$ $1/page\\.php\\?mod=link
RewriteRule ^(.*)page/([0-9]+)\\.html$ $1/page\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)guestbook$ $1/guestbook.php
RewriteRule ^(.*)info$ $1/info.php
RewriteRule ^(.*)product$ $1/product.php
RewriteRule ^(.*)case$ $1/case.php
RewriteRule ^(.*)solution$ $1/solution.php
RewriteRule ^(.*)article$ $1/article.php
RewriteRule ^(.*)download$ $1/download.php
RewriteRule ^(.*)job$ $1/job.php
RewriteRule ^(.*)info/([0-9]+)\\.html$ $1/info\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)info/cat-([0-9]+)\\.html$ $1/info\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)info/page-([0-9]+)\\.html$ $1/info\\.php\\?mod=list&page=$2
RewriteRule ^(.*)info/cat-([0-9]+)-([0-9]+)\\.html$ $1/info\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)article/([0-9]+)\\.html$ $1/article\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)article/cat-([0-9]+)\\.html$ $1/article\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)article/page-([0-9]+)\\.html$ $1/article\\.php\\?mod=list&page=$2
RewriteRule ^(.*)article/cat-([0-9]+)-([0-9]+)\\.html$ $1/article\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)product/([0-9]+)\\.html$ $1/product\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)product/cat-([0-9]+)\\.html$ $1/product\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)product/page-([0-9]+)\\.html$ $1/product\\.php\\?mod=list&page=$2
RewriteRule ^(.*)product/cat-([0-9]+)-([0-9]+)\\.html$ $1/product\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)solution/([0-9]+)\\.html$ $1/solution\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)solution/cat-([0-9]+)\\.html$ $1/solution\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)solution/page-([0-9]+)\\.html$ $1/solution\\.php\\?mod=list&page=$2
RewriteRule ^(.*)solution/cat-([0-9]+)-([0-9]+)\\.html$ $1/solution\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)case/([0-9]+)\\.html$ $1/case\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)case/cat-([0-9]+)\\.html$ $1/case\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)case/page-([0-9]+)\\.html$ $1/case\\.php\\?mod=list&page=$2
RewriteRule ^(.*)case/cat-([0-9]+)-([0-9]+)\\.html$ $1/case\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)job/([0-9]+)\\.html$ $1/job\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)job/cat-([0-9]+)\\.html$ $1/job\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)job/page-([0-9]+)\\.html$ $1/job\\.php\\?mod=list&page=$2
RewriteRule ^(.*)job/cat-([0-9]+)-([0-9]+)\\.html$ $1/job\\.php\\?mod=list&cid=$2&page=$3
RewriteRule ^(.*)download/([0-9]+)\\.html$ $1/download\\.php\\?mod=detail&id=$2
RewriteRule ^(.*)download/cat-([0-9]+)\\.html$ $1/download\\.php\\?mod=list&cid=$2
RewriteRule ^(.*)download/page-([0-9]+)\\.html$ $1/download\\.php\\?mod=list&page=$2
RewriteRule ^(.*)download/cat-([0-9]+)-([0-9]+)\\.html$ $1/download\\.php\\?mod=list&cid=$2&page=$3
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
那就是3个模块都没有了,可是怎么会没有呢,这个模块放在那个文件夹里呢
-
-
回复 · 0条回复
-
-
-
--
2020-12-01 10:00
-
请在http.ini加上“关于我们”的伪静态表达式。
-
-
回复 · 0条回复
-
-
-
--
2020-12-01 10:00
-
这个是关于我们的模块。
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
我的网址是这个,现在我开着,www.duoyongguo.com 关于我们 联系我们 那里都打不开
-
-
回复 · 0条回复
-
作者信息
-
关注
-
试
免费试用
-
咨询热线
-
咨询热线
020-82299 259
-
在线咨询