Discuz教程网

Discuz X3 静态配置求助!

[复制链接]
authicon wiallian 发表于 2013-2-4 18:12:57 | 显示全部楼层 |阅读模式
用的是VPS nginx服务器,板块和帖子静态都已经配置好,Rewrite 兼容性:也已经打开
但在欢迎新用户的时候点击用户名提示如下图所示:



163233zp1a3ospiooh51ps.png




(直接提示:抱歉,您指定的用户空间不存在


163233zp1a3ospiooh51ps.png





像这样情况求各位指点下


下面是我设置的伪静态代码!


rewrite ^([^.]*)/topic-(.+).html$ $1/portal.php?mod=topic&topic=$2 last;


rewrite ^([^.]*)/article-([0-9]+)-([0-9]+).html$ $1/portal.php?mod=view&aid=$2&page=$3 last;


rewrite ^([^.]*)/forum-(w+)-([0-9]+).html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3 last;


rewrite ^([^.]*)/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3 last;


rewrite ^([^.]*)/group-([0-9]+)-([0-9]+).html$ $1/forum.php?mod=group&fid=$2&page=$3 last;


rewrite ^([^.]*)/space-(username|uid)-(.+).html$ $1/home.php?mod=space&$2=$3 last;


rewrite ^([^.]*)/blog-([0-9]+)-([0-9]+).html$ $1/home.php?mod=space&uid=$2&do=blog&id=$3 last;


rewrite ^([^.]*)/(fid|tid)-([0-9]+).html$ $1/index.php?action=$2&value=$3 last;


rewrite ^([^.]*)/([a-z]+[a-z0-9_]*)-([a-z0-9_-]+).html$ $1/plugin.php?id=$23 last;


if (!-e $request_filename) {


return 404;


}






上一篇:DZ3.0生成的静态页面不支持手机wap模版吗?
下一篇:請問去何除去"用掌上論壇訪問本站,擁有更好閱讀體驗"一句?謝謝
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-3 08:41

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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