Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[分享] ◆◆home2.0--Win~虚实主机配置静态...成功...◆◆

[复制链接]
kffnje 发表于 2009-9-14 00:56:08 | 显示全部楼层 |阅读模式
本帖最后由 kffnje 于 2009-9-14 00:57 编辑

那个作者忘记了。

看了他的帖子。上传到主机还是不行。

一看路径个人的装法不同。所以修改就好了。

在这里发给大家看看。。。。

home 一定要装在 wwwroot/ 目录下的就可以使用了。

也就是网站根目录啦。
  1.         [ISAPI_Rewrite]

  2.         # 3600 = 1 hour
  3.         CacheClockRate 3600

  4.         RepeatLimit 32

  5.         # Protect httpd.ini and httpd.parse.errors files
  6.         # from accessing through HTTP


  7.         RewriteRule ^/(space|network)-(.+)\.html$ /$1\.php\?rewrite=$2 [L]
  8.         RewriteRule ^/(space|network)\.html$ /$1\.php [L]
  9.         RewriteRule ^/([0-9]+)$ /space\.php\?uid=$1 [L]

  10.         RewriteRule ^(.*)/archiver/((fid|tid)-[\w\-]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
  11.         RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
  12.         RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
  13.         RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
  14.         RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-11 00:17 , Processed in 0.120105 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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