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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已答复] 高手求解 UC HOME伪静态规则

[复制链接]
hnyic 发表于 2010-1-7 19:36:00 | 显示全部楼层 |阅读模式
30微币
帮我设置下伪静态规则    大虾们帮下忙  哈哈!!!

我的QQ 44877187   加我帮我设置下

hbzyll 发表于 2010-1-8 21:23:39 | 显示全部楼层
支持。。。顶起来
回复

使用道具 举报

 楼主| hnyic 发表于 2010-1-9 10:51:44 | 显示全部楼层
杂没人帮忙呢
回复

使用道具 举报

tombfigure 发表于 2010-1-13 11:25:52 | 显示全部楼层
顶上去
回复

使用道具 举报

611102512 发表于 2010-1-13 11:37:40 | 显示全部楼层
需要空间支持,可以找我们购买~
回复

使用道具 举报

cnhqzh 发表于 2010-1-13 11:54:59 | 显示全部楼层
  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]
复制代码
复制 代码 到文本 文本文件名字 httpd.ini
放置根目录
回复

使用道具 举报

玻璃屋女孩 发表于 2010-1-13 12:21:20 | 显示全部楼层
UCenter Home 开启 Rewrite 的方法
apache
http://faq.comsenz.com/viewnews-55
IIS
http://faq.comsenz.com/viewnews-11
回复

使用道具 举报

luowumayi 发表于 2010-1-29 05:23:21 | 显示全部楼层
首先 HOME后台 站点设置里边 的 这个选择是

URL Rewrite是 否
开启本功能需要对 Web 服务器增加相应的 Rewrite 规则
且会轻微增加服务器负担,相应规则请参考帮助文档


然后编辑伪静态规则如下

RewriteEngine on

RewriteBase /

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


将 “RewriteBase /” 修改为 “RewriteBase /xxxxx” ,其中,“xxxxx” 为您的程序目录名。

比如我的HOME访问地址是这样的http://www.shoujimama.com/home
那么伪静态规则就应该是 :

RewriteEngine on

RewriteBase /home

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


亲测可用  www.shoujimama.com/home 演示地址

名字另存为 .htaccess

即可

不明白联系我Q 81055800

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

cyxjq 发表于 2010-1-29 05:31:33 | 显示全部楼层
RewriteEngine on

RewriteBase /

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

使用道具 举报

 楼主| hnyic 发表于 2010-1-29 10:54:03 | 显示全部楼层
我用的是子目录绑定  应该怎么做呢
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-1 15:38 , Processed in 0.119858 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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