您的位置:ASP1 >> PHP代码 >> 整站系统 >>

ShopEx 网上商店系统 v4.7服务器安装版


精品推荐: 
代码类别: 整站系统
代码评价:
运行环境: IIS
代码大小: 14.5M
更新日期: 2007-2-7
相关链接: 程序作者或厂商主页  程序演示地址
广告商:
下载统计:
用户评论: 用户评论 加入收藏

下 载:
         
简 介:
ShopEx 网上商店系统 v4.7服务器安装版简介:
SHOPEXV4.6以上版本的Isapi-rewrite安装说明

Windows主机:

常见的ISAPI_Rewrite组件的配置

1、首先请进入以下网址 http://www.helicontech.com/download/ ,下载免费版的ISAPI_Rewrite组件:[ISAPI_Rewrite Lite ( freeware )],这个是免费的,完全版的需要付费。
如果您打不开上面网址,可以下载此贴所带的附件,附件中就是[ISAPI_Rewrite Lite ( freeware )]。


2、点击下载文件中的isapi_rwl_x86_0063.msi文件进行安装,安装成功之后进入安装所指定的目录(默认在:C盘)找到httpd.ini文件,点击右键将文件只读属性去掉。然后进入: 开始菜单-程序-Helicon-ISAPI_Rewrite-httpd.ini,点击httpd.ini打开此文件。

3、复制以下内容到httpd.ini文件,并将其中/shopdir替换为您的商店实际安装目录。
譬如商店网址为http://www.abcd.cn/,是安装在根目录下,则直接将/shopdir去掉;
如果商店网址为http://www.abcd.cn/shop,是安装在/shop目录下,则把/shopdir替换为/shop;
复制并替换之后,保存文件,即可完成伪静态功能在IIS上的安装。

[ISAPI_Rewrite]

#-------------------------------------------------------
# SHOPEX ISAPI-REWRITE SCRIPT
#
#首页
RewriteRule /shopdir/index.html /shopdir/index.php
RewriteRule /shopdir/default.html /shopdir/index.php
#商店公告
RewriteRule /shopdir/bulletin.html /shopdir/index.php?gOo=article_list.dwt&acat=1
RewriteRule /shopdir/bulletin_([0-9]+).html /shopdir/index.php?gOo=article_list.dwt&acat=1&p=$1
#商品分类
RewriteRule /shopdir/catalog.html /shopdir/index.php?gOo=goods_category.dwt
#全部商品
RewriteRule /shopdir/list.html /shopdir/index.php?gOo=goods_search_list.dwt
RewriteRule /shopdir/list_([0-9]+).html /shopdir/index.php?gOo=goods_search_list.dwt&p=$1
#会员中心
RewriteRule /shopdir/member.html /shopdir/index.php?gOo=member_home.dwt
#帮助中心与常见问题
RewriteRule /shopdir/faq.html /shopdir/index.php?gOo=help.dwt&acat=2
RewriteRule /shopdir/faq_([0-9]+).html /shopdir/index.php?gOo=help.dwt&acat=2&p=$1
#安全交易
RewriteRule /shopdir/safe.html /shopdir/index.php?gOo=help_safe.dwt
#购买流程
RewriteRule /shopdir/howtobuy.html /shopdir/index.php?gOo=help_buystep.dwt
#如何付款
RewriteRule /shopdir/howtopay.html /shopdir/index.php?gOo=help_send.dwt
#联系我们
RewriteRule /shopdir/contactus.html /shopdir/index.php?gOo=help_contact.dwt
#关于我们
RewriteRule /shopdir/aboutus.html /shopdir/index.php?gOo=help_copyright.dwt
#顾客留言
RewriteRule /shopdir/feedback.html /shopdir/index.php?gOo=shopbbs.dwt
#友情链接
RewriteRule /shopdir/friendlink.html /shopdir/index.php?gOo=linkmore.dwt
#用户注册
RewriteRule /shopdir/register.html /shopdir/index.php?gOo=register_1.dwt
#忘记密码
RewriteRule /shopdir/lostpass.html /shopdir/index.php?gOo=forget.dwt
#商品详细页
RewriteRule /shopdir/product/([0-9]+).html /shopdir/index.php?gOo=goods_details.dwt&goodsid=$1
RewriteRule /shopdir/product_([0-9]+).html /shopdir/index.php?gOo=goods_details.dwt&goodsid=$1
RewriteRule /shopdir/([0-9]+)_([^.]*).html /shopdir/index.php?gOo=goods_details.dwt&goodsid=$1
#新闻详细页
RewriteRule /shopdir/article_([0-9]+).html /shopdir/index.php?gOo=help_details.dwt&articleid=$1
RewriteRule /shopdir/message_([0-9]+).html /shopdir/index.php?gOo=article_details.dwt&articleid=$1
#分类详细列表
RewriteRule /shopdir/catalog_([0-9]+).html /shopdir/index.php?gOo=goods_search_list.dwt&gcat=$1
RewriteRule /shopdir/catalog_([0-9]+)_([0-9]+).html /shopdir/index.php?gOo=goods_search_list.dwt&gcat=$1&p=$2
#收藏商品
RewriteRule /shopdir/addtofavorites_([0-9]+).html /shopdir/index.php?gOo=addmembergoods.do&goodsid=$1
#首页上的最新,推荐,特价商品
RewriteRule /shopdir/list_([a-zA-Z]+).html /shopdir/index.php?gOo=goods_search_list.dwt>ype=$1
RewriteRule /shopdir/list_([a-zA-Z]+)_([0-9]+).html /shopdir/index.php?gOo=goods_search_list.dwt>ype=$1&p=$2

#----------END OF SHOPEX ISAPI-REWRITE SCRIPT--------
Linux主机

只要配置Apache解析.htaccess文件即可

找到配置文件httpd.conf

加入



AllowOverride FileInfo


将根目录下的root.htaccess文件更名为.htaccess

其中/path-to-shopex代表在你服务器上安装shopex的绝对路径
其它相关代码

·ShopEx 网上商店系统 v4.7服务器安装版 (2007-2-7)