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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 找官方技术帮我解决下win2008 IIS7.5 伪静态搞了好久都搞不定

[复制链接]
hqs520 发表于 2011-8-8 16:27:29 | 显示全部楼层 |阅读模式
技术在吗?
能帮我解决下win2008 IIS7.5 伪静态吗?

我搞了好久都搞不定。

蛋痛啊!
1G空间100元 发表于 2011-8-8 22:25:00 | 显示全部楼层
估计是没安装windows2008的伪静态软件吧
回复

使用道具 举报

1G空间100元 发表于 2011-8-8 22:25:22 | 显示全部楼层
http://bbs.vip2.iisicp.com 就是iis7的 支持伪静态
回复

使用道具 举报

excelman 发表于 2011-8-12 08:37:04 | 显示全部楼层
同问:
Windows Server 2008 R2 With SP1 x64
IIS7.5+PHP5.3.6+MY SQL 5.5+Wincache1.1+URLRewrite2+Memcache1.2.6,(FASTCGI)成功。
但是我现在有一个问题,地址已经伪静态了,比如打开:
http://192.168.0.23/forum-2-1.html (默认版块)
http://192.168.0.23/thread-1-1-1.html (默认版块中的第一个帖子)
打开链接出现 "HTTP 404 未找到" 错误。但Archiver伪静态没有问题,

web.config 文件内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<add value="index.php" />
</files>
</defaultDocument>
<handlers>
<add name="Php-FastCGI" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="D:\iweb\php\php-cgi.exe" resourceType="Unspecified" />
</handlers>
<rewrite>
<rules>
<rule name="Archiver">
<match url="^archiver/((fid|tid)-[\w\-]+\.html)$" ignoreCase="false" />
<action type="Rewrite" url="archiver/index.php?{R:1}" appendQueryString="false" />
</rule>
<rule name="Forum">
<match url="^forum-([0-9]+)-([0-9]+)\.html$" ignoreCase="false" />
<action type="Rewrite" url="forumdisplay.php?fid={R:1}&page={R:2}" appendQueryString="false" />
</rule>
<rule name="Thread">
<match url="^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$" ignoreCase="false" />
<action type="Rewrite" url="viewthread.php?tid={R:1}&extra=page\%3D{R:3}&page={R:2}" appendQueryString="false" />
</rule>
<rule name="Space">
<match url="^space-(username|uid)-(.+)\.html$" ignoreCase="false" />
<action type="Rewrite" url="space.php?{R:1}={R:2}" appendQueryString="false" />
</rule>
<rule name="Tag">
<match url="^tag-(.+)\.html$" ignoreCase="false" />
<action type="Rewrite" url="tag.php?name={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

另外就是微软的URL WRITE 2这个东西应该怎么使用啊。我以前是弄过ISAPI伪静态,我现在想试试这个,必竞是微软自己的产品。
回复

使用道具 举报

zg-chen 发表于 2011-8-12 09:15:50 | 显示全部楼层
不懂。。来学一下。。
回复

使用道具 举报

残阳剑客 发表于 2011-8-16 11:06:20 | 显示全部楼层
本帖最后由 残阳剑客 于 2011-8-16 11:06 编辑

我已经搞定。联系 qq 272589871
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-23 05:28 , Processed in 0.103207 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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