|
|
显示404 page not found
请教大家
这是.htaccess 内容 语法要怎么样修改
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ index.php [L]
RewriteRule ^sale/d-(.*?)\.html$ sale/detail.php?id=$1 [L]
RewriteRule ^rent/d-(.*?)\.html$ rent/detail.php?id=$1 [L]
RewriteRule ^newHouse/d-(.*?)\.html$ newHouse/detail.php?id=$1 [L]
RewriteRule ^newHouse/p-(.*?)\.html$ newHouse/photo.php?id=$1 [L]
RewriteRule ^newHouse/s-(.*?)\.html$ newHouse/structure.php?id=$1 [L]
RewriteRule ^community/g-(.*?)\.html$ community/general.php?id=$1 [L]
RewriteRule ^community/p-(.*?)\.html$ community/photo.php?id=$1 [L]
RewriteRule ^community/d-(.*?)\.html$ community/structure.php?id=$1 [L]
RewriteRule ^shop/([0-9]+)$ shop/index.php?id=$1 [L]
RewriteRule ^shop/e-(.*?)\.html$ shop/evaluate.php?id=$1 [L]
RewriteRule ^shop/p-(.*?)\.html$ shop/profile.php?id=$1 [L]
RewriteRule ^([0-9]+)/spacelist(.+)$ index.php?uid/$1/action/spacelist/type$2 [L]
RewriteRule ^([0-9]+)/viewspace(.+)$ index.php?uid/$1/action/viewspace/itemid$2 [L]
RewriteRule ^([0-9]+)/viewbbs(.+)$ index.php?uid/$1/action/viewbbs/tid$2 [L]
RewriteRule ^([0-9]+)/(.*)$ index.php?uid/$1/$2 [L]
RewriteRule ^([0-9]+)$ index.php?uid/$1 [L]
RewriteRule ^action(.+)$ index.php?action$1 [L]
RewriteRule ^category(.+)$ index.php?action/category/catid$1 [L]
RewriteRule ^viewnews(.+)$ index.php?action/viewnews/itemid$1 [L]
RewriteRule ^viewthread(.+)$ index.php?action/viewthread/tid$1 [L]
RewriteRule ^mygroup(.+)$ index.php?action/mygroup/gid$1 [L] |
|