打开/etc/apt/source_list
把easycam的源加进去
deb http://blognux.free.fr/ubuntu hardy main
deb-src http://blognux.free.fr/ubuntu hardy main
sudo apt-get update
安装easycam
- 使用Gnome :
sudo apt-get install easycam2-gtk
- 使用Kde :
sudo apt-get install easycam2-qt
<1>.修改url rewrite
如产品的详细页修改rewrite
1.打开.htaccess
找到
RewriteRule ^goods-([0-9]+)(.*)\.html$ goods\.php\?id=$1 [QSA,L]
修改成你要的如
RewriteRule ^mygood-([0-9]+)(.*)\.html$ goods\.php\?id=$1 [QSA,L]
改完之后再打开
include/lib_common.php文件中的build_uri函数
找到产品快
$cacheFile = $cacheDir.'sitemap.xml';
$file = fopen($cacheFile, "r");
while(!feof($file))
{
// send the current file part to the browser
print fread($file, round(1024)); //1k输出一次这样不会慢了把
// flush the content to the browser
flush();
// sleep one second
7月29日道德观察少女悲歌(上)
用sitemap与搜索引擎很好的交互
sitemap 格式
/*
ECShop 2.5.1 的结构图及各文件相应功能介绍
ECShop2.5.1_Beta upload 的目录
┣ activity.php 活动列表
┣ affiche.php 广告处理文件
┣ affiliate.php 生成商品列表
这个是zend官方的视频




