raksmart活动促销

分享

写回答

发帖

求助关于一款外国空间伪静态问题

互联网出海创业 互联网出海创业 1495 人阅读 | 0 人回复

发表于 2010-11-8 23:02:34 | 显示全部楼层 |阅读模式

外国的一款WINNT+IIS6.0虚拟空间下DZ!7.2伪静态问题

找了很久咯都找不到方法呀,找空间商聊了一下他给我说服务器支持.htaccess和httpd.ini文件而且还兼容Rewrite
但是我自己做了
.htaccess文件伪静态为
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
php_value auto_append_file none
RewriteRule ^archiver/([a-z0-9\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^profile-(username|uid)-(.+)\.html$ viewpro.php?$1=$2
RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1
失败了~!

而且又做了
httpd.ini文件伪静态为

[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32
RewriteRule ^(.*)/archiver/([a-z0-9\-]+\.html)$ $1/archiver/index\.php\?$2
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html$ $1/forumdisplay\.php\?fid=$2&page=$3
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3

最后都失败了
搞了很多天呀`模糊得很`
我现在空间的数据是

WINNT+IIS6.0支持.htaccess和httpd.ini文件而且还兼容Rewrite还有是(asp.net1.1和2.0随便选择的机器)
请问怎么解决伪静态问题呀~~感谢呀!
补充详细的PHP配置为
7.jpg

请问可以伪静态吗?还是静态化也可以`求方法呀~谢谢~

回答|共 0 个

cqboy2003

发表于 2010-11-9 12:47:25 | 显示全部楼层

这个不太懂,去dz论坛问问看
您需要登录后才可以回帖 登录 | 注册

本版积分规则