|
|
外国的一款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配置为
请问可以伪静态吗?还是静态化也可以`求方法呀~谢谢~ |
|