[提问]
紧急求助!!godaddy 设置淘客帝国伪静态规则!!
|
|
我在godaddy根目录下新建一个文件夹 taobao.daogoudaren.com,绑定好域名 http://taobao.daogoudaren.com,放了一个淘客程序,也添加上官方给的伪静态规则了,但是伪静态后的网页老打不开,弄了半天,还是搞不清楚。。。恳请各位高手帮忙看看~~~
小弟感激不尽。。。。
下面是官方给的是伪静态代码
- # Helicon ISAPI_Rewrite configuration file
- # Version 3.1.0.56
- RewriteEngine On
- #ErrorDocument 404 /404.php
- #ErrorDocument 401 "Authorization Required"
- Rewritebase /
- RewriteRule ^(.*)view.php/(.+)-(.+).html$ $1/view.php\?nick=$2&iid=$3
- RewriteRule ^(.*)product.php/([0-9]+).html$ $1/product.php\?iid=$2
- RewriteRule ^(.*)list.php/([0-9]+).html$ $1/list.php\?catid=$2
- RewriteRule ^(.*)list.php/([0-9]+)$ $1/list.php\?catid=$2
- RewriteRule ^(.*)/list.php/([0-9]+)-0.html$ $1/list.php\?catid=$2&sort=commissionNum_desc
- RewriteRule ^(.*)/list.php/([0-9]+)-0-([0-9]+)-([0-9]+).html$ $1/list.php\?catid=$2&sort=commissionNum_desc&sp=$3&ep=$4
- RewriteRule ^(.*)/list.php/([0-9]+)-0-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/list.php\?catid=$2&sort=commissionNum_desc&sp=$3&ep=$4&page=$5
- RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+).html$ $1/list.php\?catid=$2&sortnum=$3
- RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5
- RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-.html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5
- RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)--([0-9]+).html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5&page=$6
- RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+)-([0-9]+).html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5&q=$6&page=$7
- RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+).html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5&q=$6
- RewriteRule ^(.*)shop.php/(.+).html$ $1/shop.php\?user=$2
- RewriteRule ^(.*)shop.php/(.+)-([0-9]+).html$ $1/shop.php\?user=$2&sortnum=$3
- RewriteRule ^(.*)shop.php/(.+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/shop.php\?user=$2&sortnum=$3&sp=$4&ep=$5
- RewriteRule ^(.*)shop.php/(.+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/shop.php\?user=$2&sortnum=$3&sp=$4&ep=$5&page=$6
复制代码 |
|
|
|
|
|
|
|
|
|
|
xuanfeng1989
发表于 2010-10-24 15:50:54
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
xuanfeng1989
发表于 2010-10-24 16:39:43
|
显示全部楼层
http://taobao.daogoudaren.com/product.php/7606575676.html 这一类的网址可以打开,
http://taobao.daogoudaren.com/list.php/0-0-1-100000-%D5%ED%CD%B7.html
http://taobao.daogoudaren.com/list.php/50011277-0-1-100000-.html 这里一类的网址就打不开了。。。
不知道是什么原因,我本机测试时都可以打开的,但是上传到godaddy空间就不行了
补充一点,我用的是godaddy 150g的那个Linux主机. |
|
|
|
|
|
|
|
|
|
|
xuanfeng1989
发表于 2010-10-24 23:07:48
|
显示全部楼层
怎么没人回复啊!!!
苦等中。。。。 |
|
|
|
|
|
|
|
|
|
|
heixiudao
发表于 2010-10-24 23:36:29
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
xuanfeng1989
发表于 2010-10-24 23:47:59
|
显示全部楼层
后台已经开启伪静态了,http://taobao.daogoudaren.com/product.php/7606575676.html 像这样的网址已经伪静态了,可以打开,但是http://taobao.daogoudaren.com/li ... 0-%D5%ED%CD%B7.html
http://taobao.daogoudaren.com/list.php/50011277-0-1-100000-.html 这样的网址打不开!!
本机测试时可以打开的,不知道什么回事! |
|
|
|
|
|
|
|
|
|
|
add.c
发表于 2010-10-25 09:44:31
|
显示全部楼层
规则有问题吧
把Rewritebase / 改为
Rewritebase /taobao.daogoudaren.com/ ‘目录是这个吧? |
|
|
|
|
|
|
|
|
|
|
xuanfeng1989
发表于 2010-10-25 11:50:14
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
syh863718
发表于 2010-10-25 12:36:29
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
yuxuan1900
发表于 2010-10-25 12:38:23
|
显示全部楼层
|
|
|
|
|
|
|
|