Discuz教程网

AMYSQL伪静态新手请程

[复制链接]
authicon ☆DJ仔仔☆ 发表于 2013-3-14 17:54:20 | 显示全部楼层 |阅读模式
AMYSQL 官方说的接接把DZ规则复制进去就可以了,,,,,本身带的amh.conf规则里面什么也没有,,我把下面的代码复制进去,也是不行
第一行和代码的最后一行加了这个也是不行,,
location / {

}


哪个高手怎么开的给说一下呗,,或着直接把文件发上来,,非常感谢
  1. Nginx Web Server
  2. rewrite ^([^.]*)/topic-(.+).html$ $1/portal.php?mod=topic&topic=$2 last;
  3. rewrite ^([^.]*)/article-([0-9]+)-([0-9]+).html$ $1/portal.php?mod=view&aid=$2&page=$3 last;
  4. rewrite ^([^.]*)/forum-(w+)-([0-9]+).html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3 last;
  5. rewrite ^([^.]*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3 last;
  6. rewrite ^([^.]*)/group-([0-9]+)-([0-9]+).html$ $1/forum.php?mod=group&fid=$2&page=$3 last;
  7. rewrite ^([^.]*)/space-(username|uid)-(.+).html$ $1/home.php?mod=space&$2=$3 last;
  8. rewrite ^([^.]*)/blog-([0-9]+)-([0-9]+).html$ $1/home.php?mod=space&uid=$2&do=blog&id=$3 last;
  9. rewrite ^([^.]*)/(fid|tid)-([0-9]+).html$ $1/index.php?action=$2&value=$3 last;
  10. rewrite ^([^.]*)/([a-z]+[a-z0-9_]*)-([a-z0-9_-]+).html$ $1/plugin.php?id=$2:$3 last;
  11. if (!-e $request_filename) {
  12. return 404;
  13. }
复制代码



上一篇:网站根目录下出现PaxHeader文件夹是什么?
下一篇:为什么总是出错?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-7-10 20:45

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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